The project identifier: either project ID or project name. If using a project name as the identifier, it cannot contain slash (/), question mark (?), or pound sign (#) characters.
One or more span id to fetch annotations for
Optional list of annotation names to include. If provided, only annotations with these names will be returned. 'note' annotations are excluded by default unless explicitly included in this list.
Optional list of annotation names to exclude from results.
A cursor for pagination
The maximum number of annotations to return in a single request
10
GET /v1/projects/{project_identifier}/span_annotations?span_ids=text HTTP/1.1
Host:
Accept: */*
{
"data": [
{
"span_id": "text",
"name": "text",
"annotator_kind": "LLM",
"result": {
"label": "text",
"score": 1,
"explanation": "text"
},
"metadata": {
"ANY_ADDITIONAL_PROPERTY": "anything"
},
"identifier": "",
"id": "text",
"created_at": "2025-07-01T20:43:02.241Z",
"updated_at": "2025-07-01T20:43:02.241Z",
"source": "API",
"user_id": "text"
}
],
"next_cursor": "text"
}