Complete Annotation Queue Item — API

Mark an annotation queue item as completed. Returns the completed item ID and, optionally, the next pending item available for annotation.

POST https://api.futureagi.com/model-hub/annotation-queues/{queue_id}/items/{item_id}/complete/

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

queue_id UUID Required

The annotation queue ID

item_id UUID Required

The queue item ID

Request body

exclude array Optional

List of item UUIDs (or comma-separated string) to skip when selecting the next item.

Response

200 OK
completed_item_id string
UUID of the item that was completed.
next_item object
The next available item for annotation, or null if the queue is finished. Contains the full QueueItem object.

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