Preview Model Request
Inspect the raw LLM request payload without sending it.
This endpoint processes the message through the agent loop up until
the LLM request, then returns the raw request payload that would
be sent to the LLM provider. Useful for debugging and inspection.
Authentication
AuthorizationBearer
Header authentication of the form Bearer <token>
Path Parameters
agent_id
The ID of the agent in the format ‘agent-<uuid4>’
Request
This endpoint expects an object.
LettaRequest
OR
LettaStreamingRequest
Response
Successful Response