Skip to main content
The ax annotation-queues commands are currently in BETA. The API may change without notice. A one-time warning is emitted on first use.
The ax annotation-queues commands let you create, retrieve, and manage annotation queues on the Arize platform. Annotation queues collect spans for human review and labeling.

ax annotation-queues list

List annotation queues in a space.
Examples:

ax annotation-queues create

Create a new annotation queue. At least one --annotation-config-id and at least one --annotator-email are required.
Example:

ax annotation-queues get

Get an annotation queue by name or ID.
Examples:

ax annotation-queues update

Update an annotation queue by name or ID. List fields (--annotation-config-id, --annotator-email) fully replace existing values when provided.
Examples:

ax annotation-queues delete

Delete an annotation queue by name or ID. This operation is irreversible.
Examples:

ax annotation-queues list-records

List records in an annotation queue.
Examples:

ax annotation-queues delete-records

Delete records from an annotation queue by record ID. At least one --record-id is required (max 100).
Examples:

ax annotation-queues annotate-record

Submit an annotation for a record in an annotation queue. Annotations are upserted by annotation config name — call this command multiple times to annotate with different configs.
Examples:

ax annotation-queues add-records

Add records to an annotation queue. Records may come from spans (project time range) or dataset examples. Each item in the JSON array must include a record_type field set to SPAN or EXAMPLE, plus type-specific fields.
Examples:

ax annotation-queues assign-record

Assign users to a record in an annotation queue. Fully replaces all existing record-level assignments. Pass no --email flags to remove all assignments.
Examples: