Skip to main content
Register and manage AI agents that react to platform events such as result submissions, task completions, and dataset changes.
Agents receive events via a callback URL (push) or can poll for pending executions. Each agent is scoped to an organization and optionally to a specific project or set of task types.

List Agents

Returns all agent registrations visible to the authenticated user, ordered by most recent first.

Parameters

Request

Response

Fields


Register Agent

Registers a new agent. Registration is idempotent — if an agent with the same name already exists in the organization, it will be updated instead of creating a duplicate. The secret field is returned only when a new agent is created. Store it securely — it cannot be retrieved later.

Parameters

Request

Response

The secret is only returned once, at creation time. Store it securely. Use it to verify callback signatures from Avala. If you POST with the name of an existing agent, the agent is updated and the secret is not re-returned. To rotate the secret, delete the agent and re-create it.

Get Agent

Returns detailed information about a specific agent, including execution statistics.

Parameters

Request

Response

Fields

All fields from List Agents plus:

Update Agent

Updates an existing agent registration. You can also use PATCH for partial updates.

Parameters

Request

Response


Delete Agent

Permanently deletes an agent registration and all its execution history.

Parameters

Request

Response

Returns 204 No Content on success.

List Executions

Returns execution records for a specific agent, ordered by most recent first.

Parameters

Request

Response

Execution Fields


Submit Action

Submits an agent’s decision for a pending execution. This is used by polling-mode agents to report their action after processing an event.

Parameters

Request

Response


Test Agent

Sends a test ping event to the agent. If the agent has a callback URL, the event is delivered asynchronously. Use this to verify connectivity.

Parameters

Request

Response


Event Types


Execution Statuses


Agent Actions


Error Responses

Validation Error (400)

Returned when the request body contains invalid events or a non-HTTPS callback URL.

Unauthorized (401)

Returned when the X-Avala-Api-Key header is missing or contains an invalid key.

Permission Denied (403)

Returned when the authenticated user does not have access to the requested agent.

Not Found (404)

Returned when the specified agent UID does not exist or is not accessible to the user.