Get span annotations filtered by span_ids and/or identifier.
Changed onReturn 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.
Request
- The document declares no server URL.
- Authnone declared
Path parameters
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
Optional list of span ids to fetch annotations for. If omitted, identifier must be supplied.
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 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 exclude from results.
A cursor for pagination
The maximum number of annotations to return in a single request
Response
Successful Response
Changes
- info
added the new optional
queryrequest parameteridentifier - info
the
queryrequest parameterspan_idsbecame optional - info
queryrequest parameterspan_idslist-of-types was widened by adding typesnull - info
for the
queryrequest parameterspan_ids, the minItems was decreased from1to0 - info
for the
queryrequest parameterspan_ids, the type was generalized fromarrayto no type
- info
- breaking
the
queryrequest parameterspan_idsbecame required - breaking
queryrequest parameterspan_idslist-of-types was narrowed by removing typesnull - breaking
for the
queryrequest parameterspan_ids, the minItems was increased from0to1 - breaking
for the
queryrequest parameterspan_ids, the type changed from no type toarray - warning
deleted the
queryrequest parameteridentifier
- breaking