POST
/
v2
/
projects
/
{project_id}
/
export_records
Export Records
curl --request POST \
  --url https://api.galileo.ai/v2/projects/{project_id}/export_records \
  --header 'Content-Type: application/json' \
  --header 'Galileo-API-Key: <api-key>' \
  --data '{
  "column_ids": [
    "input",
    "output",
    "created_at"
  ],
  "export_format": "jsonl",
  "filters": [
    {
      "case_sensitive": true,
      "name": "input",
      "operator": "eq",
      "type": "text",
      "value": "example input"
    }
  ],
  "log_stream_id": "00000000-0000-0000-0000-000000000000",
  "root_type": "trace",
  "sort": {
    "ascending": false,
    "name": "created_at",
    "sort_type": "column"
  }
}'
"<any>"

Authorizations

Galileo-API-Key
string
header
required

Path Parameters

project_id
string
required

Body

application/json

Request schema for exporting log records (sessions, traces, spans).

Response

200
application/json

Successful Response

The response is of type any.