The Open API specification for Synapse is now available for download!

Download Open API Spec

POST /agent/chat/trace/{jobId}

Get a single page of trace events associated with an AgentChatRequest. The resulting TraceEvents will be ordered by timestamp ascending.

Note: The AgentChatRequest.enableTrace must be set to 'true' to enable tracing for a job. If enebleTrace is not set or is 'false', the resulting trace events list will always be empty.

Only the user that started the AgentChatRequest may get its trace.

Resource URL

https://repo-prod.prod.sagebase.org/repo/v1/agent/chat/trace/{jobId}

Resource URL Variables
{jobId} - The jobID of the asynchronous job started for an AgentChatRequest.
Resource Information
Authentication Required
Required OAuth Scopes view
HTTP Method POST
Request Object TraceEventsRequest
(application/json)
Response Object TraceEventsResponse
(application/json)