Skip to main content
REST API endpoints for managing devices, recordings, events, rules, and alerts across your fleet. All endpoints require authentication via API key.
The Fleet API is in preview. Endpoints described on this page may change.

Base URL

All Fleet API requests use the standard Avala API base URL:
Authenticate every request with your API key in the X-Avala-Api-Key header. See Authentication for details on creating and managing keys.

Devices

Register, list, and manage devices in your fleet.

List Devices

Returns all devices in your organization. Query Parameters
Response

Register Device

Register a new device in your fleet. Request Body
Response 201 Created
The device_token is returned only in the create response. Store it securely — it cannot be retrieved again. The device uses this token to authenticate when uploading recordings.

Get Device

Returns the full details of a single device.

Update Device

Update a device’s name, tags, or metadata. Only provided fields are modified.

Deregister Device

Remove a device from your fleet. Recordings associated with the device are not deleted.
Response 204 No Content

Device Fields


Recordings

List, filter, and manage recordings uploaded by fleet devices.

List Recordings

Returns recordings across your fleet, ordered by creation date descending. Query Parameters
Response

Get Recording

Returns full recording details including topic list and processing metadata.
Response

Update Recording

Update a recording’s tags or status.

Delete Recording

Permanently delete a recording and all associated data.
This action is irreversible. All recording data, events, and associated files are permanently removed.
Response 204 No Content

Recording Fields


Events

Create and query timeline events associated with recordings.

List Events

Returns events across your fleet, ordered by timestamp descending. Query Parameters
Response

Create Event

Create a new event associated with a recording or device. Request Body
Response 201 Created

Batch Create Events

Create multiple events in a single request. Accepts up to 1,000 events. Events are created atomically — if any event fails validation, none are created. Request Body Each event object accepts the same fields as POST /api/v1/fleet/events/ (excluding recording_id, which is set at the top level).
Response 201 Created — Returns the array of created event objects.

Get Event

Delete Event

Response 204 No Content

Event Fields


Rules

Recording rules define conditions that automatically trigger events, flag recordings, or start processing pipelines.

List Rules

Query parameters Response

Create Rule

Request Body Condition Types Action Types
Response 201 Created

Get Rule

Update Rule

Update a rule’s name, description, enabled state, condition, or actions. Only provided fields are modified.

Delete Rule

Response 204 No Content

Rule Fields


Alerts

View and manage alerts generated by recording rules and diagnostics thresholds.

List Alerts

Returns alerts ordered by creation date descending. Query Parameters
Response

Get Alert

Acknowledge Alert

Mark an alert as acknowledged. This indicates that someone is aware of the issue and is investigating.
Response

Resolve Alert

Mark an alert as resolved. Optionally include a resolution note. Request Body

Alert Fields


Alert Channels

Configure notification destinations for alerts.

List Channels

Response

Create Channel

Request Body Channel Configuration
Response 201 Created

Delete Channel

Deleting a channel that is referenced by active rules does not delete the rules. The rules continue to function, but the notify action is skipped for the deleted channel.
Response 204 No Content

Channel Fields


Common Patterns

Pagination

All list endpoints use cursor-based pagination. Follow the next URL until it returns null to retrieve all results.
Use the limit parameter to control page size. The maximum is 200 results per page.

Error Responses

The Fleet API uses standard Avala error responses. See Error Codes for the full reference.

Rate Limits

Fleet API endpoints share the standard Avala rate limits. See Rate Limits for details.

Additional SDK Resources

The following fleet features are available through the Python and TypeScript SDKs. REST endpoint documentation will be added as these features stabilize.

Next Steps

Fleet Dashboard

Monitor your fleet visually with the Mission Control dashboard.

Python SDK

Use the Python SDK for programmatic fleet management.

TypeScript SDK

Use the TypeScript SDK for Node.js and browser integrations.