Stage or deploy a new deployment.
Documentation Index
Fetch the complete documentation index at: https://docs.mirurobotics.com/llms.txt
Use this file to discover all available pages before exploring further.
The API key to use for authentication.
The API version the client was built against.
"2026-05-06.rainier"
Fields to expand on the deployment resource.
device, release, config_instances ["device"]Desired state of the deployment.
staged means the deployment is ready for deployment. Deployments can only be staged if their release is not the device's current release.
deployed means the deployment should be deployed to the device. Deployments can only be deployed if their release is the device's current release.
staged, deployed The description of the deployment.
"Deployment for the motion control config instance"
The release ID which this deployment adheres to.
"rls_123"
The ID of the device that the deployment is being created for.
"dvc_123"
The IDs of the config instances to deploy. A deployment must have exactly one config instance for each config schema in the deployment's release.
The ID of the deployment that this deployment was patched from.
"dpl_123"
Successfully created the deployment.
The object type, which is always deployment.
deployment "deployment"
ID of the deployment.
"dpl_123"
The description of the deployment.
"Deployment for the motion control config instance"
This status merges the 'activity_status' and 'error_status' fields, with error states taking precedence over activity states when errors are present. For example, if the activity status is 'deployed' but the error status is 'failed', the status is 'failed'. However, if the error status is 'none' and the activity status is 'deployed', the status is 'deployed'.
drifted, staged, queued, deployed, removing, archived, failed, retrying Last known activity state of the deployment.
drifted means the device's configurations have drifted since this deployment was staged, and the deployment needs to be reviewed before it can be deployed.
staged means the deployment is ready to be deployed.
queued means the deployment's config instances are waiting to be received by the device and will be deployed as soon as the device is online.
deployed means the deployment's config instances are currently available for consumption on the device.
removing means the deployment's config instances are being removed from the device.
archived means the deployment is available for historical reference but cannot be deployed and is not active on the device.
drifted, staged, queued, deployed, removing, archived Last known error state of the deployment.
none means there are no errors.
retrying means an error has been encountered and the agent is retrying to reach the target status.
failed means a fatal error has been encountered; the deployment is archived and, if deployed, removed from the device.
none, failed, retrying Desired state of the deployment.
staged means the deployment is ready to be deployed.
deployed means all config instances in the deployment are available for consumption on the device.
archived means the deployment is available for historical reference but cannot be deployed and is not active on the device.
staged, deployed, archived ID of the device.
"dvc_123"
ID of the release.
"rls_123"
Timestamp of when the device release was created.
"2024-01-01T00:00:00Z"
Timestamp of when the device release was last updated.
"2024-01-01T00:00:00Z"
Expand the device using 'expand=device' in the query string.
{
"object": "device",
"id": "dvc_123",
"name": "My Device",
"status": "online",
"agent_version": "v1.0.0",
"last_connected_at": "2021-01-01T00:00:00Z",
"last_disconnected_at": null,
"created_at": "2021-01-01T00:00:00Z",
"updated_at": "2021-01-01T00:00:00Z"
}Expand the release using 'expand=release' in the query string.
{
"object": "release",
"id": "rls_123",
"version": "v1.0.0",
"git_commit_id": "git_commit_123",
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z"
}Expand the config instances using 'expand=config_instances' in the query string.
[
{
"object": "config_instance",
"id": "cfg_inst_123",
"config_type_name": "Motion Control",
"filepath": "/srv/miru/configs/v1/motion-control.json",
"created_at": "2021-01-01T00:00:00Z",
"config_schema_id": "cfg_sch_123",
"config_type_id": "cfg_typ_123"
},
{
"object": "config_instance",
"id": "cfg_inst_124",
"config_type_name": "Localization",
"filepath": "/srv/miru/configs/v1/localization.json",
"created_at": "2021-01-01T00:00:00Z",
"config_schema_id": "cfg_sch_124",
"config_type_id": "cfg_typ_124"
}
]