Get trace annotations filtered by trace_ids and/or identifier.
Changed onReturn trace annotations for a project, filtered by trace_ids, identifier, or both. At least one of trace_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 trace 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, trace_ids must be supplied. When combined with trace_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 parametertrace_idsbecame optional - info
queryrequest parametertrace_idslist-of-types was widened by adding typesnull - info
for the
queryrequest parametertrace_ids, the minItems was decreased from1to0 - info
for the
queryrequest parametertrace_ids, the type was generalized fromarrayto no type
- info
- breaking
the
queryrequest parametertrace_idsbecame required - breaking
queryrequest parametertrace_idslist-of-types was narrowed by removing typesnull - breaking
for the
queryrequest parametertrace_ids, the minItems was increased from0to1 - breaking
for the
queryrequest parametertrace_ids, the type changed from no type toarray - warning
deleted the
queryrequest parameteridentifier
- breaking