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
Get Trace
GET
/
v2
/
projects
/
{project_id}
/
traces
/
{trace_id}
Get Trace
Copy
Ask AI
curl --request GET \
--url https://api.galileo.ai/v2/projects/{project_id}/traces/{trace_id} \
--header 'Galileo-API-Key: <api-key>'
Copy
Ask AI
{
"spans": [
{
"spans": [
{}
],
"type": "agent",
"input": "<string>",
"output": "<string>",
"name": "",
"created_at": "2023-11-07T05:31:56Z",
"user_metadata": {},
"tags": [
"<string>"
],
"status_code": 123,
"metrics": {
"duration_ns": 123
},
"external_id": "<string>",
"dataset_input": "<string>",
"dataset_output": "<string>",
"dataset_metadata": {},
"id": "<string>",
"session_id": "<string>",
"trace_id": "<string>",
"project_id": "<string>",
"run_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"has_children": true,
"metrics_batch_id": "<string>",
"session_batch_id": "<string>",
"metric_info": {},
"parent_id": "<string>",
"is_complete": true,
"step_number": 123,
"agent_type": "default"
}
],
"type": "trace",
"input": "<string>",
"output": "<string>",
"name": "",
"created_at": "2023-11-07T05:31:56Z",
"user_metadata": {},
"tags": [
"<string>"
],
"status_code": 123,
"metrics": {
"duration_ns": 123
},
"external_id": "<string>",
"dataset_input": "<string>",
"dataset_output": "<string>",
"dataset_metadata": {},
"id": "<string>",
"session_id": "<string>",
"trace_id": "<string>",
"project_id": "<string>",
"run_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"has_children": true,
"metrics_batch_id": "<string>",
"session_batch_id": "<string>",
"metric_info": {},
"feedback_rating_info": {},
"is_complete": true
}
Authorizations
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
Get Trace
Copy
Ask AI
curl --request GET \
--url https://api.galileo.ai/v2/projects/{project_id}/traces/{trace_id} \
--header 'Galileo-API-Key: <api-key>'
Copy
Ask AI
{
"spans": [
{
"spans": [
{}
],
"type": "agent",
"input": "<string>",
"output": "<string>",
"name": "",
"created_at": "2023-11-07T05:31:56Z",
"user_metadata": {},
"tags": [
"<string>"
],
"status_code": 123,
"metrics": {
"duration_ns": 123
},
"external_id": "<string>",
"dataset_input": "<string>",
"dataset_output": "<string>",
"dataset_metadata": {},
"id": "<string>",
"session_id": "<string>",
"trace_id": "<string>",
"project_id": "<string>",
"run_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"has_children": true,
"metrics_batch_id": "<string>",
"session_batch_id": "<string>",
"metric_info": {},
"parent_id": "<string>",
"is_complete": true,
"step_number": 123,
"agent_type": "default"
}
],
"type": "trace",
"input": "<string>",
"output": "<string>",
"name": "",
"created_at": "2023-11-07T05:31:56Z",
"user_metadata": {},
"tags": [
"<string>"
],
"status_code": 123,
"metrics": {
"duration_ns": 123
},
"external_id": "<string>",
"dataset_input": "<string>",
"dataset_output": "<string>",
"dataset_metadata": {},
"id": "<string>",
"session_id": "<string>",
"trace_id": "<string>",
"project_id": "<string>",
"run_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"has_children": true,
"metrics_batch_id": "<string>",
"session_batch_id": "<string>",
"metric_info": {},
"feedback_rating_info": {},
"is_complete": true
}
Assistant
Responses are generated using AI and may contain mistakes.