Traces

Fetch spans by known IDs.

Point lookup endpoint. At least one of trace_id or span_id must be present. Both accept either repeated query params (?trace_id=a&trace_id=b) or a comma-separated single param (?trace_ids=a,b); results are deduplicated.

Returns 400 when neither IDs nor trace IDs are supplied. For filter-based retrieval, use POST /spans/query.

get/spans/

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/spans/
  • Auth
    API key in header Authorization

Query parameters

trace_idstring[] nullable
trace_idsstring nullable
span_idstring[] nullable
span_idsstring nullable

Response

Successful Response

countinteger

Total number of matching spans in the window.

Changes

    • info

      added the optional property to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status

    • info

      added the optional property /// to the response with the status