curl --request POST \
--url https://api.example.com/v1/span_annotations \
--header 'Content-Type: application/json' \
--data '
{
"data": [
{
"name": "<string>",
"annotator_kind": "LLM",
"span_id": "<string>",
"result": {
"label": "<string>",
"score": 123,
"explanation": "<string>"
},
"metadata": {},
"identifier": ""
}
]
}
'{
"data": [
{
"id": "<string>"
}
]
}curl --request POST \
--url https://api.example.com/v1/span_annotations \
--header 'Content-Type: application/json' \
--data '
{
"data": [
{
"name": "<string>",
"annotator_kind": "LLM",
"span_id": "<string>",
"result": {
"label": "<string>",
"score": 123,
"explanation": "<string>"
},
"metadata": {},
"identifier": ""
}
]
}
'{
"data": [
{
"id": "<string>"
}
]
}If true, fulfill request synchronously.
Show child attributes
The name of the annotation
The kind of annotator used for the annotation
LLM, CODE, HUMAN OpenTelemetry Span ID (hex format w/o 0x prefix)
Metadata for the annotation
The identifier of the annotation. If provided, the annotation will be updated if it already exists.
Was this page helpful?