Webhook listener for agent events (POST)
Webhook listener for agent events (POST). Expects JSON payload, which is used to trigger processing. Honors an optional Idempotency-Key header: a repeat request with the same key within 24h returns the original cached response and does not re-enqueue the task.
Not available to personal access tokens; call it from a signed-in session.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
webhook_token*stringSuccess
curl -X POST 'http://localhost:7091/api/webhooks/agents/string'Adopt an agent by ID POST
Adopt an agent by ID. [Personal access token](/API/personal-access-tokens) scope: `agents:write`.
Create a new agent POST
Create a new agent. JSON or multipart (multipart for an image). 201 {id, key, image, workflow_id (workflow agents)}. A workflow agent may send workflow_graph to create its workflow in the same request; a graph that fails validation is 400 {success: false, message, error, errors}. [Personal access token](/API/personal-access-tokens) scope: `agents:write`.