API Reference
- Api reference
- Getting Started
- Schemas
protect
trace
log_stream
experiment
feedback
API Reference
trace
Get Trace
GET
/
v2
/
projects
/
{project_id}
/
traces
/
{trace_id}
curl --request GET \
--url https://api.acme.rungalileo.io/v2/projects/{project_id}/traces/{trace_id} \
--header 'Galileo-API-Key: <api-key>'
{
"spans": [
{
"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>",
"id": "<string>",
"trace_id": "<string>",
"project_id": "<string>",
"run_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"dataset_input": "",
"dataset_output": "",
"dataset_metadata": {},
"has_children": true,
"metrics_batch_id": "<string>",
"metric_info": {},
"parent_id": "<string>"
}
],
"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>",
"id": "<string>",
"trace_id": "<string>",
"project_id": "<string>",
"run_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"dataset_input": "",
"dataset_output": "",
"dataset_metadata": {},
"has_children": true,
"metrics_batch_id": "<string>",
"metric_info": {}
}
Authorizations
Response
200
application/json
Successful Response
The response is of type object
.
Was this page helpful?
curl --request GET \
--url https://api.acme.rungalileo.io/v2/projects/{project_id}/traces/{trace_id} \
--header 'Galileo-API-Key: <api-key>'
{
"spans": [
{
"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>",
"id": "<string>",
"trace_id": "<string>",
"project_id": "<string>",
"run_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"dataset_input": "",
"dataset_output": "",
"dataset_metadata": {},
"has_children": true,
"metrics_batch_id": "<string>",
"metric_info": {},
"parent_id": "<string>"
}
],
"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>",
"id": "<string>",
"trace_id": "<string>",
"project_id": "<string>",
"run_id": "<string>",
"updated_at": "2023-11-07T05:31:56Z",
"dataset_input": "",
"dataset_output": "",
"dataset_metadata": {},
"has_children": true,
"metrics_batch_id": "<string>",
"metric_info": {}
}