Skip to main content
GET
/
v1
/
projects
/
{project_identifier}
/
span_annotations
{
  "data": [
    {
      "id": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "source": "API",
      "user_id": "<string>",
      "name": "<string>",
      "annotator_kind": "LLM",
      "result": {
        "label": "<string>",
        "score": 123,
        "explanation": "<string>"
      },
      "metadata": {},
      "identifier": "",
      "span_id": "<string>"
    }
  ],
  "next_cursor": "<string>"
}

Path Parameters

project_identifier
string
required

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.

Query Parameters

span_ids
string[]
required

One or more span id to fetch annotations for

Minimum length: 1
include_annotation_names
string[] | null

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.

exclude_annotation_names
string[] | null

Optional list of annotation names to exclude from results.

cursor
string | null

A cursor for pagination

limit
integer
default:10

The maximum number of annotations to return in a single request

Required range: 0 < x <= 10000

Response

Successful Response

data
SpanAnnotation · object[]
required
next_cursor
string | null
required