Query Annotations
POST/preview/annotations/query
Query Annotations
Request
- application/json
Body
- AnnotationQueryRequest
- AnnotationQuery
- MOD1
- MOD1
- AnnotationKind
- AnnotationSource
- AnnotationReferences
- MOD1
- MOD1
- MOD1
- AnnotationReference
- MOD1
- MOD1
- MOD1
- AnnotationReference
- MOD1
- MOD1
- MOD1
anyOf
annotationobject
anyOf
trace_idobject
anyOf
string
span_idobject
anyOf
string
kindobject
anyOf
string
Possible values: [custom
, human
, auto
]
sourceobject
anyOf
string
Possible values: [
web
, sdk
, api
]metadataobject
anyOf
referencesobject
anyOf
evaluatorobjectrequired
idobject
anyOf
string
slugobject
anyOf
string
versionobject
anyOf
string
attributesobject
property name* any
testsetobject
anyOf
idobject
anyOf
string
slugobject
anyOf
string
versionobject
anyOf
string
attributesobject
property name* any
testcaseobject
anyOf
idobject
anyOf
string
slugobject
anyOf
string
versionobject
anyOf
string
attributesobject
property name* any
linksobject
anyOf
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
- MOD1
Array [
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD2
- MOD3
- MOD4
- MOD6
Array [
]
- MOD1
- MOD1
- MOD1
- AnnotationReference
- MOD1
- MOD1
- MOD1
- AnnotationReference
- MOD1
- MOD1
- MOD1
]
count Count (integer)required
oldestobject
anyOf
string
limitobject
anyOf
integer
annotationsobject[]
created_atobject
anyOf
string
updated_atobject
anyOf
string
deleted_atobject
anyOf
string
created_by_idobject
anyOf
string
updated_by_idobject
anyOf
string
deleted_by_idobject
anyOf
string
span_id Span Id (string)required
trace_id Trace Id (string)required
kind AnnotationKind (string)
Possible values: [custom
, human
, auto
]
Default value: custom
source AnnotationSource (string)
Possible values: [web
, sdk
, api
]
Default value: api
dataobjectrequired
property name*FullJson-Output
anyOf
string
integer
number
boolean
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
metadataobject
anyOf
referencesobjectrequired
evaluatorobjectrequired
idobject
anyOf
string
slugobject
anyOf
string
versionobject
anyOf
string
testsetobject
anyOf
idobject
anyOf
string
slugobject
anyOf
string
versionobject
anyOf
string
testcaseobject
anyOf
idobject
anyOf
string
slugobject
anyOf
string
versionobject
anyOf
string
linksobjectrequired
property name*AnnotationLink
span_id Span Id (string)required
trace_id Trace Id (string)required
{
"count": 0,
"oldest": "2025-05-15T13:01:54.340Z",
"limit": 0,
"annotations": [
{
"created_at": "2025-05-15T13:01:54.340Z",
"updated_at": "2025-05-15T13:01:54.340Z",
"deleted_at": "2025-05-15T13:01:54.340Z",
"created_by_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"updated_by_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"deleted_by_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"span_id": "string",
"trace_id": "string",
"kind": "custom",
"source": "api",
"data": {},
"metadata": {},
"references": {
"evaluator": {
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"slug": "string",
"version": "string"
},
"testset": {},
"testcase": {}
},
"links": {}
}
]
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detailobject[]
locobject[]required
anyOf
string
integer
msg Message (string)required
type Error Type (string)required
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}
Loading...