This API is used to create a labeling team.
You can debug this API through automatic authentication in or use the SDK sample code generated by API Explorer.
POST /v2/{project_id}/workforces
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
project_id |
Yes |
String |
Project ID. For details about how to obtain a project ID, see Obtaining a Project ID and Name. |
Parameter |
Mandatory |
Type |
Description |
---|---|---|---|
description |
No |
String |
Labeling team description. The value contains 0 to 256 characters and does not support the following special characters: ^!<>=&"' |
workforce_name |
Yes |
String |
Labeling team name. The value contains 1 to 64 characters, including only letters, digits, underscores (_), and hyphens (-). |
Status code: 201
Parameter |
Type |
Description |
---|---|---|
workforce_id |
String |
ID of a labeling team. |
Creating a Labeling Team
{ "workforce_name" : "team-123", "description" : "my team" }
Status code: 201
Created
{ "workforce_id" : "ZUH8gqkjuaib8pxkDdz" }
Status Code |
Description |
---|---|
201 |
Created |
401 |
Unauthorized |
403 |
Forbidden |
404 |
Not Found |
See Error Codes.