List
List config instances.
| Scope | Required |
|---|---|
config_instances:read | Yes |
Authorizations
The API key to use for authentication. Retrieve your API key from the Miru dashboard.
Query Parameters
The offset of the items to return. An offset of 10 with a limit of 10 returns items 11-20.
x >= 0The maximum number of items to return. A limit of 15 with an offset of 0 returns items 1-15.
1 <= x <= 100The order to sort the config instances.
id:asc, id:desc, created_at:desc, created_at:asc The fields to expand in the config instance list.
total_count, content, config_schema, device, config_type The config instance ID to filter by.
"cfg_inst_123"
The config instance target status to filter by. Desired state of the config instance.
- Created: config instance is created and can be deployed in the future
- Deployed: config instance is available for consumption on the device
- Removed: config instance is available for historical reference but cannot be deployed and is not active on the device
created, deployed, removed The config instance activity status to filter by. Last known activity state of the config instance.
- Created: config instance has been created and can be deployed in the future
- Queued: config instance is waiting to be received by the device; will be deployed as soon as the device is online
- Deployed: config instance is currently available for consumption on the device
- Removed: the config instance is available for historical reference but cannot be deployed and is not active on the device
created, queued, deployed, removed The config instance error status to filter by. Last known error state of the config instance deployment.
- None: there are no errors with the config instance deployment
- Retrying: an error has been encountered and the agent is attempting to try again to reach the target status
- Failed: a fatal error has been encountered; the config instance is archived and (if deployed) removed from the device
none, failed, retrying The device ID to filter by.
"dvc_123"
The config schema ID to filter by.
"cfg_sch_123"
The config type ID to filter by.
"cfg_typ_123"
Response
Successfully listed the config instances.
list "list"
The total number of items in the list. By default the total count is not returned. The total count must be expanded (using expand[]=total_count) to get the total number of items in the list.
The maximum number of items to return. A limit of 15 with an offset of 0 returns items 1-15.
1 <= x <= 100The offset of the items to return. An offset of 10 with a limit of 10 returns items 11-20.
x >= 0True if there are more items in the list to return. False if there are no more items to return.
false

