Get or Create Default Queue — API

Get the default annotation queue for a project, dataset, or agent definition, automatically creating one if it does not yet exist. Returns queue and labels.

POST https://api.futureagi.com/model-hub/annotation-queues/get-or-create-default/

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.

Request body

project_id UUID Optional

Project ID to get/create a default queue for

dataset_id UUID Optional

Dataset ID to get/create a default queue for

agent_definition_id UUID Optional

Agent definition ID to get/create a default queue for

Response

200 OK
queue object
The default queue. Contains id, name, description, instructions, status, is_default.
labels array
Labels attached to the queue. Each has id, name, type, settings, description, allow_notes, required, order.
created boolean
Whether a new queue was just created (true) or an existing one was returned (false).

Errors

400 Bad Request Optional

Invalid request parameters.

401 Unauthorized Optional

Invalid or missing API credentials.

500 Internal Server Error Optional

Unexpected server error.

GET /
Authentication
REQUEST
 
RESPONSE