ℹ️ These docs are for the free version of Galileo. Documentation for current customers can be found here.
Overview
Get Started
How-to Guides
- Overview
- Logging Basics
- Agentic AI
- Conversational AI
- Luna-2
- Metrics
- Retrieval-Augmented Generation
Cookbooks
- Overview
- Agents
- RAG
Integrations
Concepts
- Metrics
- Luna-2
- Projects
- Logging
- Annotations
- Experiments
- Playground
SDK/API Reference
- Overview
- Logging
- Experiments
- Metrics
- Third-party integrations
- Python SDK Reference
- TypeScript SDK Reference
- API Reference
- health
- auth
- system_users
- annotation
- api_keys
- datasets
- experiment
- feedback
- groups
- log_stream
- projects
- protect
- data
- trace
- POSTLog Traces
- GETGet Trace
- PATCHUpdate Trace
- GETGet Span
- PATCHUpdate Span
- POSTTraces Available Columns
- POSTSpans Available Columns
- POSTQuery Traces
- POSTLog Spans
- POSTQuery Spans
- POSTQuery Metrics
- POSTCreate Session
- POSTQuery Sessions
- GETGet Session
- POSTSessions Available Columns
- POSTGet Aggregated Trace View
- POSTExport Records
- POST
- users
trace
Export Records
POST
/
v2
/
projects
/
{project_id}
/
export_records
Export Records
Copy
Ask AI
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"
}
}'
Copy
Ask AI
"<any>"
Authorizations
Path Parameters
Body
application/json
Request schema for exporting log records (sessions, traces, spans).
Response
200
application/json
Successful Response
The response is of type any
.
Was this page helpful?
Export Records
Copy
Ask AI
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"
}
}'
Copy
Ask AI
"<any>"
Assistant
Responses are generated using AI and may contain mistakes.