v1

latestOpenAPI 3.1.02026-07-26231646860.9 KB
annotation_queue_records

Export Annotation Queue Records Url

Export selected records from an annotation queue and return a presigned download URL.

The request must specify either a list of record IDs or a filter tree to select queue records.

Permission checks:

  • User must have READ permission on the annotation queue
post/v2/annotation_queues/{queue_id}/records/export/url

Path parameters

queue_idstring uuid4 required

Request body

column_idsstring[] nullable

Column IDs to include in the export. Applies only to CSV exports.

export_format'csv' | 'jsonl' | 'jsonl_flat'
redactboolean

Redact sensitive data

file_namestring nullable

Optional filename for the exported file

export_computed_metrics_onlyboolean

When true, export only enabled scorer metrics with computed values (success or roll_up). For session exports, omit entire sessions unless every enabled metric at session, trace, or span level is ready (success, roll_up, or not_applicable). Not supported with export_format=jsonl_flat (returns 422); use jsonl or csv instead.

Response

Successful Response

urlstring required
url_expires_atstring date-time required
file_namestring required
content_typestring required