Get traces by project_name or project_id
GET/v1/private/traces
Get traces by project_name or project_id
Request
Query Parameters
page int32
Possible values: >= 1
Default value:
1
size int32
Possible values: >= 1
Default value:
10
project_name string
project_id uuid
filters string
Responses
- 200
Trace resource
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
]
page int32
size int32
total int64
content
object[]
id uuid
project_id uuid
name stringrequired
start_time date-timerequired
end_time date-time
input object
output object
metadata object
tags string[]
usage
object
property name* int64
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
{
"page": 0,
"size": 0,
"total": 0,
"content": [
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"project_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"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"
}
]
}
]
}