Fetch Annotation
GET/preview/annotations/:trace_id/:span_id
Fetch Annotation
Request
Path Parameters
trace_id Trace Idrequired
span_id Span Idrequired
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- Annotation
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD2
- MOD3
- MOD4
- MOD6
Array [
]
- MOD1
- MOD1
- MOD1
- AnnotationReference
- MOD1
- MOD1
- MOD1
- AnnotationReference
- MOD1
- MOD1
- MOD1
annotationobject
anyOf
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
anyOfid
slug
version
idobject
anyOf
string
slugobject
anyOf
string
versionobject
anyOf
string
testcaseobject
anyOfid
slug
version
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
{
"annotation": {}
}
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...