v36

latestOpenAPI 3.1.0raw.githubusercontent.com2025-10-091882241.2 MB
agents

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.

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

Path parameters

agent_idstring required

Request body

OR

Response

Successful Response

object required