Add Label to Annotation Queue — API

Attach an existing annotation label to a queue by queue UUID and label UUID. Returns the updated queue-label association with ordering and required flag.

POST https://api.futureagi.com/model-hub/annotation-queues/{id}/add-label/

Authentication

X-Api-Key API Key Required

Your Future AGI API key used to authenticate requests. You can find and manage your API keys in the Dashboard under Settings.

X-Secret-Key Secret Key Required

Your Future AGI secret key, used alongside the API key for request authentication. This is generated when you create an API key in the Dashboard.

Path parameters

id UUID Required

The annotation queue ID

Request body

label_id UUID Required

The annotation label ID to add

required boolean Optional

Whether this label is required for annotators (default: true).

Response

200 OK
label object
The label as added to the queue. Contains id, name, type, settings, description, allow_notes, required, order.
created boolean
Whether the label was newly added (true) or was already in the queue (false).

Errors

400 Bad Request Optional

Invalid request parameters.

401 Unauthorized Optional

Invalid or missing API credentials.

404 Not Found Optional

Resource not found.

500 Internal Server Error Optional

Unexpected server error.

GET /
Authentication
REQUEST
 
RESPONSE