Skip to main content
POST
/
v2
/
annotation_queues
/
{queue_id}
/
records
/
export
Export Annotation Queue Records
curl --request POST \
  --url https://api.galileo.ai/v2/annotation_queues/{queue_id}/records/export \
  --header 'Content-Type: application/json' \
  --header 'Splunk-AO-API-Key: <api-key>' \
  --data '
{
  "record_selector": {
    "record_ids": [
      "<string>"
    ],
    "type": "record_ids"
  },
  "column_ids": [
    "<string>"
  ],
  "export_format": "jsonl",
  "redact": true,
  "file_name": "<string>",
  "export_computed_metrics_only": false
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Splunk-AO-API-Key
string
header
required

Path Parameters

queue_id
string<uuid4>
required

Body

application/json

Request to export selected annotation queue records.

record_selector
AnnotationQueueRecordsByRecordIDs · object
required

Selector to specify which queue records to export (either by record IDs or filter tree)

column_ids
string[] | null

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

export_format
enum<string>
default:jsonl

Export format

Available options:
csv,
jsonl
redact
boolean
default:true

Redact sensitive data

file_name
string | null

Optional filename for the exported file

export_computed_metrics_only
boolean
default:false

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).

Response

Successful Response