Microsoft Cognitive Services Training is an API for training custom machine-learning models in Microsoft Cognitive Services, commonly used for computer vision tasks.
Provided free and as is, without warranty of any kind — including merchantability, fitness for a particular purpose, and the accuracy or completeness of any result. See the licence. You are responsible for checking what this produces before relying on it.
developer-devopsexportmicrosoft
Microsoft Cognitiveservices Training
Microsoft Cognitive Services Training is an API for training custom machine-learning models in Microsoft Cognitive Services, commonly used for computer vision tasks.
Base URL: https://southcentralus.api.cognitive.microsoft.com/customvision/v3.2/training
Auth: header:Training-Key (pass your key via the apiKey input)
Operations
getdomains — GET /domains — Get a list of the available domains.
getdomain — GET /domains/{domainId} — Get information about a specific domain.
getprojects — GET /projects — Get your projects.
getproject — GET /projects/{projectId} — Get a specific project.
exportproject — GET /projects/{projectId}/export — Exports a project.
getimagesbyids — GET /projects/{projectId}/images/id — Get images by id for a given project iteration.
Inputs
apiKey — your microsoft-cognitiveservices-training API key
operation — one of the operations above
path parameters when an operation's path contains {...}
query — optional JSON object of query params
body — JSON object for create/update ops
Example
operation: getdomains
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
error
operation
result
status
Input Properties
Every property this tool accepts, from its own tool.iml.
Property
Type
Required
Default
Description
apiKey
string
yes
—
DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change.
operation
string
yes
—
One of: getdomains, getdomain, getprojects, getproject, exportproject, getimagesbyids
domainId
string
no
—
Path parameter domainId (required by some operations).
projectId
string
no
—
Path parameter projectId (required by some operations).
query
string
no
—
Optional query params as a JSON object string, e.g. {"limit": 10}.