Preview Raw Payload

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.

Path parameters

agent_idstringRequired

Headers

AuthorizationstringRequired

Header authentication of the form Bearer <token>

Request

This endpoint expects an object.
LettaRequestobjectRequired
OR
LettaStreamingRequestobjectRequired

Response

Successful Response

Errors