v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-1494674591.3 KB

Retrieves AI agent execution traces for a session, providing granular visibility into agent orchestration flows, LLM interactions, and tool invocations.

get/assistants/{assistantId}/sessions/{sessionId}/spans

Path parameters

assistantIdstring required

UUID or ARN of the Connect AI Assistant resource

sessionIdstring required

UUID or ARN of the Connect AI Session resource

Query parameters

nextTokenstring

Pagination token for retrieving the next page of results

maxResultsinteger

Maximum number of spans to return per page

Response

Success

nextTokenstring

Pagination token for retrieving additional results