Get an execution trace
GET/tracing/:execution_id
Returns the trace of an agent execution that ran with tracing set to true: the input values, the fragments that each retrieval placeholder retrieved and the messages as sent to the LLM. The trace does not contain the answer, and Foundation4 keeps a trace for 60 minutes after the execution.
Permissions. None on an object. Only the API key that ran the execution can read the trace.
Agents and prompt templates describes tracing.
Request
Responses
- 200
- 401
- 404
The trace.
The authentication headers are missing or invalid, or the API key is inactive or expired. Errors lists the messages.
No trace with this identifier exists for the key: the trace expired, a different API key ran the execution or the identifier is wrong (Trace with id <id> not found).