Pular para o conteúdo principal

Execute a published agent asynchronously

POST 

https://platform.docana.com/api/v1/agents/:agentId/execute/

Validates the request, schedules a background run of the published agent version and returns immediately. Body: { prompt: string, threadId?: string, context?: object }. Supports the Idempotency-Key header: a retry with the same key and body replays the stored ack instead of running the agent a second time.

Request

Responses

The run was scheduled