v55

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-06107288545.4 KB
annotations

Get span annotations filtered by span_ids and/or identifier.

Return span annotations for a project, filtered by span_ids, identifier, or both. At least one of span_ids or identifier must be supplied. When both are supplied, results are the AND-intersection of the two filters.

get/v1/projects/{project_identifier}/span_annotations

Path parameters

project_identifierstring 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.

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_idsstring[] nullable

Optional list of span ids to fetch annotations for. If omitted, identifier must be supplied.

Optional list of span ids to fetch annotations for. If omitted, identifier must be supplied.

identifierstring[] nullable

Optional list of annotation identifiers to filter by. Each value must be non-empty. If omitted, span_ids must be supplied. When combined with span_ids, results are the AND-intersection of both filters.

Optional list of annotation identifiers to filter by. Each value must be non-empty. If omitted, span_ids must be supplied. When combined with span_ids, results are the AND-intersection of both filters.

include_annotation_namesstring[] nullable

Optional list of annotation names to include. If provided, only annotations with these names will be returned (allowlist). When omitted, the response includes every matching row regardless of name (no annotation names are excluded by default).

Optional list of annotation names to include. If provided, only annotations with these names will be returned (allowlist). When omitted, the response includes every matching row regardless of name (no annotation names are excluded by default).

exclude_annotation_namesstring[] nullable

Optional list of annotation names to exclude from results.

Optional list of annotation names to exclude from results.

cursorstring nullable

A cursor for pagination

A cursor for pagination

limitinteger

The maximum number of annotations to return in a single request

The maximum number of annotations to return in a single request

Response

Successful Response

next_cursorstring nullable required