ℹ️ These docs are for the v2.0 version of Galileo. Documentation for v1.0 version can be found here.
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>"
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>"
Request schema for exporting log records (sessions, traces, spans).
Successful Response
The response is of type any
.
Was this page helpful?