trace
Get Span
Overview
Getting Started
SDK/API
- Python SDK Reference
- TypeScript SDK Reference
How-to Guides
- Overview
- Conversational AI
- Retrieval-Augmented Generation
- Agentic AI
Cookbooks
- Use Cases
- Features
Integrations
Concepts
- Metrics
- Projects
- Logging
- Datasets
- Annotations
- Experiments
- Playground
API Reference
- health
- auth
- evaluate
- observe
- protect
- trace
- log_stream
- experiment
- feedback
- API Reference
References
trace
Get Span
GET
/
v2
/
projects
/
{project_id}
/
spans
/
{span_id}
curl --request GET \
--url https://api.galileo.ai/v2/projects/{project_id}/spans/{span_id} \
--header 'Galileo-API-Key: <api-key>'
{
"spans": [
{}
],
"type": "workflow",
"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>",
"metric_info": {},
"parent_id": "<string>"
}
Authorizations
Response
200
application/json
Successful Response
The response is of type object
.
The response is of type object
.
The response is of type object
.
The response is of type object
.
The response is of type object
.
curl --request GET \
--url https://api.galileo.ai/v2/projects/{project_id}/spans/{span_id} \
--header 'Galileo-API-Key: <api-key>'
{
"spans": [
{}
],
"type": "workflow",
"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>",
"metric_info": {},
"parent_id": "<string>"
}