Skip to content

Get all Operations in the Tenant
Stable

Request

Retrieves a paginated list of all Dispatch operations created within the tenant.

Use this endpoint to see every large-scale fleet operation issued through the Operations API, including Converge actions and group-level app installs and uninstalls, along with each operation's aggregate progress. Supports filtering by state, operation type, and group.

About Operations (Dispatch Commands)

Operations, also called Dispatch commands, are designed for large fleet actions that need to be issued once and tracked as a single unit rather than as many individual device commands. Currently supported operation types are CONVERGE and group-level app INSTALL and UNINSTALL (immediate only). Each operation moves through a lifecycle from Created through Dispatching, Dispatched, and Processing to a final Success or Failure, and this endpoint surfaces that lifecycle across every operation in the tenant.

Key Fields / Query Parameters

state — filters by operation state using integer codes, for example 10 for Created, 50 for Dispatched, 80 for Success, and 90 for Failure

operation_type — filters by type, for example CONVERGE, INSTALL, or UNINSTALL

group_multi — filters to operations targeting one or more group IDs and their subgroups

ordering — orders results by created_at, state, or updated_at; prefix with a minus sign to reverse order

created_by — filter by one or more caller IDs (comma-separated)

created_at_gte, created_at_lt — filters by Started time (created_at); the lower bound is inclusive and the upper bound is exclusive

updated_at_gte, updated_at_lt — filters by Ended time (updated_at, the last update, which is not necessarily completion); the lower bound is inclusive and the upper bound is exclusive. Started and Ended ranges are applied independently of each other

Common Use Cases

Auditing every Converge operation issued across the tenant over a time period

Finding all operations currently stuck in a Dispatching or Processing state, which usually points to device connectivity issues

Filtering operations by group to review fleet actions scoped to a specific store or region

Best Practices

Filter by operation_type and state together to narrow large result sets before paging through them

Investigate operations that remain in Dispatched or Processing for an extended period, since this usually indicates devices are not picking up the command due to network issues

Use group_multi rather than fetching all operations and filtering client-side when working with group-scoped fleets

Workflow

Call this endpoint with the desired state or operation_type filters

Identify the operation of interest and note its id

Call GET /v0/operations/{operationId}/ for the full status and aggregate device counts

Drill into GET /v0/operations/{operationsId}/devices/ if the operation shows failures

Security
device_apiKey
Query
limitinteger
offsetinteger
stateinteger

Following are the Operation States and their corresponding integer values

OPERATION_CREATED      = 10
OPERATION_RESOLVING    = 20
OPERATION_RESOLVED     = 30
OPERATION_DISPATCHING  = 40
OPERATION_DISPATCHED   = 50
OPERATION_PROCESSING   = 60
OPERATION_COMPLETED    = 70
OPERATION_SUCCESS      = 80
OPERATION_FAILURE      = 90
OPERATION_SCHEDULED    = 100
OPERATION_CANCELLED    = 110
OPERATION_TIMEOUT      = 120
orderingstring

Field to order the results by. Prefix with '-' to reverse the order.

Enum:"created_at""state""updated_at"
operation_typestring

Filter operations by type (e.g., INSTALL, UNINSTALL, CONVERGE, INSTALL_APP, UNINSTALL_APP, REBOOT)

group_multistring, (uuid)

Filter by multiple group ID. Fetch the devices from groups matching with the IDs and its subgroup.

created_bystring

Filter by one or more caller IDs (comma-separated). Matches operations whose created_by value is in the supplied list.

created_at_gtestring, (date-time)

Started filter: operations whose created_at is on or after this instant (inclusive). Must be an RFC 3339 timestamp in UTC (for example 2026-09-14T00:00:00Z). Returns 400 if the value is malformed, or if created_at_gte is not before created_at_lt.

Example:created_at_gte=2026-09-14T00:00:00Z
created_at_ltstring, (date-time)

Started filter: operations whose created_at is before this instant (exclusive). Must be an RFC 3339 timestamp in UTC (for example 2026-09-14T00:00:00Z). Returns 400 if the value is malformed, or if created_at_gte is not before created_at_lt.

Example:created_at_lt=2026-09-14T00:00:00Z
updated_at_gtestring, (date-time)

Ended filter: operations whose updated_at is on or after this instant (inclusive). Must be an RFC 3339 timestamp in UTC (for example 2026-09-14T00:00:00Z). Returns 400 if the value is malformed, or if updated_at_gte is not before updated_at_lt.

Example:updated_at_gte=2026-09-14T00:00:00Z
updated_at_ltstring, (date-time)

Ended filter: operations whose updated_at is before this instant (exclusive). Must be an RFC 3339 timestamp in UTC (for example 2026-09-14T00:00:00Z). Returns 400 if the value is malformed, or if updated_at_gte is not before updated_at_lt.

Example:updated_at_lt=2026-09-14T00:00:00Z
cURL
curl -i -X GET \
  'https://api.esper.io/_mock/openapi/v0/operations/?limit=0&offset=0&state=0&ordering=created_at&operation_type=string&group_multi=497f6eca-6276-4993-bfeb-53cbbbba6f08&created_by=string&created_at_gte=2026-09-14T00%3A00%3A00Z&created_at_lt=2026-09-14T00%3A00%3A00Z&updated_at_gte=2026-09-14T00%3A00%3A00Z&updated_at_lt=2026-09-14T00%3A00%3A00Z' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

Operations information for the Tenant

Bodyapplication/json
contentobject
Response
{ "content": { "count": 0, "previous": "string", "next": "string", "results": [ … ] } }