v3

latestOpenAPI 3.0.02026-08-081996601.2 MB
Agent Analytics

Get span in a trace

Returns the details of a specific span within a trace.

get/v2/agent_analytics/traces/{trace_id}/spans/{span_id}

Path parameters

trace_idstring required

The unique identifier of the trace.

span_idstring required

The unique identifier of the span.

Query parameters

include_contentboolean

When true, include span content.

Headers

Request-Timeoutinteger

The platform makes a best effort to complete the request in the specified seconds, or it times out.

Request-Timeout-Millisinteger

The platform makes a best effort to complete the request in the specified milliseconds, or it times out.

Response

The requested span.

OR
OR
OR
OR
OR
OR
OR

Example response

{
  "span_id": "b7ad6b7169203331",
  "operation": "invoke_agent"
}