Run an agent in sandbox mode
POSThttps://platform.docana.com/api/v1/agents/:agentId/sandbox/
Streams an AI-SDK UI-message response of a sandbox agent run, including node lifecycle events and trace data. Body: { messages?, assistantContext: { applicationId, ... }, data? }.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
UI-message event stream with the sandbox run
Missing applicationId
The API key or session is missing, expired, or malformed.
The caller is authenticated but not allowed to perform this operation.
A resource referenced by the path does not exist or is not visible to the caller.
Unexpected server error.