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
Response
Successful Response
object required