agents

Preview Raw Payload

Changed on

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.

post/v1/agents/{agent_id}/messages/preview-raw-payload

Request

  • Base URL
    https://app.letta.com
  • URL
    https://app.letta.com/v1/agents/{agent_id}/messages/preview-raw-payload
  • Auth
    HTTP bearer

Path parameters

agent_idstring required

Request body

OR

Response

Successful Response

object required

Changes

    • info

      added the new optional request property ////////

    • info

      added the new optional request property ////////

    • info

      added the new optional request property ////////

    • info

      added the new optional request property ////////

    • info

      added the new optional request property ////////

    • info

      added the new optional request property ////////