Agents

Run agent asynchronously

Start an asynchronous agent run and return a runId that can be polled for status updates. Once the run status is done, call /api/agents/:agentId/run-async/:runId/result to retrieve the same final payload shape returned by the synchronous run endpoint.

post/api/agents/{agentId}/run-async

Request

  • Base URL
    https://app.cotool.ai
  • Auth
    HTTP bearer

Path parameters

agentIdstring uuid required

Unique identifier of the agent to execute

Request body

inputsJsonObject required

A JSON object whose values are valid JSON values

Response

Successful response

runIdstring uuid required

Unique identifier for this asynchronous agent run that can be polled for status

Changes

No recorded changes to this operation across all 2 revisions of this API.