lens

List paginated spans for a trace.

Changed on
get/api/lens/{agentName}/{sessionID}/trace/{traceID}/span

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/lens/{agentName}/{sessionID}/trace/{traceID}/span
  • Auth: HTTP bearer

Path parameters

agentNamestring required

Agent name.

sessionIDstring required

Session identifier scoped to an agent.

traceIDstring required

Lowercase hexadecimal OTLP trace ID.

Trace identifier scoped to a session.

Query parameters

limitinteger

Maximum number of items to return.

page_tokenstring

Opaque pagination token from a previous response.

Response

Paginated spans for a trace.

next_page_tokenstring required

Changes

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • breaking

      the response property became nullable for the status

    • info

      endpoint added