Export Queue to Dataset — API

Export completed annotation queue items into a Future AGI dataset. Accepts queue UUID, target dataset ID, and optional status filter for selective export.

POST https://api.futureagi.com/model-hub/annotation-queues/{id}/export-to-dataset/

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

dataset_id UUID Optional

ID of an existing dataset. Provide either this or dataset_name.

dataset_name string Optional

Name for a new dataset to create. Provide either this or dataset_id.

status_filter string Optional

Filter items by status before exporting (default: completed)

Response

200 OK
dataset_id string
UUID of the dataset that was created or appended to.
dataset_name string
Name of the dataset.
rows_created integer
Number of rows added to the dataset.

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