Get span by id
GET/v1/private/spans/:id
Get span by id
Request
Path Parameters
id uuidrequired
Responses
- 200
- 404
Span resource
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
id uuid
project_id uuid
trace_id uuidrequired
parent_span_id uuid
name stringrequired
type stringrequired
Possible values: [general
, tool
, llm
]
start_time date-timerequired
end_time date-time
input object
output object
metadata object
tags string[]
usage
object
property name* int32
created_at date-time
last_updated_at date-time
created_by string
last_updated_by string
feedback_scores
object[]
name stringrequired
category_name string
value numberrequired
Possible values: >= -1000000000
and <= 1000000000
reason string
source stringrequired
Possible values: [ui
, sdk
]
created_at date-time
last_updated_at date-time
created_by string
last_updated_by string
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"project_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"trace_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"parent_span_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"type": "general",
"start_time": "2024-07-29T15:51:28.071Z",
"end_time": "2024-07-29T15:51:28.071Z",
"input": {},
"output": {},
"metadata": {},
"tags": [
"string"
],
"usage": {},
"created_at": "2024-07-29T15:51:28.071Z",
"last_updated_at": "2024-07-29T15:51:28.071Z",
"created_by": "string",
"last_updated_by": "string",
"feedback_scores": [
{
"name": "string",
"category_name": "string",
"value": 0,
"reason": "string",
"source": "ui",
"created_at": "2024-07-29T15:51:28.071Z",
"last_updated_at": "2024-07-29T15:51:28.071Z",
"created_by": "string",
"last_updated_by": "string"
}
]
}
Not found
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
id uuid
project_id uuid
trace_id uuidrequired
parent_span_id uuid
name stringrequired
type stringrequired
Possible values: [general
, tool
, llm
]
start_time date-timerequired
end_time date-time
input object
output object
metadata object
tags string[]
usage
object
property name* int32
created_at date-time
last_updated_at date-time
created_by string
last_updated_by string
feedback_scores
object[]
name stringrequired
category_name string
value numberrequired
Possible values: >= -1000000000
and <= 1000000000
reason string
source stringrequired
Possible values: [ui
, sdk
]
created_at date-time
last_updated_at date-time
created_by string
last_updated_by string
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"project_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"trace_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"parent_span_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"type": "general",
"start_time": "2024-07-29T15:51:28.071Z",
"end_time": "2024-07-29T15:51:28.071Z",
"input": {},
"output": {},
"metadata": {},
"tags": [
"string"
],
"usage": {},
"created_at": "2024-07-29T15:51:28.071Z",
"last_updated_at": "2024-07-29T15:51:28.071Z",
"created_by": "string",
"last_updated_by": "string",
"feedback_scores": [
{
"name": "string",
"category_name": "string",
"value": 0,
"reason": "string",
"source": "ui",
"created_at": "2024-07-29T15:51:28.071Z",
"last_updated_at": "2024-07-29T15:51:28.071Z",
"created_by": "string",
"last_updated_by": "string"
}
]
}