# API keys Source: https://docs.mirurobotics.com/admin/apikeys API keys allow you to authenticate to the Miru [Platform API](/developers/platform-api/overview) as well as the Miru CLI in your [CI pipeline](/developers/ci/overview). Your API keys carry many privileges, so be sure to keep them secure! Do not share your secret API keys in publicly accessible areas such as GitHub, client-side code, and so forth. ## Create an API key admin (Workspace owners and administrators can execute this action.) Platform API (Platform API does not support this operation) To create an API key, navigate to the [API Keys page](https://app.mirurobotics.com/settings/secrets) and click **New API Key** in the top right. ![New API Key Button](https://assets.mirurobotics.com/docs/v04/images/apikeys/create-button-v2.png) The **Create API Key** page will open. Enter a name and an optional description, then select the key's scopes: each row is a resource, and selecting `manage` covers the rest of its row. Click **Create**. For a full reference of available scopes, see the Platform API [Authorization](/developers/platform-api/authz) page. ![Create API Key Page](https://assets.mirurobotics.com/docs/v04/images/apikeys/create-page.png) A dialog will appear with the new key. Copy it before clicking **Done**. It can never be retrieved again; if you lose it, create a new one. ## View API keys [Platform API](/references/platform-api/2026-11-04/endpoints/api-keys/list) (Open the Platform API reference for this operation) To view your workspace's API keys, navigate to the [API Keys page](https://app.mirurobotics.com/settings/secrets). Each key is listed by name; click a key to expand it and see its details: * **Last used:** when the key was last used, or Never used. * **Description:** what the key is for, or None. * **Created:** when the key was created. * **Created by:** who created the key. * **Scopes:** what the key can access. ![API Key Details](https://assets.mirurobotics.com/docs/v04/images/apikeys/details.png) ## Edit an API key admin (Workspace owners and administrators can execute this action.) Platform API (Platform API does not support this operation) To edit an API key, click the ellipses **(...)** on the key, or right-click it, and select **Edit**. ![Edit API Key Menu](https://assets.mirurobotics.com/docs/v04/images/apikeys/edit-menu.png) The **Edit API Key** page will open. Change the key's name, description, or scopes, then click **Save**. The key itself doesn't change, so anything using it keeps working with the new scopes. ![Edit API Key Page](https://assets.mirurobotics.com/docs/v04/images/apikeys/edit-page.png) ## Delete an API key admin (Workspace owners and administrators can execute this action.) Platform API (Platform API does not support this operation) Deleting an API key immediately revokes it. Attempting to authenticate with a deleted API key will fail. Furthermore, deleting an API key is irreversible. Once an API key is deleted, it cannot be recovered. To delete an API key, click the ellipses **(...)** on the key, or right-click it, and select **Delete**. ![Delete API Key Menu](https://assets.mirurobotics.com/docs/v04/images/apikeys/delete-menu.png) A confirmation dialog will appear. Hit **Delete** to confirm the deletion. # Archive format Source: https://docs.mirurobotics.com/admin/backups/archive-format Every backup is a single zip archive. The format is a public contract: each resource in it is a [Platform API](/developers/platform-api/overview) resource. Refer to the Platform API reference to see the contents of each resource. ## Bucket location Archives are written to your bucket under the backup prefix specified during [set up](/admin/backups/set-up). The default bucket prefix is `miru-backups/`. **\** **miru-backups** **miru-backup-20261101T030000Z.zip** **miru-backup-20261102T030000Z.zip** **...** **\** Each archive is named `miru-backup-.zip`, where the timestamp is when the backup was taken. ## Archive contents Every archive contains the entire state of the workspace at the time the backup was taken. Unzipping an archive reveals a directory with the following contents: **miru-backup-20261102T030000Z.zip** **README.md** **manifest.json** **resources** **api\_keys.jsonl** **calibrations.jsonl** **config\_instances.jsonl** **config\_schema\_git\_commits.jsonl** **config\_schemas.jsonl** **config\_types.jsonl** **deployments.jsonl** **devices.jsonl** **git\_commits.jsonl** **groups.jsonl** **releases.jsonl** **users.jsonl** **contents** **calibrations** **cal\_123** **cal\_456** **...** **config\_instances** **cfg\_inst\_123** **cfg\_inst\_456** **...** * `README.md` lists the resource types in the archive, explains how to read it and links back to these docs. * `manifest.json` describes the archive. See [manifest](#manifest). * `resources/` holds one file per resource type. See [resources](#resources). * `contents/` holds the stored content of each config instance and calibration. See [contents](#contents). Every resource type is guaranteed to have a file. An empty file means the workspace had no resources of that type. ## Manifest The manifest is a JSON file that describes the archive. ```json theme={null} { "format_version": "0.1", "platform_api_version": "2026-11-04.everglades", "workspace_id": "wsp_123", "timestamp": "2026-11-02T03:00:00Z", "resource_counts": { "api_keys": 3, "calibrations": 64, "config_instances": 812, "devices": 112, "releases": 38, "users": 9 } } ``` **format\_version** `string` The version of the archive format, as `major.minor`. See [versioning](#versioning). Example: `0.1` **platform\_api\_version** `string` The [Platform API version](/developers/platform-api/versioning) of every resource in the archive. Example: `2026-11-04.everglades` **workspace\_id** `string` The ID of the workspace the archive was taken from. Example: `wsp_123` **timestamp** `timestamp` The point in time the archive captures. Every resource is as it was at this moment. Example: `2026-11-02T03:00:00Z` **resource\_counts** `object` A map of resource types to the number of resources of that type in the archive. ## Resources Each file in `resources/` is a [JSON Lines](https://jsonlines.org) file containing one Platform API resource per line. Resources use the Platform API version named in the manifest's `platform_api_version`. | File | Resource | Expansions | | - | - | - | | `api_keys.jsonl` | API key | | | `calibrations.jsonl` | Calibration | | | `config_instances.jsonl` | Config instance | | | `config_schema_git_commits.jsonl` | Config schema git commit | | | `config_schemas.jsonl` | Config schema | `documents` | | `config_types.jsonl` | Config type | | | `deployments.jsonl` | Deployment | `config_instances` | | `devices.jsonl` | Device | | | `git_commits.jsonl` | Git commit | | | `groups.jsonl` | Group | | | `releases.jsonl` | Release | `config_schemas` | | `users.jsonl` | User | | Some resources include expansion data that the Platform API does not include by default. For example, `config_schemas.jsonl` includes the schema documents, since there is no dedicated schema documents endpoint in the Platform API. `config_schema_git_commits.jsonl` links each config schema to the git commits it was pushed from, with the schema's file paths in each commit. While config schema git commits are not returned as their own resource in the Platform API, they are given their own file in the archive because expanding the `config_schema_git_commits` expansion on config schemas returns only a singular page of results, which may loose data. Archived devices, releases and config types are included in the archive. Deleted API keys are also included, as resources may have been created from an API key that has since been deleted. ## Contents The `contents/` directory contains the stored content of each config instance and calibration. Since these files are so large, they are given their own directory in the archive. Each file in `contents/` holds the stored content of one config instance or calibration, named by the resource's ID: * `contents/config_instances/` * `contents/calibrations/` The bytes are exactly as they were stored, with no re-encoding. # Overview Source: https://docs.mirurobotics.com/admin/backups/overview Data backups keep a copy of your workspace's data in a cloud storage bucket *you* own. Each night, Miru writes a full backup of your workspace to your [bucket](/data-uploads/concepts/buckets). Every backup is a single zip archive that holds a complete copy of your workspace's resources. It contains all resources and their state exactly as they were at the moment the backup was taken. By default, backups are off. To turn them on, see [set up backups](/admin/backups/set-up). ## How it works 1. Once a day, Miru reads all the resources in your workspace. 2. Miru writes each resource as it appears in the latest [Platform API](/references/platform-api/latest/endpoints) version into a single zip archive (see [archive format](/admin/backups/archive-format#archive-contents)). 3. Using the credentials from your [bucket connection](/data-uploads/concepts/buckets), Miru uploads the archive. A failed backup writes nothing. Miru only ever adds objects to your bucket. Deleting something in Miru never deletes anything in your bucket, and Miru never reads or deletes an archive once it's written. To control how long archives are kept, add a [lifecycle rule](/admin/backups/set-up#configure-retention) to the bucket. ## What's included An archive contains all resources from the latest [Platform API](/references/platform-api/latest/endpoints) version. As of writing, the latest version is [2026-11-04.everglades](/references/platform-api/2026-11-04), which contains: * [Devices](/concepts/devices/overview) * [Groups](/concepts/groups/overview) * [Releases](/concepts/releases) * Git commits * [Deployments](/concepts/deployments/overview) * [Config types](/cfg-mgmt/concepts/config-types) * [Config schemas](/cfg-mgmt/concepts/schemas/overview) * Config schema git commits * [Config instances](/cfg-mgmt/concepts/config-instances) (including their contents) * [Calibrations](/cfg-mgmt/concepts/calibrations) (including their contents) * [API keys](/admin/apikeys) * [Users](/admin/users/overview) Any resource additions, modifications, or deletions to the latest platform API are reflected in the currently backed up archive. # Read a backup Source: https://docs.mirurobotics.com/admin/backups/read-a-backup Backups are plain zip archives, so you can read them with standard tools and without Miru. This guide downloads the latest archive, checks it, and queries it. ## Download the latest archive Archive names end in the time they were taken, so the newest archive is the last one by name. ```bash Linux theme={null} BUCKET_NAME="" PREFIX="miru-backups" # or your custom prefix ``` ```bash macOS theme={null} BUCKET_NAME="" PREFIX="miru-backups" # or your custom prefix ``` ```powershell Windows theme={null} $BucketName = "" $Prefix = "miru-backups" # or your custom prefix ``` > [tab] AWS S3 > > ```bash Linux theme={null} > KEY="$(aws s3api list-objects-v2 \ > --bucket "${BUCKET_NAME}" \ > --prefix "${PREFIX}/miru-backup-" \ > --query 'Contents[].Key' \ > --output text | tr '\t' '\n' | sort | tail -n 1)" > aws s3 cp "s3://${BUCKET_NAME}/${KEY}" backup.zip > ``` > > ```bash macOS theme={null} > KEY="$(aws s3api list-objects-v2 \ > --bucket "${BUCKET_NAME}" \ > --prefix "${PREFIX}/miru-backup-" \ > --query 'Contents[].Key' \ > --output text | tr '\t' '\n' | sort | tail -n 1)" > aws s3 cp "s3://${BUCKET_NAME}/${KEY}" backup.zip > ``` > > ```powershell Windows theme={null} > $Key = aws s3api list-objects-v2 ` > --bucket $BucketName ` > --prefix "$Prefix/miru-backup-" ` > --query 'Contents[].Key' ` > --output text | > ForEach-Object { $_ -split "`t" } | Sort-Object | Select-Object -Last 1 > aws s3 cp "s3://$BucketName/$Key" backup.zip > ``` > [tab] GCS > > ```bash Linux theme={null} > URL="$(gcloud storage ls "gs://${BUCKET_NAME}/${PREFIX}/miru-backup-*.zip" | sort | tail -n 1)" > gcloud storage cp "${URL}" backup.zip > ``` > > ```bash macOS theme={null} > URL="$(gcloud storage ls "gs://${BUCKET_NAME}/${PREFIX}/miru-backup-*.zip" | sort | tail -n 1)" > gcloud storage cp "${URL}" backup.zip > ``` > > ```powershell Windows theme={null} > $Url = gcloud storage ls "gs://$BucketName/$Prefix/miru-backup-*.zip" | > Sort-Object | Select-Object -Last 1 > gcloud storage cp $Url backup.zip > ``` Above are example commands for downloading the latest archive from AWS S3 and GCS. Make sure to sign in to your cloud account before running the commands. ## Unzip the archive ```bash Linux theme={null} unzip -q backup.zip -d backup cd backup ``` ```bash macOS theme={null} unzip -q backup.zip -d backup cd backup ``` ```powershell Windows theme={null} Expand-Archive backup.zip -DestinationPath backup Set-Location backup ``` ## Query resources Each line of a resource file is one resource, so `jq` on Linux and macOS, or PowerShell on Windows, reads the files directly. List every device's ID and name: ```bash Linux theme={null} jq -r '[.id, .name] | @tsv' resources/devices.jsonl ``` ```bash macOS theme={null} jq -r '[.id, .name] | @tsv' resources/devices.jsonl ``` ```powershell Windows theme={null} Get-Content resources/devices.jsonl -Encoding UTF8 | ForEach-Object { $_ | ConvertFrom-Json } | ForEach-Object { "$($_.id)`t$($_.name)" } ``` Show one deployment, with the config instances it contains: ```bash Linux theme={null} jq 'select(.id == "dpl_123")' resources/deployments.jsonl ``` ```bash macOS theme={null} jq 'select(.id == "dpl_123")' resources/deployments.jsonl ``` ```powershell Windows theme={null} Get-Content resources/deployments.jsonl -Encoding UTF8 | ForEach-Object { $_ | ConvertFrom-Json } | Where-Object id -eq "dpl_123" | ConvertTo-Json -Depth 10 ``` ## Read with the Python SDK Every resource in an archive is a Platform API resource, so the [Python Platform SDK](/developers/platform-api/sdks#python) models can load them. Use an SDK version built for the archive's `platform_api_version`. Python reads the archive in place, without unzipping it: ```python theme={null} import json import zipfile from miru_platform_sdk.types import Device with zipfile.ZipFile("backup.zip") as archive: manifest = json.loads(archive.read("manifest.json")) print(manifest["platform_api_version"]) with archive.open("resources/devices.jsonl") as lines: devices = [Device.model_validate_json(line) for line in lines] for device in devices: print(device.id, device.name) ``` # Set up backups Source: https://docs.mirurobotics.com/admin/backups/set-up Backups are configured per workspace from the dashboard. Each workspace writes its backups to one bucket. ## Prerequisites * A [bucket](/data-uploads/concepts/buckets) connected to Miru. Connect an [AWS S3](/data-uploads/connect-a-bucket/aws) or [GCS](/data-uploads/connect-a-bucket/gcs) bucket. Connecting a bucket needs the publisher (Members with the publisher role can execute this action.) role, and backups need no bucket permissions beyond the ones that connection grants. ## Enable backups admin (Workspace owners and administrators can execute this action.) Platform API (Platform API does not support this operation) **1. Choose the bucket and prefix** In the Miru dashboard, navigate to the [Backups page](https://app.mirurobotics.com/settings/backups) and click **Connect**. Select the bucket and, if you want, change the backup prefix from the default `miru-backups/`. **2. Connect** Click **Connect**. Before connecting, Miru checks that it can write to the bucket by uploading an empty object under `/.miru/probe/`. If the check fails, the page shows the error and nothing is saved. The first backup starts within about an hour. Each later backup starts about a day after the one before it. A prefix can't start or end with `/`, or contain `*`, `?` or `$`. If more than one workspace backs up to the same bucket, give each its own prefix, since archive names don't include the workspace. ### Configure retention Miru never deletes a backup, so archives build up until you remove them. To expire old archives automatically, add a lifecycle rule for the backup prefix in [AWS S3](https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-lifecycle-mgmt.html) or [GCS](https://cloud.google.com/storage/docs/lifecycle). While backups keep running, an age-based rule always leaves the newest archives in place. ### Run history admin (Workspace owners and administrators can execute this action.) Platform API (Platform API does not support this operation) The [Backups page](https://app.mirurobotics.com/settings/backups) lists recent runs, newest first, with each run's status and, once it succeeds, the size and key of its archive. | Status | Meaning | | - | - | | `queued` | The run is waiting to start. | | `running` | The run has started and hasn't finished. | | `succeeded` | The archive was uploaded to the bucket. | | `failed` | The run stopped before the archive was uploaded. | When a run fails, the page shows why. The most common cause is a bucket role or service account that no longer grants write access. ## Change where backups go admin (Workspace owners and administrators can execute this action.) Platform API (Platform API does not support this operation) On the [Backups page](https://app.mirurobotics.com/settings/backups), click **Change**, select a different bucket or change the prefix, and click **Save**. Miru checks the new location the same way before saving. Later backups go to the new location, and earlier archives stay where they were written. While the backup settings point at a bucket, you can't delete or [archive](/data-uploads/concepts/buckets#archive-a-bucket) that bucket. Choose another bucket, or [turn off backups](#turn-off-backups), first. A bucket that any backup has run to can't be deleted, only archived. ## Turn off backups admin (Workspace owners and administrators can execute this action.) Platform API (Platform API does not support this operation) On the [Backups page](https://app.mirurobotics.com/settings/backups), click **Disconnect**. No more backups run, and the archives already in your bucket stay where they are. # Support Source: https://docs.mirurobotics.com/admin/support ## Contact us > [card] Slack > > Most customers have a shared Slack channel with the Miru team. To set one up, email us. > [card] Email > > Email [support@mirurobotics.com](mailto:support@mirurobotics.com) to report a bug, an incident, or any other concern. ## What to include To help us resolve an issue quickly, include: * What you expected to happen and what happened instead * Steps to reproduce the issue * The affected device IDs and their [agent logs](/developers/agent/commands#logs), if the issue involves a device # Access control Source: https://docs.mirurobotics.com/admin/users/access-control There are two access control mechanisms for users in a workspace: 1. **User types** — determine the broad access levels of a user 2. **Roles** — grant fine-grained access to the workspace ## User types User types determine the broad access levels of a user. Below is a summary of the user types and their functions. owner (You must be the owner to execute this action.) — complete control over the workspace; exactly one per workspace admin (Workspace owners and administrators can execute this action.) — complete administrative and application access; is subordinate to the owner member (Every workspace member can execute this action.) — limited application access with no administrative privileges Owners have unrestricted access to the workspace with the ability to execute any action. Administrators hold nearly the same access as owners, but are unable to adjust the access controls of owners. Members are the only user type that can be granted fine-grained access to the workspace through [roles](#roles). Since administrators and owners already have complete access to the workspace, they cannot be given any roles. ### Admin privileges There are a variety of privileges which are only available to owners and administrators. Outside of the [group manager](#group-manager) role, no roles can grant any of these privileges. [API Keys](/admin/apikeys) * Create a new API key * Edit an API key * Delete an API key [Config types](/cfg-mgmt/concepts/config-types) * Delete a config type [Groups](/concepts/groups/manage) * Create a group * Update a group * Delete a group * Move a device to a different group [Invites](/admin/users/invites) * Send an invite * Resend an invite * Revoke an invite [Members](/admin/users/manage) * Suspend a member * Update another member's role [Releases](/concepts/releases) * Delete a release [Workspace](/admin/workspace) * Update the workspace ## Roles While a user's type determines broad access and administrative capabilities, **roles** grant fine-grained access to the workspace. Because owners and admins already have full access to the workspace, roles can only be granted to members. A member's roles are defined in two independent sources: * **Workspace roles** apply across the entire workspace * **Group roles** apply to a [group](/concepts/groups/overview) and all of its subgroups A member can hold any combination of both. Permissions are always **additive** — Miru allows an action if any of the member's roles permit it, and one role never removes access granted by another. ### Workspace-only roles Below are the roles which are only available at the workspace level. These roles cannot be assigned to users for a particular group. #### Viewer viewer (Members with the viewer role can execute this action.) Viewers hold read-only access to the entire application. It is not possible to restrict read access to specific groups or devices. Viewer is the least privileged role there is. All roles implicitly include viewer access. #### Publisher publisher (Members with the publisher role can execute this action.) The publisher role allows members to create and edit config types, schemas, and releases (all the resources needed to publish a release). The publisher role grants access to the following operations: [Config types](/cfg-mgmt/concepts/config-types) * Create a config type * Edit a config type * Archive a config type * Unarchive a config type [Config schemas](/cfg-mgmt/concepts/schemas/manage) * Create a config schema [Buckets](/data-uploads/concepts/buckets) * Connect a bucket * Edit a bucket * Delete a bucket * Archive a bucket [Upload collections](/data-uploads/concepts/upload-collections) * Create an upload collection [File rules](/data-uploads/concepts/file-rules/overview) * Create a file rule [Releases](/concepts/releases) * Create a release * Duplicate a release * Archive a release * Unarchive a release ### Shared roles Below are the roles which are available at both the workspace and group levels. These roles can be assigned to users for a particular group, as well as the entire workspace. #### Operator operator (Members with the operator role can execute this action.) The operator role allows members to deploy configurations to devices. The operator role grants access to the following operations: [Config editor](/cfg-mgmt/deploy/config-editor) * Deploy configurations to devices [Release staging area](/cfg-mgmt/deploy/staging-area) * Stage a deployment * Patch a deployment * Review a deployment * Deploy a deployment * Archive a deployment #### Provisioner provisioner (Members with the provisioner role can execute this action.) The provisioner role allows members to create and activate devices. The provisioner role grants access to the following operations: [Manage devices](/concepts/devices/manage) * Create a device * Edit a device * Delete a device * Archive a device [Provision devices](/provision-devices/dashboard) * Provision a device * Reprovision a device ### Group-only roles Below are the roles which are only available at the group level. These roles can only be assigned to users for a particular group, not for the entire workspace. #### Group manager group manager (Members who are managers of a group that contains this resource can execute this action.) The group manager role allows members to manage the members in a group, the members' grants, and the group's subgroups. It includes everything the operator and provisioner roles can do, along with the following operations: [Groups](/concepts/groups/manage) * Create a subgroup * Edit a group * Move a device * Delete a subgroup [Devices](/concepts/devices/manage) * Move a device to a different group [Members](/concepts/groups/members) * Add a group member * Edit group member permissions * Remove group members # Invites Source: https://docs.mirurobotics.com/admin/users/invites An **invite** is a request sent to a new or existing user to join your workspace. ### Properties **email** `string` immutable (Property cannot be modified) The email address of the invitee. Examples: `john.doe@example.com`, `jane.smith@example.com` **expires\_at** `timestamp` immutable (Property cannot be modified) The date and time the invite expires. Invites are valid for seven days from creation. Examples: `2025-11-19T12:00:00Z` **role** `enum` mutable (Property is automatically updated by the system; cannot be modified directly) The role (The access role of the user in the workspace.) of the invitee when they join the workspace. Must be one of the following: * `admin` * `member` ## Sending invites ### Send an invite admin (Workspace owners and administrators can execute this action.) To invite a member to your workspace, navigate to the [members](https://app.mirurobotics.com/settings/members) page and click **Invite** in the top right corner. Next, supply the email addresses of the members you want to invite as a comma-separated list, select their role (The access role of the user in the workspace.), and hit **Send**. ![Send Invite Dialog](https://assets.mirurobotics.com/docs/v04/images/invites/send-invite-dialog.png) An email will be sent to each member with a link to accept the invite. Invites expire after seven days. Once the invite expires, a new invite must be issued for a member to join your workspace. ### Revoke an invite admin (Workspace owners and administrators can execute this action.) To revoke an invite, click the **pending invites** button in the top right. ![Pending Invites Button](https://assets.mirurobotics.com/docs/v04/images/invites/pending-invites-button.png) A panel will appear on the right side of the screen with a list of pending invites. Click the ellipses (...) of the invite to revoke and hit **Revoke Invite**. ![Pending Invite Dropdown](https://assets.mirurobotics.com/docs/v04/images/invites/pending-invite-dropdown.png) Finally, confirm the revocation by clicking **Revoke** in the confirmation dialog. ![Revoke Invite Dialog](https://assets.mirurobotics.com/docs/v04/images/invites/revoke-invite-dialog.png) ### Resend an invite admin (Workspace owners and administrators can execute this action.) Resending an invite sends a new email to the invitee but does not affect the invite in any way — previous emails remain valid, and the invite's expiration date is unchanged. Since resending an invite does not extend its expiration date, invitees must still accept it within seven days of its original creation. To give the invitee more time to accept, create a new invite. To resend an invite, click the **pending invites** button in the top right. ![Pending Invites Button](https://assets.mirurobotics.com/docs/v04/images/invites/pending-invites-button.png) A panel will appear on the right side of the screen with a list of pending invites. Click the ellipses (...) of the invite to resend and hit **Resend Invite**. ![Pending Invite Dropdown](https://assets.mirurobotics.com/docs/v04/images/invites/pending-invite-dropdown.png) ## Receiving invites This section covers invites received by users *who already have a Miru account*. If you do not yet have a Miru account, follow the instructions sent in the invitation email to join a workspace. ### Accept an invite Since user accounts can only belong to a single workspace, accepting an invite from another workspace transfers you from your current workspace to the workspace you've been invited to: * You will lose all access to your current workspace * Your status in your current workspace will be set to left (The member left the workspace; they cannot login to the workspace or access any resources) * Logging in gives you access to the workspace you've accepted the invite from Accepting an invite is reversible if you are *not the only active member*. An admin from the workspace you left can invite you back at any time. However, if you are *the only* active member of your current workspace, accepting an invite will delete the workspace and all associated resources. To accept an invite from another workspace, navigate to the [Profile page](https://app.mirurobotics.com/settings/profile) and hit **Join**. ![Invitations Panel](https://assets.mirurobotics.com/docs/v04/images/users/profile/invitations.png) Finally, click **Join workspace** to accept the invite and transfer workspaces. ![Accept Invite Dialog](https://assets.mirurobotics.com/docs/v04/images/users/profile/accept-invite-dialog.png) ### Decline an invite To decline an invite, navigate to your [Profile page](https://app.mirurobotics.com/settings/profile) and hit **Decline** on the invite you want to decline. ![Invitations Panel](https://assets.mirurobotics.com/docs/v04/images/users/profile/invitations.png) # Manage members Source: https://docs.mirurobotics.com/admin/users/manage ## Change a member's access admin (Workspace owners and administrators can execute this action.) Platform API (Platform API does not support this operation) To change a member's role (The access role of the user in the workspace.), first navigate to the [members](https://app.mirurobotics.com/settings/members) page. Next, click the ellipses (...) of the member you want to change the role of, and hit **Change role**. ![Change Role Dropdown](https://assets.mirurobotics.com/docs/v04/images/users/members/dropdown.png) Select the new role and hit **Save**. > [!NOTE] > > Changing the owner's role is not possible. Owners must transfer workspace ownership to another member to change their own role. ## Suspend a member admin (Workspace owners and administrators can execute this action.) Platform API (Platform API does not support this operation) Suspending a member immediately revokes their access to the workspace and sets their status to suspended (The member's access was revoked by an admin; they cannot login to the workspace or access any resources): * They are immediately logged out * They cannot log in to this workspace or access any resources (signing in with the same email address creates a new workspace with a new account) Suspending a member is reversible. An admin can invite them back to the workspace at any time. > [!NOTE] > > Suspending the owner is not possible. Owners must transfer workspace ownership to another member to be eligible for suspension. To suspend a member, first navigate to the [members](https://app.mirurobotics.com/settings/members) page Next, click the ellipses (...) of the member you want to suspend, and hit **Suspend user**. ![Suspend User Dropdown](https://assets.mirurobotics.com/docs/v04/images/users/members/dropdown.png) # Overview Source: https://docs.mirurobotics.com/admin/users/overview A **user** is a person with a Miru account who can (or previously could) log in to a workspace and access its resources. Users are identified by their email address and can only belong to one workspace. You cannot log in to multiple workspaces with the same email address. ## Properties **first\_name** `string` mutable (Property is automatically updated by the system; cannot be modified directly) The first name of the user. Must contain between 1 and 48 characters. Examples: `John`, `Jane` **last\_name** `string` mutable (Property is automatically updated by the system; cannot be modified directly) The last name of the user. Must contain between 1 and 48 characters. Examples: `Doe`, `Smith` **email** `string` immutable (Property cannot be modified) The email address of the user. Examples: `john.doe@example.com`, `jane.smith@example.com` **type** `enum` mutable (Property is automatically updated by the system; cannot be modified directly) The user's [type](/admin/users/access-control#user-types), which sets their broad access level in the workspace. Allowed values: * `member` * `admin` * `owner` **roles** `[]enum` mutable (Property is automatically updated by the system; cannot be modified directly) The user's workspace [roles](/admin/users/access-control#roles). Members have at least one role; admins and owners have none. Roles within a group are granted through [group membership](/concepts/groups/members). Allowed values: * `viewer` * `operator` * `provisioner` * `publisher` **status** `enum` mutable (Property is automatically updated by the system; cannot be modified directly) The user's [status](/admin/users/overview#status). Allowed values: * `active` * `suspended` * `left` **avatar** `image` mutable (Property is automatically updated by the system; cannot be modified directly) The avatar of the user. ## Status To maintain an accurate audit trail of user activity, users cannot be deleted from a workspace. However, users can be suspended by an admin or leave the workspace themselves. As such, there are three possible statuses for a user: | Status | Description | | - | - | | `active` | User can log in and access workspace resources | | `suspended` | User's access was revoked by an admin | | `left` | User has left the workspace | Only `active` users can log in and access workspace resources. `suspended` and `left` users exist solely for auditing purposes—they cannot log in to the workspace or access any resources. Users who have been suspended or left can be reinvited to the workspace at any time by an admin via [invites](/admin/users/invites#send-an-invite). # Your profile Source: https://docs.mirurobotics.com/admin/users/profile The profile page lets you update your account information, such as your name and workspace access. You can find your [Profile page](https://app.mirurobotics.com/settings/profile) by selecting the settings page from the workspace dropdown in the top left corner of the application. ## Name To update your name, edit the **First name** and **Last name** fields and hit **Enter** on your keyboard. ![Name Fields](https://assets.mirurobotics.com/docs/v04/images/users/profile/name-fields.png) ## Avatar To set your avatar, hover over your avatar and select **Change avatar**. ![Avatar Field](https://assets.mirurobotics.com/docs/v04/images/users/profile/avatar-field.png) Select the image you want to use from the file system. A dialog will appear, allowing you to crop the image. ![Crop Avatar Dialog](https://assets.mirurobotics.com/docs/v04/images/users/profile/crop-avatar-dialog.png) Crop the image to your desired size, then click **Save** to set your avatar. ## Preferences Preferences offer high level adjustments to your account: * **Display names** - select whether to see only first names or full names across the app. ![Preferences](https://assets.mirurobotics.com/docs/v04/images/users/profile/preferences.png) ## Leave your workspace Leaving a workspace removes all access to your workspace and sets your status to left (The member left the workspace; they cannot login to the workspace or access any resources): * You are immediately logged out * You cannot login to this workspace or access any resources (signing in with the same email address creates a new workspace with a new account) Leaving a workspace is reversible if you are *not the only active member*. An admin can invite you back to the workspace at any time. However, if you are *the only* active member of a workspace, leaving the workspace will delete the workspace and all associated resources. To leave your workspace, navigate to the [Profile page](https://app.mirurobotics.com/settings/profile) and click **Leave workspace**. ![Workspace Access](https://assets.mirurobotics.com/docs/v04/images/users/profile/workspace-access.png) If the **Leave workspace** button is disabled, you are the workspace owner and other members are still active. [Transfer ownership](/admin/workspace#transfer-ownership) to another member before leaving. Members and admins can always leave. # Workspace Source: https://docs.mirurobotics.com/admin/workspace Workspaces are the highest-level organizational unit in Miru. They contain all sub-resources, such as devices, releases, deployments, config instances, etc. Users can belong to only one workspace. As such, you cannot log in to multiple workspaces with the same email address. ## Properties **name** `string` mutable (Property is automatically updated by the system; cannot be modified directly) The name of the workspace. Must contain between 1 and 48 characters. Examples: `Miru` **logo** `image` mutable (Property is automatically updated by the system; cannot be modified directly) The logo of the workspace. ## Name admin (Workspace owners and administrators can execute this action.) To update your workspace's name, navigate to the [workspace](https://app.mirurobotics.com/settings/workspace) page. Edit the **Name** field and hit **Enter** on your keyboard. ![Workspace Name Field](https://assets.mirurobotics.com/docs/v04/images/workspaces/name-field.png) ## Logo admin (Workspace owners and administrators can execute this action.) To set your workspace logo, navigate to the [workspace](https://app.mirurobotics.com/settings/workspace) page. Click the current logo and select the image you want to use from the file system. ![Workspace Logo Field](https://assets.mirurobotics.com/docs/v04/images/workspaces/logo-field.png) A dialog will appear, allowing you to crop the image. ![Workspace Crop Logo Dialog](https://assets.mirurobotics.com/docs/v04/images/workspaces/crop-logo-dialog.png) Crop the image to your desired size, then click **Save** to set your workspace logo. ## Transfer ownership owner (You must be the owner to execute this action.) To transfer ownership of your workspace to another member, navigate to the [members](https://app.mirurobotics.com/settings/members) page. Click the ellipses (...) of the member you want to transfer ownership to and hit **Transfer ownership**. ![Workspace Transfer Ownership Dropdown](https://assets.mirurobotics.com/docs/v04/images/users/members/dropdown.png) > [!WARNING] > > Transferring workspace ownership is a sensitive operation and cannot be undone. Please proceed with caution. ## Leave your workspace Leaving a workspace removes all access to your workspace and sets your status to left (The member left the workspace; they cannot login to the workspace or access any resources): * You are immediately logged out * You cannot login to this workspace or access any resources (signing in with the same email address creates a new workspace with a new account) Leaving a workspace is reversible if you are *not the only active member*. An admin can invite you back to the workspace at any time. However, if you are *the only* active member of a workspace, leaving the workspace will delete the workspace and all associated resources. To leave your workspace, navigate to the [Profile page](https://app.mirurobotics.com/settings/profile) and click **Leave workspace**. ![Workspace Access](https://assets.mirurobotics.com/docs/v04/images/users/profile/workspace-access.png) If the **Leave workspace** button is disabled, you are the workspace owner and other members are still active. [Transfer ownership](/admin/workspace#transfer-ownership) to another member before leaving. Members and admins can always leave. # Compare devices Source: https://docs.mirurobotics.com/cfg-mgmt/audit/compare-devices Compare lets you inspect the configuration differences between two device deployments side by side — whether that's two different devices or two deployments on the same device. It's read-only, so anyone on your workspace can use it. Open it from the sidebar under **Devices → Compare**. ## Layout The page is split into three stacked regions: * **Selection** — Pick the **Base** (left) and **Head** (right) device and deployment, with a swap button between them. * **Summary** — A collapsible overview of every difference across all files. * **Files** — A per-file diff card for each configuration file. *** ## Selection Each side — **Base** and **Head** — has a device picker and a deployment picker. Make your selections to load the comparison. ![Selection Header](https://assets.mirurobotics.com/docs/v04/images/devices/compare/selection.png) **1. Pick a base device** Click the device picker (**Select device...**) and choose a device. Devices with no deployments are disabled since there's nothing to compare. **2. Pick a base deployment** The deployment picker (**Select deployment...**) is enabled once a device is selected. Each row shows the deployment ID and description, and the device's live deployment is marked with a **current** badge. It defaults to the current deployment. **3. Repeat for the head** Choose a device and deployment for the **Head** side the same way. > [!NOTE] > > **You can compare a device against itself.** You don't need two devices — > pick the **same device** for both **Base** and **Head**, then choose two > different deployments to see exactly what changed between them. *** ## Summary The summary card sits above the files and totals every difference at a glance. Its header reads, for example, **"17 diffs across 3 of 3 files"**, or **"No differences — configurations are identical"** when the two deployments match. When there are changes, click the header to expand a per-file breakdown. ![Compare Summary](https://assets.mirurobotics.com/docs/v04/images/devices/compare/summary.png) Each file section shows the file name and a label — **ADDED**, **REMOVED**, **DIFFERENT FORMAT**, or a change count (e.g. "5 changes"). Within a section, every change lists: * The **type** of change — added, modified, or deleted — color-coded green, yellow, or red respectively. * The **JSON path** of the affected value (e.g. `kinematics > slip_compensation_enabled`). Long paths are truncated to the first and last segments; hover to see the full path. *** ## Files Below the summary, every configuration file appears as its own collapsible card. ![Compare Files](https://assets.mirurobotics.com/docs/v04/images/devices/compare/files.png) Each card shows the file name and a status badge: * **UNCHANGED** — No differences between the two deployments. * **ADDED** (green) — The file exists only in the head deployment. * **REMOVED** (red) — The file exists only in the base deployment. * **DIFFERENT FORMAT** — The file has a different format in each deployment (for example, JSON and YAML). Miru doesn't diff across formats. * For files with changes, a compact per-operation count — using **D** for deleted, **M** for modified, and **A** for added, each color-coded. Files from a config type with several [instance slots](/cfg-mgmt/concepts/schemas/annotations#instance-slots) show the slot name first, then the config type. The first changed file is expanded by default. Expand any file to see the inline diff, with changes highlighted by color: * **Green** — Added lines. * **Yellow** — Modified lines, showing the old and new value inline (e.g. `old → new`). * **Red** — Removed lines. Long runs of unchanged lines are collapsed into a summary row (e.g. "75 unchanged lines"); click it to reveal the hidden lines. If Miru can't diff a file, the card says why above the file, for example "This file couldn't be parsed." > [!NOTE] > > The toolbar has an expand/collapse-all toggle. *** ## Sharing Your selections are saved in the page URL, so a comparison link always reopens the exact same view. Click the **copy-link** button in the top-right of the page header to copy the current URL and share it with your team. # Device history Source: https://docs.mirurobotics.com/cfg-mgmt/audit/device-history Each device has its own deployment history, accessible by clicking the device on the [Devices page](https://app.mirurobotics.com/devices) and selecting the **Deployments** tab. The list shows every deployment sent to the device, newest first, under a heading for each release. Staged deployments aren't listed. ## View a deployment To view a deployment, select it from the list. A panel will open with its details, including its **Parent**, the deployment it was based on. Under **Configurations**, each config instance shows how it changed since the parent: **ADDED**, **UNCHANGED**, or a count of its changes. ![Deployed Panel](https://assets.mirurobotics.com/docs/v04/images/deployments/deployed-panel.png) ## View a config instance To view a config instance, click it under **Configurations**. It opens in **Diff** mode, showing what changed since the parent deployment. Switch to **Read-only** to see the file on its own. ![Deployed Panel Configurations](https://assets.mirurobotics.com/docs/v04/images/deployments/deployed-panel:configurations.png) > [tab] Content > > ![Config Instance Content](https://assets.mirurobotics.com/docs/v04/images/config-instances/panel-content:deployed.png) > [tab] Metadata > > ![Config Instance Metadata](https://assets.mirurobotics.com/docs/v04/images/config-instances/panel-metadata:deployed.png) # Calibrations Source: https://docs.mirurobotics.com/cfg-mgmt/concepts/calibrations A **calibration** is a result a device reports to Miru after calibrating one of its [components](/cfg-mgmt/concepts/components), such as the pose of a robot arm or the intrinsics of a RealSense D435. Calibrations flow one way, from the device to Miru. Editing calibrations is not supported. ## Properties **device** `Device` immutable (Property cannot be modified) The [device](/concepts/devices/overview) that reported the calibration. **component** `Component` immutable (Property cannot be modified) The [component](/cfg-mgmt/concepts/components) that was calibrated. Examples: `kuka-arm`, `realsense-d435` **role** `Role` immutable (Property cannot be modified) nullable (Property does not need to be set) The [role](/cfg-mgmt/concepts/components#param-roles) the calibrated unit fills on the device. Examples: `left`, `front-left` **aspect** `Aspect` immutable (Property cannot be modified) nullable (Property does not need to be set) The [aspect](/cfg-mgmt/concepts/components#param-aspects) of the unit that was calibrated. Examples: `pose`, `intrinsics` **serial number** `string` immutable (Property cannot be modified) nullable (Property does not need to be set) The serial number of the calibrated unit, not of the device. At most 255 characters. Example: `SN-1234` **reported by** `string` immutable (Property cannot be modified) nullable (Property does not need to be set) The person who reported the calibration, exactly as the device named them. At most 255 characters. Example: `Jane Doe` **format** `enum` immutable (Property cannot be modified) The file format of the calibration's content. Miru checks that `json`, `jsonc`, `yaml`, `xml` and `csv` content parses. Allowed values: * `json` * `yaml` * `jsonc` * `xml` * `csv` * `text` **content** `string` immutable (Property cannot be modified) The calibration result, exactly as the device reported it. At most 1 MiB. **reported at** `datetime` immutable (Property cannot be modified) When the device reported the calibration. A device that was offline uploads its calibrations later, so this can be well before Miru received them. ## History Calibrations are append-only. Every report adds a new calibration, even if its content matches an earlier one, and calibrations are never edited or deleted. They are only removed along with their device. A device keeps a separate history for each component, role and aspect it reports. The most recently reported calibration in a history is that unit's current calibration. ## Report a calibration Platform API (Platform API does not support this operation) Calibrations can only be created on-device using the Miru Agent. Visit the [report calibrations](/cfg-mgmt/report-calibrations) guide for more information. ## View calibrations [Platform API](/references/platform-api/2026-11-04/endpoints/calibrations/list) (Open the Platform API reference for this operation) To view a device's calibrations, open the device and navigate to the **Calibrations** page on the left. # Components Source: https://docs.mirurobotics.com/cfg-mgmt/concepts/components A **component** is a kind of hardware that devices report [calibrations](/cfg-mgmt/concepts/calibrations) for, such as an arm, a RealSense D435 or a Robotiq 2F-85. ## Properties **name** `string` editable (Property can be directly modified) A human-readable display name, derived from the slug, so `realsense-d435` becomes `Realsense D435`. Examples: `Kuka Arm`, `Realsense D435`, `Robotiq 2f 85` **slug** `string` immutable (Property cannot be modified) A unique, code-friendly identifier that devices report calibrations with. Slugs are immutable and must satisfy the following constraints: * Contain only lowercase letters, digits, and hyphens (`-`) * Start and end with a lowercase letter or digit * Contain between 1 and 32 characters Examples: `kuka-arm`, `realsense-d435`, `robotiq-2f-85` **roles** `[] Role` The purpose a unit of the component fills on a device, such as its position on the robot or which side of the gripper it is on. A device with two arms might report them as `left` and `right`. Roles are optional, so a device with one arm, calibrated one way, reports only the component. Examples: `front-left`, `front-right`, `back-left`, `back-right` **aspects** `[] Aspect` The parts of a unit that are calibrated separately. A RealSense D435 might have the aspects `intrinsics` and `extrinsics`. Aspects are optional, so a device with one RealSense D435, calibrated one way, reports only the component. Examples: `intrinsics`, `extrinsics` ## Create a component Platform API (Platform API does not support this operation) Components, roles and aspects cannot be created directly. Instead, they are created when a device first [reports a calibration](/cfg-mgmt/report-calibrations) that uses them. # Config instances Source: https://docs.mirurobotics.com/cfg-mgmt/concepts/config-instances A **config instance**, also known as a **config** or an **instance**, is a set of parameters used to modify the behavior of code. Config instances are stored as text files (e.g. JSON, YAML, etc.) which applications parse into a structured format for consumption. ## Properties **content** `object` immutable (Property cannot be modified) The configuration values that are deployed to the device as a file, written in the config schema's instance format. **file path** `string` immutable (Property cannot be modified) The absolute file system path where the config instance is written on the device. > [tab] Linux > > * `/srv/miru/configs/safety.yaml` > * `/home/myapp/configs/communication.yaml` > [tab] Windows > > * `C:\ProgramData\Miru\configs\safety.yaml` > * `C:\ProgramData\MyApp\configs\communication.yaml` **slot key** `string` immutable (Property cannot be modified) The key of the [instance slot](/cfg-mgmt/concepts/schemas/annotations#instance-slots) on the config schema that this instance fills. Examples: `default`, `left-arm`, `right-arm` **config schema** `Config Schema` immutable (Property cannot be modified) The [config schema](/cfg-mgmt/concepts/schemas/overview#properties) that the config instance must adhere to. Example: `SCH-FmoDN` ## File formats The formats a config instance may use are determined by the schema language of its [config schema](/cfg-mgmt/concepts/schemas/overview). Config schemas support the following file formats: | Language | Schema Formats | Instance Formats | | - | - | - | | JSON Schema | JSON, YAML | JSON, YAML | | CUE | CUE | JSON, YAML | | Opaque | JSON, YAML | JSON, YAML, XML, CSV, Text | Note that a *schema's* format does not need to match the format of the *config instance* it validates. For example, a YAML-formatted JSON Schema can validate a JSON-formatted config instance. > [!NOTE] > > YAML support requires Miru Agent **v0.7.0** or newer ## View a config instance [Platform API](/references/platform-api/2026-11-04/endpoints/config-instances/get) (Open the Platform API reference for this operation) Config instances are viewed from the places they appear—a device's [config editor](/cfg-mgmt/deploy/config-editor), a release's [staging area](/cfg-mgmt/deploy/staging-area#view-a-deployment), or a device's [deployment history](/cfg-mgmt/audit/device-history#view-a-config-instance). To download a config instance's content as a file, use the [download config instance content endpoint »](/references/platform-api/2026-11-04/endpoints/config-instances/download-content) ## Create a config instance [Platform API](/references/platform-api/2026-11-04/endpoints/config-instances/create) (Open the Platform API reference for this operation) Config instances are created for you whenever configs are deployed from the dashboard, such as when [staging a deployment](/cfg-mgmt/deploy/staging-area#stage-a-deployment) or deploying from a device's [config editor](/cfg-mgmt/deploy/config-editor). # Config types Source: https://docs.mirurobotics.com/cfg-mgmt/concepts/config-types A **config type** is a named grouping of [config schemas](/cfg-mgmt/concepts/schemas/overview) and their [config instances](/cfg-mgmt/concepts/config-instances). Every config instance and config schema belongs to exactly one config type. Config types gives the configurations in your fleet records a stable, human-readable identity (`Mobility`, `Perception`) that survives across the schemas and instances that come and go beneath it. For example, a `Mobility` config type houses configs related to the robot's motion while a `Perception` config type houses configs related to the robot's perception. Each config type has its own versioned schema, which its config instances must adhere to depending on the release they are deployed under. ## Properties **name** `string` editable (Property can be directly modified) A human-readable display name that can contain most characters, such as spaces, special characters, and punctuation. Must contain between 1 and 48 characters. Examples: `Mobility`, `Safety Features`, `Perception` **slug** `string` immutable (Property cannot be modified) A unique, code-friendly identifier for a config type. Slugs are immutable and must satisfy the following constraints: * Contain only lowercase letters, digits, and hyphens (`-`) * Start and end with a lowercase letter or digit * Contain between 1 and 48 characters Slugs are primarily used in code to reference config types in a human-readable format. For instance, config schemas are annotated with a config type slug to associate them with their proper config type. Examples: `mobility`, `safety-features`, `perception` ## View a config type [Platform API](/references/platform-api/2026-11-04/endpoints/config-types/get) (Open the Platform API reference for this operation) To view your workspace's config types, navigate to the [Config Types page](https://app.mirurobotics.com/configs). ## Create a config type publisher (Members with the publisher role can execute this action.) [Platform API](/references/platform-api/2026-11-04/endpoints/config-types/create) (Open the Platform API reference for this operation) Navigate to the [Config Types page](https://app.mirurobotics.com/configs) and click **New Config Type** in the top right corner. ![Create Config Type Page](https://assets.mirurobotics.com/docs/v04/images/config-types/create-page.png) Fill in the fields, then click **Create**. ![Create Config Type Dialog](https://assets.mirurobotics.com/docs/v04/images/config-types/create-dialog.png) > [!WARNING] > > Config type slugs are immutable and cannot be modified after creation. ## Edit a config type publisher (Members with the publisher role can execute this action.) [Platform API](/references/platform-api/2026-11-04/endpoints/config-types/update) (Open the Platform API reference for this operation) Navigate to the [Config Types page](https://app.mirurobotics.com/configs), click the ellipses (...) on the config type you want to edit, and hit **Edit**. ![Config Type Ellipses Dropdown](https://assets.mirurobotics.com/docs/v04/images/config-types/ellipses-dropdown.png) Update the desired fields, then click **Save**. ![Edit Config Type Dialog](https://assets.mirurobotics.com/docs/v04/images/config-types/edit-dialog.png) ## Archive a config type publisher (Members with the publisher role can execute this action.) Platform API (Platform API does not support this operation) Archiving a config type retires it from future releases. While a config type is archived: * New [releases](/concepts/releases) cannot be created with it * New [schemas](/cfg-mgmt/concepts/schemas/manage) cannot be added to it Existing schemas, releases, and deployments that use the config type are not affected, and devices keep their current config instances. An archived config type can be [unarchived](#unarchive-a-config-type) at any time. To archive a config type, click the ellipses (...) on the config type and select **Archive**. ![Config Type Ellipses Dropdown](https://assets.mirurobotics.com/docs/v04/images/config-types/ellipses-dropdown.png) A dialog will appear. Hit **Archive** to confirm the archive. ![Archive Config Type Dialog](https://assets.mirurobotics.com/docs/v04/images/config-types/archive-dialog.png) ## Unarchive a config type Platform API (Platform API does not support this operation) Unarchiving removes the archive restrictions placed on it, allowing releases and schemas to be created with it again. To unarchive a config type, click the ellipses (...) on the archived config type and select **Unarchive**. ## Delete a config type admin (Workspace owners and administrators can execute this action.) Platform API (Platform API does not support this operation) Deleting a config type is irreversible. Once a config type is deleted, it cannot be recovered. Deleting a config type is only possible if there are no config instances for that config type. If a config type cannot be deleted, try [archiving](#archive-a-config-type) it instead. To delete a config type, click the ellipses of the config type you want to delete and select **Delete**. ![Config Type Ellipses Dropdown](https://assets.mirurobotics.com/docs/v04/images/config-types/ellipses-dropdown.png) A confirmation dialog will appear. Hit **Delete** to confirm the deletion. ![Delete Config Type Dialog](https://assets.mirurobotics.com/docs/v04/images/config-types/delete-dialog.png) # Annotations Source: https://docs.mirurobotics.com/cfg-mgmt/concepts/schemas/annotations Annotations are a convenient way to store metadata with your schemas. Most annotations are optional, but some are required for Miru to process the schemas correctly. **config type** *required* The config type is a required annotation that identifies the config type to which a schema belongs. Below is the syntax for annotating a schema with a [config type slug](/cfg-mgmt/concepts/config-types#param-slug). ```yaml JSON Schema theme={null} x-miru-config-type: "{config-type-slug}" ``` ```cue CUE theme={null} @miru(config_type="{config-type-slug}") ``` ```yaml Opaque theme={null} config_type: "{config-type-slug}" ``` If the provided config type slug does not yet exist, it is automatically created. To edit a config type after creation, visit the [config types documentation](/cfg-mgmt/concepts/config-types#edit-a-config-type). Examples: `mobility`, `communication`, `perception` **schema language** The schema language declares the language that a schema is written in. This annotation applies to [Opaque](/cfg-mgmt/concepts/schemas/languages/opaque) schemas only, and is required for them. JSON Schema and CUE schemas have no schema language annotation. Their language is inferred from the schema file itself, so a `.cue` file is read as CUE, and a `.json` or `.yaml` file is read as JSON Schema unless it declares itself opaque. ```yaml Opaque theme={null} language: "opaque" ``` Because an opaque schema is written as JSON or YAML — the same formats as a JSON Schema — this annotation is what distinguishes the two. **instance file path** The instance file path is the absolute file system path where config instances for this schema are written on the device. This annotation is optional and defaults to `/srv/miru/configs/{config-type-slug}.{instance-format}`. The default is a Linux path, so schemas for Windows devices must set an explicit path such as `C:\ProgramData\Miru\configs\mobility.json`. To share the same schema amongst multiple config instances, declare [instance slots](/cfg-mgmt/concepts/schemas/annotations#param-instance-slots) instead. > [tab] Linux > > ```yaml JSON Schema theme={null} > x-miru-instance-filepath: "/srv/miru/configs/mobility.json" > ``` > > ```cue CUE theme={null} > @miru(instance_filepath="/srv/miru/configs/mobility.json") > ``` > > ```yaml Opaque theme={null} > instance_filepath: "/srv/miru/configs/mobility.json" > ``` > > The Miru Agent ships with out-of-the-box access to `/srv/miru`. Any local account can read configs deployed to `/srv/miru`. > > > [!WARNING] > > > > To deploy configs to a custom directory, visit [File system access](/developers/agent/filesys-access/linux#configs). > > * `/srv/miru/configs/mobility.json` > * `/home/myapp/configs/communication.yaml` > [tab] Windows > > Quote Windows paths in single quotes in YAML, and escape each backslash as `\\` in CUE. > > ```yaml JSON Schema wrap theme={null} > x-miru-instance-filepath: 'C:\ProgramData\Miru\configs\mobility.json' > ``` > > ```cue CUE wrap theme={null} > @miru(instance_filepath="C:\\ProgramData\\Miru\\configs\\mobility.json") > ``` > > ```yaml Opaque theme={null} > instance_filepath: 'C:\ProgramData\Miru\configs\mobility.json' > ``` > > The Miru Agent ships with out-of-the-box access to `%ProgramData%\Miru\configs`. Only Local System, Administrators, the agent, and members of the local `Miru Agent Users` group can read configs deployed to `%ProgramData%\Miru\configs`. > > > [!WARNING] > > > > To deploy configs to a custom directory, visit [File system access](/developers/agent/filesys-access/windows#configs). > > * `C:\ProgramData\Miru\configs\mobility.json` > * `C:\ProgramData\MyApp\configs\communication.yaml` **instance slots** Instance slots define one or more config instances that are valid for a given schema. Instead of maintaining a near-identical config type for each destination, declare several slots to allow multiple config instances to share a single schema. > [!WARNING] > > A schema may declare an instance file path OR instance slots. Declaring both will error. This annotation is optional. Omitting it will either use the instance file path annotation, or create a single slot with default values. All slot file paths in a schema must target the same operating system: either all Linux paths or all Windows paths. The operating system is inferred from the file path. ```yaml JSON Schema theme={null} x-miru-instance-slots: - key: "left-arm" name: "Left Arm" filepath: "/srv/miru/configs/v1/left-arm.json" required: true description: "Config for the left arm controller" - key: "right-arm" name: "Right Arm" filepath: "/srv/miru/configs/v1/right-arm.json" required: false ``` ```cue CUE theme={null} @miru_instance_slot( key="left-arm", name="Left Arm", filepath="/srv/miru/configs/v1/left-arm.json", required=true, description="Config for the left arm controller", ) @miru_instance_slot( key="right-arm", name="Right Arm", filepath="/srv/miru/configs/v1/right-arm.json", required=false, ) ``` ```yaml Opaque theme={null} instance_slots: - key: "left-arm" name: "Left Arm" filepath: "/srv/miru/configs/v1/left-arm.json" required: true description: "Config for the left arm controller" - key: "right-arm" name: "Right Arm" filepath: "/srv/miru/configs/v1/right-arm.json" required: false ``` For more information about instance slots, visit the [Instance slots](/cfg-mgmt/concepts/schemas/annotations#instance-slots) section of the schemas documentation. **instance format** The instance format declares the format that config instances for this schema are deployed as on the device. Visit the [File formats](/cfg-mgmt/concepts/schemas/overview#file-formats) section of the schemas documentation to learn which formats are supported for each schema language. This annotation is optional and is inferred from the instance file path's extension. Under the default instance file path of `/srv/miru/configs/{config-type-slug}.json`, the instance format therefore defaults to `json`. ```yaml JSON Schema theme={null} x-miru-instance-format: "yaml" ``` ```cue CUE theme={null} @miru(instance_format="yaml") ``` ```yaml Opaque theme={null} instance_format: "xml" ``` Examples: `json`, `yaml`, `xml`, `csv`, `text` ## Instance slots An instance slot defines one or more valid config instances that are valid for a given schema. Instance slots are declared with the [instance slots](#param-instance-slots) annotation. ### Multiple slots Instance slots are primarily used to define a schema that serves multiple config instances with the same validation. ```yaml JSON Schema theme={null} x-miru-config-type: "Motor Controller" x-miru-instance-slots: - key: "motor-controller-1" name: "Motor Controller 1" filepath: "/srv/miru/configs/motor-controller-1.json" required: true - key: "motor-controller-2" name: "Motor Controller 2" filepath: "/srv/miru/configs/motor-controller-2.json" required: true - key: "motor-controller-3" name: "Motor Controller 3" filepath: "/srv/miru/configs/motor-controller-3.json" required: true [...schema content...] ``` ```cue CUE theme={null} @miru(config_type="Motor Controller") @miru_instance_slot( name="Motor Controller 1", key="motor-controller-1", filepath="/srv/miru/configs/motor-controller-1.json", required=true ) @miru_instance_slot( name="Motor Controller 2", key="motor-controller-2", filepath="/srv/miru/configs/motor-controller-2.json", required=true, ) @miru_instance_slot( name="Motor Controller 3", key="motor-controller-3", filepath="/srv/miru/configs/motor-controller-3.json", required=true, ) [...schema content...] ``` ```YAML Opaque theme={null} config_type: "Motor Controller" instance_slots: - key: "motor-controller-1" name: "Motor Controller 1" filepath: "/srv/miru/configs/motor-controller-1.json" required: true - key: "motor-controller-2" name: "Motor Controller 2" filepath: "/srv/miru/configs/motor-controller-2.json" required: true - key: "motor-controller-3" name: "Motor Controller 3" filepath: "/srv/miru/configs/motor-controller-3.json" required: true [...schema content...] ``` A schema with multiple slots allows multiple config instances to be written to different destinations. This structure allows a `motor-controller` schema to serve three identical motor controllers. All instance slots share the exact same validation. So two files that need different validation belong to two config types, not to two slots of one schema. ### Slot fields Each instance slot is defined by the following fields: **key** `string` *required* immutable (Property cannot be modified) An immutable, code-friendly identifier for the slot. Slot keys must be unique within a schema. Two slots cannot have the same key. Examples: `motor-controller-1`, `motor-controller-2`, `motor-controller-3` **name** `string` *required* immutable (Property cannot be modified) A human-readable display name for the slot. Examples: `Motor Controller 1`, `Motor Controller 2`, `Motor Controller 3` **filepath** `string` *required* immutable (Property cannot be modified) The absolute file system path where this slot's config instance is written on the device. Slot file paths must be unique within a schema. Two slots cannot have the same file path. All slot file paths in a schema must target the same operating system: either all Linux paths or all Windows paths. The operating system is inferred from the file path. > [tab] Linux > > * `/srv/miru/configs/motor-controller-1.json` > * `/srv/miru/configs/motor-controller-2.json` > [tab] Windows > > * `C:\ProgramData\Miru\configs\motor-controller-1.json` > * `C:\ProgramData\Miru\configs\motor-controller-2.json` **required** `boolean` *required* immutable (Property cannot be modified) Whether a deployment must include a config instance for this slot or not. If `true`, a deployment must include a config instance for this slot. If `false`, a deployment may optionally include a config instance for this slot. Examples: `true`, `false` **description** `string` immutable (Property cannot be modified) An optional explanation of what the slot is for. Examples: `The first motor controller`, `The second motor controller`, `The third motor controller` # CUE Source: https://docs.mirurobotics.com/cfg-mgmt/concepts/schemas/languages/cue [CUE](https://cuelang.org/) (Configure, Unify, Execute) is another well-regarded schema language, useful for defining valid fields, types, and values for a config. CUE was developed at Google by Marcel van Lohuizen, one of the original creators of Go. The original motivation stemmed from Google's internal struggles in managing complex, large-scale configurations for infrastructure and applications. JSON and YAML were too weak for expressing constraints, logic, or composition, so CUE set out to solve that. Instead of building and managing external tools to validate, patch, or generate configs, CUE itself is a fully programmable config engine. This means CUE wholly encapsulates the configuration data, the schema, and the logic (how to derive those config values). ## Example Below is an example CUE schema: ```cue CUE expandable theme={null} @miru(config_type="communication") control_loop_rate_hz: number & >=1 & <=1000 | *50 watchdog_timeout_ms: number & >=100 & <=5000 | *500 network: { max_latency_ms: number & >=10 & <=1000 | *100 connection_timeout_ms: number & >=100 & <=10000 | *2000 reconnect_attempts: number & >=1 & <=10 | *3 reconnect_interval_ms: number & >=100 & <=5000 | *1000 heartbeat_interval_ms: number & >=50 & <=1000 | *250 } logging: { enable_packet_logging: bool | *true log_level: "debug" | "info" | "warn" | "error" | *"info" max_log_size_mb: number & >=1 & <=1024 | *100 retain_logs_days: number & >=1 & <=90 | *30 } error_handling: { max_consecutive_failures: number & >=1 & <=20 | *5 failure_timeout_ms: number & >=100 & <=30000 | *5000 enable_auto_recovery: bool | *true } ``` Although many of CUE's capabilities are omitted in this example, you'll find some of the most commonly used features, including: * type specification - `number`, `string`, `bool`, etc. * numeric constraints- `>=`, `<=`, `==`, `!=`, `=~`, `!~`, etc. * default values - `| *value` * enumerations - `| "value1" | "value2" | "value3"` * intersection of constraints - `&` As you can see, CUE inlines constraints directly with type definitions, making schemas significantly more concise than JSON Schema. For more information on the supported features of CUE, check out the [CUE tour](https://cuelang.org/docs/tour/) on the official CUE website. ## CUE version Miru fully supports CUE and stays up to date with the latest CUE features and syntax. Currently, Miru uses CUE API [`v0.14.2`](https://github.com/cue-lang/cue/releases/tag/v0.14.2). ## File formats Unlike JSON Schema, CUE can only be written in the CUE file format and must have the `.cue` extension: * **CUE** (`.cue`) Similar to JSON Schema, CUE schemas can validate config instances in formats other than CUE. The following formats are supported: * **JSON** (`.json`) * **YAML** (`.yaml`, `.yml`) > [!NOTE] > > YAML support requires Miru Agent **v0.7.0** or newer ## CUE packages [CUE](/cfg-mgmt/concepts/schemas/languages/cue) supports the concept of a [package](https://cuelang.org/docs/tour/packages/packages/)—a way to spread a schema's definition across multiple files. For example, say we have a `communication` schema which contains the following files: **communication** **peripherals.cue** **network.cue** **sensors.cue** **main.cue** Each file defines a portion of the schema, which is then aggregated by the `main.cue` file to define the schema. Miru fully supports CUE packages, treating the `communication` directory as a single schema. **Identifying packages** The Miru CLI automatically identifies CUE packages for you when creating a release using the `package` clause at the top of each schema file (as described in the [CUE documentation](https://cuelang.org/docs/tour/packages/packages/)). You don't need to explicitly specify the package in the CLI command—just provide the path to the package directory or to the individual schema files within the package. **Annotations** To annotate a CUE package, annotate **exactly one file** in the package. Annotating multiple files or no files will result in an error. # JSON Schema Source: https://docs.mirurobotics.com/cfg-mgmt/concepts/schemas/languages/jsonschema [JSON Schema](https://json-schema.org/) is probably the most popular schema language. With origins dating back to 2010, JSON Schema was initially built for API validation. Since then, it has found its way into configuration systems across web, cloud, and robotics infrastructure. ## Example Below is an example JSON Schema to give you a flavor of what JSON Schema looks like: ```yaml JSON Schema expandable theme={null} $schema: "https://json-schema.org/draft/2020-12/schema" title: Communication Configuration Schema type: object required: - control_loop_rate_hz - watchdog_timeout_ms - network - logging - error_handling properties: control_loop_rate_hz: type: integer description: Control loop frequency in Hertz minimum: 1 maximum: 1000 default: 50 watchdog_timeout_ms: type: integer description: Watchdog timeout duration in milliseconds minimum: 100 maximum: 5000 default: 500 network: type: object required: - max_latency_ms - connection_timeout_ms - reconnect_attempts - reconnect_interval_ms - heartbeat_interval_ms properties: max_latency_ms: type: integer description: Maximum acceptable network latency in milliseconds minimum: 10 maximum: 1000 default: 100 connection_timeout_ms: type: integer description: Connection timeout duration in milliseconds minimum: 100 maximum: 10000 default: 2000 reconnect_attempts: type: integer description: Number of reconnection attempts minimum: 1 maximum: 10 default: 3 reconnect_interval_ms: type: integer description: Interval between reconnection attempts in milliseconds minimum: 100 maximum: 5000 default: 1000 heartbeat_interval_ms: type: integer description: Interval between heartbeat messages in milliseconds minimum: 50 maximum: 1000 default: 250 logging: type: object required: - enable_packet_logging - log_level - max_log_size_mb - retain_logs_days properties: enable_packet_logging: type: boolean description: Enable or disable packet logging default: true log_level: type: string description: Logging level enum: ["debug", "info", "warn", "error"] default: "info" max_log_size_mb: type: integer description: Maximum log file size in megabytes minimum: 1 maximum: 1024 default: 100 retain_logs_days: type: integer description: Number of days to retain log files minimum: 1 maximum: 90 default: 30 error_handling: type: object required: - max_consecutive_failures - failure_timeout_ms - enable_auto_recovery properties: max_consecutive_failures: type: integer description: Maximum number of consecutive failures allowed minimum: 1 maximum: 20 default: 5 failure_timeout_ms: type: integer description: Timeout duration for failure handling in milliseconds minimum: 100 maximum: 30000 default: 5000 enable_auto_recovery: type: boolean description: Enable or disable automatic recovery from failures default: true ``` Although many of JSON Schema's capabilities are omitted in this example, you'll find some of the most common keywords, including: * `$schema` - the JSON Schema draft version * `type` - the data type of a property * `required` - the property must exist * `properties` - the sub-fields of an object * `default` - the default value of a property * `description` - a human-readable description of a property * `enum` - a constrained list of values a property can take * `minimum` - the minimum value of a property * `maximum` - the maximum value of a property For a comprehensive list of JSON Schema keywords, visit the [official JSON Schema website](https://json-schema.org/understanding-json-schema/keywords). We also find the [official test suite](https://github.com/json-schema-org/JSON-Schema-Test-Suite/tree/main/tests/draft2020-12) highly useful, as it contains a large number of simple JSON Schema examples. ## Supported drafts While JSON Schema has multiple drafts, only [Draft 2020-12](https://json-schema.org/draft/2020-12), the most recent stable draft, is supported. When specifying the `$schema` keyword in a schema, it must be set to the following value: ```yaml theme={null} $schema: "https://json-schema.org/draft/2020-12/schema" ``` > [!NOTE] > > If the `$schema` keyword is omitted from a schema, the schema is automatically interpreted as Draft 2020-12. ## Custom vocabulary Miru extends JSON Schema's vocabulary with the following keywords. ### Doubles JSON Schema's `number` type accepts both `1` and `1.0`. Some applications care about the difference. For example, ROS 2 rejects `1` for a parameter declared as a double. To require a double, add the `x-miru-type: double` keyword: ```yaml JSON Schema highlight={4} theme={null} properties: gain: type: number x-miru-type: double ``` With this keyword, a number is valid only when it is written with a decimal point or an exponent, such as `1.0` or `1e3`. A value of `1` fails validation. The keyword checks only numbers, so keep `type: number` next to it. `double` is the only supported value of `x-miru-type`. ## File formats While JSON Schema was originally built for JSON data, it is not exclusive to JSON. JSON Schema may be uploaded to Miru in the following formats: * **JSON** (`.json`) * **YAML** (`.yaml`, `.yml`) The format of a schema does not need to match the format of the config instance it validates. For example, a YAML-formatted JSON Schema can validate a JSON-formatted config instance. JSON Schemas can validate config instances in the following formats: * **JSON** (`.json`) * **YAML** (`.yaml`, `.yml`) > [!NOTE] > > YAML support requires Miru Agent **v0.7.0** or newer # Opaque Source: https://docs.mirurobotics.com/cfg-mgmt/concepts/schemas/languages/opaque An opaque schema is a metadata-only schema that regards all config instances as valid. Opaque schemas are useful for config formats which do not have a supported schema language. At the time of writing, this includes: * XML configuration files * CSV configuration files * Plain text configuration files (`.conf`, `.txt`, etc.) ## Example Below are examples of opaque schemas: ```yaml XML theme={null} language: opaque config_type: motion-control instance_filepath: /srv/miru/configs/motion-control.xml instance_format: xml ``` ```yaml CSV theme={null} language: opaque config_type: motion-control instance_filepath: /srv/miru/configs/motion-control.csv instance_format: csv ``` ```yaml Plain Text theme={null} language: opaque config_type: motion-control instance_filepath: /srv/miru/configs/motion-control.conf instance_format: text ``` Consult the [schema annotations](/cfg-mgmt/concepts/schemas/annotations) documentation to learn more about what the individual fields mean and how to use them. ## File formats Opaque schemas themselves are written as JSON or YAML. Unlike the other languages, CUE is not accepted here: * **JSON** (`.json`) * **YAML** (`.yaml`, `.yml`) Opaque schemas accept the widest set of config instance formats of any Miru schema language: * **JSON** * **YAML** * **XML** * **CSV** * **Text** > [!NOTE] > > YAML support requires Miru Agent **v0.7.0** or newer # Overview Source: https://docs.mirurobotics.com/cfg-mgmt/concepts/schemas/languages/overview A schema language is a formal language for describing the structure, constraints, and data types of a configuration. Config schemas are defined in a supported schema language to validate config instances before deployment. Currently, the following languages are supported: * [JSON Schema](/cfg-mgmt/concepts/schemas/languages/jsonschema) (draft 2020-12) * [CUE](/cfg-mgmt/concepts/schemas/languages/cue) * [Opaque](/cfg-mgmt/concepts/schemas/languages/opaque) (metadata-only schemas that regard all config instances as valid) The following sections cover key integration points for each language. To learn more about the strengths and weaknesses of each language, check out our [blog post](https://www.mirurobotics.com/blog/config-wars-chapter-1-intro-to-schemas) comparing JSON Schema, CUE, and Protocol Buffers. # Manage schemas Source: https://docs.mirurobotics.com/cfg-mgmt/concepts/schemas/manage ## Create a schema publisher (Members with the publisher role can execute this action.) [Platform API](/references/platform-api/2026-11-04/endpoints/config-schemas/create) (Open the Platform API reference for this operation) Schemas must be created as part of a release. Visit the [define releases](/cfg-mgmt/create-a-release) page to learn how to create a release along with its schemas. ## View a schema [Platform API](/references/platform-api/2026-11-04/endpoints/config-schemas/get) (Open the Platform API reference for this operation) To view a schema in Miru, navigate to the [Releases page](https://app.mirurobotics.com/releases), and click into the release that contains the schema you want to view. ![Releases Page](https://assets.mirurobotics.com/docs/v04/images/releases/page.png) At the bottom of the page under the **Overview** tab, you will find a list of the release's schemas. ![Release Config Schemas List](https://assets.mirurobotics.com/docs/v04/images/releases/schema-list.png) Click into a schema to open its details, which contains the following tabs: * **Content**: the schema's uploaded file contents * **Metadata**: the schema's metadata and commit history > [tab] Content > > ![Config Schema Content Panel](https://assets.mirurobotics.com/docs/v04/images/config-schemas/panel-content.png) > [tab] Metadata > > ![Config Schema Metadata Panel](https://assets.mirurobotics.com/docs/v04/images/config-schemas/panel-metadata.png) # Overview Source: https://docs.mirurobotics.com/cfg-mgmt/concepts/schemas/overview A **config schema** defines the structure, types, and constraints of a config instance. It serves as a contract between code and configuration, ensuring that config instances are valid before being deployed to devices. ## Properties **language** `string` immutable (Property cannot be modified) The [schema language](/cfg-mgmt/concepts/schemas/languages/overview) used to define the schema. Allowed values: * `jsonschema` * `cue` * `opaque` **format** `enum` immutable (Property cannot be modified) The file format used to define the schema. Config schemas support the following file formats: | Language | Schema Formats | Instance Formats | | - | - | - | | JSON Schema | JSON, YAML | JSON, YAML | | CUE | CUE | JSON, YAML | | Opaque | JSON, YAML | JSON, YAML, XML, CSV, Text | Note that a *schema's* format does not need to match the format of the *config instance* it validates. For example, a YAML-formatted JSON Schema can validate a JSON-formatted config instance. Allowed values: * `cue` * `json` * `yaml` **content** `string` immutable (Property cannot be modified) The raw schema definition, written in the specified schema language. The exact contents of a schema file is preserved in Miru, including any comments, whitespace, and formatting. **digest** `string` immutable (Property cannot be modified) A hash of the canonicalized schema content. Digests are computed by converting schemas to a canonical format—a format that ignores whitespace, comments, and other non-semantic differences—and then hashing the result. This is useful for comparing schemas and detecting duplicates. Examples: `sha256:45YeoJJ2btBnAKQztAEXEjHsqyyQfC1z1Mw3LLM4xMUy` **instance slots** `InstanceSlot[]` immutable (Property cannot be modified) The valid file system destinations that config instances for this schema are written to. Typically a schema defines only a single required slot. However, schemas may define several instance slots when the same validation applies to several different config instances in a release. See [Instance slots](/cfg-mgmt/concepts/schemas/annotations#instance-slots) for fields, constraints, and default behavior. **instance format** `string` immutable (Property cannot be modified) The file format that config instances (for this schema) are deployed as on the device. Consult the [file formats](/cfg-mgmt/concepts/schemas/overview#file-formats) section below for the supported formats for each schema language. Examples: `json`, `yaml`, `xml`, `csv`, `text` **config type** `Config Type` immutable (Property cannot be modified) The [config type](/cfg-mgmt/concepts/config-types#properties) to which the schema belongs. Examples: `Mobility`, `Safety Features`, `Perception` ## Schema languages Config schemas are defined using a schema language—a formal language for describing the structure, constraints, and data types of a configuration. Miru supports: * [JSON Schema](https://json-schema.org/draft/2020-12) (draft 2020-12) * [CUE](https://cuelang.org/) * [Opaque](/cfg-mgmt/concepts/schemas/languages/opaque) (metadata-only schemas that regard all config instances as valid) For more information on schema languages, visit the [languages](/cfg-mgmt/concepts/schemas/languages/overview) section of this guide. ## File formats Config schemas support the following file formats: | Language | Schema Formats | Instance Formats | | - | - | - | | JSON Schema | JSON, YAML | JSON, YAML | | CUE | CUE | JSON, YAML | | Opaque | JSON, YAML | JSON, YAML, XML, CSV, Text | Note that a *schema's* format does not need to match the format of the *config instance* it validates. For example, a YAML-formatted JSON Schema can validate a JSON-formatted config instance. ## Schema annotations Annotations are a convenient way to store metadata with your schemas, such as the schema's config type and where its config instances are written on the device. Most annotations are optional, but some are required for Miru to process the schemas correctly. For the full list of annotations and their syntax in each schema language, visit the [annotations](/cfg-mgmt/concepts/schemas/annotations) section of this guide. ## Immutability Config schemas are **immutable**. A schema is created once as part of a release and never edited in place. To change what a config type accepts, you must create a new schema, release it, and deploy it to your devices. ## Git provenance Schemas are defined as files in your Git repository and created by [releasing them via the CLI](/cfg-mgmt/create-a-release). Each schema records the Git commits it was released from — the commit itself and the schema file's paths relative to the repository root — so any schema in Miru can be traced back to the exact lines that defined it. # Validation Source: https://docs.mirurobotics.com/cfg-mgmt/concepts/schemas/validation The primary purpose of schemas is to validate config instances. ## Example Let's look at a simple example to see this in action. The following is a toy schema written in JSON Schema. ```yaml JSON Schema expandable highlight={10,13} theme={null} $schema: "https://json-schema.org/draft/2020-12/schema" title: Mobility type: object properties: max_linear_speed_mps: type: number minimum: 0.1 maximum: 5.0 default: 1.2 max_angular_speed_radps: type: number minimum: 0.1 maximum: 3.0 default: 1.0 obstacle_avoidance_enabled: type: boolean default: true navigation_mode: type: string enum: [conservative, balanced, aggressive] default: balanced telemetry: type: object properties: upload_interval_sec: type: integer minimum: 10 maximum: 300 default: 60 heartbeat_interval_sec: type: integer minimum: 1 maximum: 60 default: 10 required: - upload_interval_sec - heartbeat_interval_sec required: - max_linear_speed_mps - max_angular_speed_radps - obstacle_avoidance_enabled - navigation_mode - telemetry ``` The schema defines what constitutes a valid config instance in several different ways: * Names the available properties * Organizes the configuration structure, placing some properties at the root while nesting other properties into logical groups * Gives each property a type, such as `number`, `boolean`, etc. * Constrains the values of each property—minimums, maximums, enumerations, etc. * Supplies default values to properties where appropriate Most of these constraints are optional, and many features of JSON Schema are omitted here, but this gives you a flavor of what schemas are capable of. Say we set `max_angular_speed_radps` to `5.6` in the [config editor](/cfg-mgmt/deploy/config-editor#validation). ![Invalid Mobility Edit](https://assets.mirurobotics.com/docs/v04/images/editor/validation/invalid-edit.png) The value exceeds the schema's maximum of 3.0, so the editor underlines it and lists it under **Errors**. Hover over the underline to see why. **Deploy** stays disabled until it's fixed. Although simple in concept, schemas are a powerful tool for preventing typos, misconfigurations, and other preventable errors. ## Empty schemas While schemas provide significant value in production deployments, defining one from scratch can be a considerable undertaking. Many teams find it best to begin with an empty schema—one that accepts any configuration—and gradually add constraints. This approach allows you to define the most highly valued constraints first and progressively transition to stricter and stricter schemas as needed. Below are the empty schemas for JSON Schema and CUE, respectively. ```yaml JSON Schema theme={null} $schema: "https://json-schema.org/draft/2020-12/schema" ``` ```cue CUE theme={null} {} ``` # Create a release Source: https://docs.mirurobotics.com/cfg-mgmt/create-a-release The only way to create releases is via the command line. The dashboard only supports [duplicating releases](/concepts/releases#duplicate-a-release). Creating releases from the CLI is a deliberate design choice—we believe a release's definition should be versioned in a Git repository. The CLI promotes this practice, simplifying the release process and encouraging better software development habits. ### Continuous integration The CLI can be used to programmatically create releases in a [CI pipeline](/developers/ci/overview), ensuring releases are automatically created when code is pushed to a Git repository. Visit the [CI/CD](/developers/ci/overview) page for more information. ## Prerequisites To create a release, the following prerequisites must be met: 1. CLI installed - [install](/developers/cli/install) the Miru CLI on your development machine and [authenticate](/developers/cli/authentication) the CLI 2. Local Git repository - the release's definitions must be committed to a local Git repository ## Config schemas [Config schemas](/cfg-mgmt/concepts/schemas/overview) aren't created separately from releases. Instead, the CLI creates the schemas in the same command as the release itself. Releases may contain any number of schemas, but they must contain at least one. Schemas may belong to multiple releases and are identified by hashing their content. Schemas with equivalent content are considered identical (even if comments, spacing, or other formatting is different). ### Define the schemas Schemas must be defined in a supported schema [language](/cfg-mgmt/concepts/schemas/languages/overview). You can find example schemas in our [getting-started repository](https://github.com/mirurobotics/getting-started). If you're not sure which language to use, we recommend starting with JSON Schema — it's the most widely used and easiest to get started with. If you don't currently use a schema, we recommend starting with an empty schema, one that regards all config instances as valid. Over time, you can gradually add constraints to make it more strict. ```yaml JSON Schema theme={null} $schema: "https://json-schema.org/draft/2020-12/schema" x-miru-config-type: "{your-config-type-slug}" ``` ```cue CUE theme={null} @miru(config_type="{your-config-type-slug}") ``` > [!TIP] > > Miru supports CUE packages as a way to split a schema's definition into multiple files. Read more in the [CUE documentation](/cfg-mgmt/concepts/schemas/languages/cue#cue-packages). ### Schema annotations Schemas support annotations—Miru-specific extensions that define metadata about a schema. The `config type` annotation is the only required annotation—it's how Miru knows which config type the schema belongs to. However, there are other useful annotations, such as the `instance file path` annotation, which defines where config instances for this schema are written to disk on your devices, and the `instance slots` annotation, which lets one schema write several files by declaring a destination for each. **config type** *required* The config type is a required annotation that identifies the config type to which a schema belongs. Below is the syntax for annotating a schema with a [config type slug](/cfg-mgmt/concepts/config-types#param-slug). ```yaml JSON Schema theme={null} x-miru-config-type: "{config-type-slug}" ``` ```cue CUE theme={null} @miru(config_type="{config-type-slug}") ``` ```yaml Opaque theme={null} config_type: "{config-type-slug}" ``` If the provided config type slug does not yet exist, it is automatically created. To edit a config type after creation, visit the [config types documentation](/cfg-mgmt/concepts/config-types#edit-a-config-type). Examples: `mobility`, `communication`, `perception` **schema language** The schema language declares the language that a schema is written in. This annotation applies to [Opaque](/cfg-mgmt/concepts/schemas/languages/opaque) schemas only, and is required for them. JSON Schema and CUE schemas have no schema language annotation. Their language is inferred from the schema file itself, so a `.cue` file is read as CUE, and a `.json` or `.yaml` file is read as JSON Schema unless it declares itself opaque. ```yaml Opaque theme={null} language: "opaque" ``` Because an opaque schema is written as JSON or YAML — the same formats as a JSON Schema — this annotation is what distinguishes the two. **instance file path** The instance file path is the absolute file system path where config instances for this schema are written on the device. This annotation is optional and defaults to `/srv/miru/configs/{config-type-slug}.{instance-format}`. The default is a Linux path, so schemas for Windows devices must set an explicit path such as `C:\ProgramData\Miru\configs\mobility.json`. To share the same schema amongst multiple config instances, declare [instance slots](/cfg-mgmt/concepts/schemas/annotations#param-instance-slots) instead. > [tab] Linux > > ```yaml JSON Schema theme={null} > x-miru-instance-filepath: "/srv/miru/configs/mobility.json" > ``` > > ```cue CUE theme={null} > @miru(instance_filepath="/srv/miru/configs/mobility.json") > ``` > > ```yaml Opaque theme={null} > instance_filepath: "/srv/miru/configs/mobility.json" > ``` > > The Miru Agent ships with out-of-the-box access to `/srv/miru`. Any local account can read configs deployed to `/srv/miru`. > > > [!WARNING] > > > > To deploy configs to a custom directory, visit [File system access](/developers/agent/filesys-access/linux#configs). > > * `/srv/miru/configs/mobility.json` > * `/home/myapp/configs/communication.yaml` > [tab] Windows > > Quote Windows paths in single quotes in YAML, and escape each backslash as `\\` in CUE. > > ```yaml JSON Schema wrap theme={null} > x-miru-instance-filepath: 'C:\ProgramData\Miru\configs\mobility.json' > ``` > > ```cue CUE wrap theme={null} > @miru(instance_filepath="C:\\ProgramData\\Miru\\configs\\mobility.json") > ``` > > ```yaml Opaque theme={null} > instance_filepath: 'C:\ProgramData\Miru\configs\mobility.json' > ``` > > The Miru Agent ships with out-of-the-box access to `%ProgramData%\Miru\configs`. Only Local System, Administrators, the agent, and members of the local `Miru Agent Users` group can read configs deployed to `%ProgramData%\Miru\configs`. > > > [!WARNING] > > > > To deploy configs to a custom directory, visit [File system access](/developers/agent/filesys-access/windows#configs). > > * `C:\ProgramData\Miru\configs\mobility.json` > * `C:\ProgramData\MyApp\configs\communication.yaml` **instance slots** Instance slots define one or more config instances that are valid for a given schema. Instead of maintaining a near-identical config type for each destination, declare several slots to allow multiple config instances to share a single schema. > [!WARNING] > > A schema may declare an instance file path OR instance slots. Declaring both will error. This annotation is optional. Omitting it will either use the instance file path annotation, or create a single slot with default values. All slot file paths in a schema must target the same operating system: either all Linux paths or all Windows paths. The operating system is inferred from the file path. ```yaml JSON Schema theme={null} x-miru-instance-slots: - key: "left-arm" name: "Left Arm" filepath: "/srv/miru/configs/v1/left-arm.json" required: true description: "Config for the left arm controller" - key: "right-arm" name: "Right Arm" filepath: "/srv/miru/configs/v1/right-arm.json" required: false ``` ```cue CUE theme={null} @miru_instance_slot( key="left-arm", name="Left Arm", filepath="/srv/miru/configs/v1/left-arm.json", required=true, description="Config for the left arm controller", ) @miru_instance_slot( key="right-arm", name="Right Arm", filepath="/srv/miru/configs/v1/right-arm.json", required=false, ) ``` ```yaml Opaque theme={null} instance_slots: - key: "left-arm" name: "Left Arm" filepath: "/srv/miru/configs/v1/left-arm.json" required: true description: "Config for the left arm controller" - key: "right-arm" name: "Right Arm" filepath: "/srv/miru/configs/v1/right-arm.json" required: false ``` For more information about instance slots, visit the [Instance slots](/cfg-mgmt/concepts/schemas/annotations#instance-slots) section of the schemas documentation. **instance format** The instance format declares the format that config instances for this schema are deployed as on the device. Visit the [File formats](/cfg-mgmt/concepts/schemas/overview#file-formats) section of the schemas documentation to learn which formats are supported for each schema language. This annotation is optional and is inferred from the instance file path's extension. Under the default instance file path of `/srv/miru/configs/{config-type-slug}.json`, the instance format therefore defaults to `json`. ```yaml JSON Schema theme={null} x-miru-instance-format: "yaml" ``` ```cue CUE theme={null} @miru(instance_format="yaml") ``` ```yaml Opaque theme={null} instance_format: "xml" ``` Examples: `json`, `yaml`, `xml`, `csv`, `text` ## Git commit [Platform API](/references/platform-api/2026-11-04/endpoints/git-commits/create) (Open the Platform API reference for this operation) When creating a release, the CLI captures the following Git metadata from the *local* Git repository where the CLI is run: | Metadata | Description | | - | - | | **Commit SHA** | The SHA of the current commit | | **Origin URL** | The remote URL of the Git repository | | **File paths** | The file paths of the schemas relative to the repository root | This metadata is then made available in the dashboard for the release, allowing you to easily trace the release's origin. ### Supported Git providers The following Git providers are currently supported: * GitHub * GitLab * Bitbucket If your Git repository is hosted on a different provider, please reach out to [support@mirurobotics.com](mailto:support@mirurobotics.com). ### Requirements To be able to capture Git metadata, the provided config schemas must meet the following requirements when creating a release via the CLI: * Must be defined in a local Git repository * The Git repository must have a remote URL (e.g., GitHub, GitLab, Bitbucket). * The schemas' latest changes must be committed to the Git repository before pushing to Miru (cannot be dirty or unstaged) Git metadata is not optional. If a schema does not meet these requirements, the CLI will return an error and fail to create the release. ## CLI command Once you've defined the schemas and committed them to Git, you're ready to create a release. ### Usage You must specify two flags when creating a release: the version and the schemas. Schemas can be specified as a directory or as individual files. > [tab] Schema Directory > > Use the `--schemas` flag to specify a directory containing the schemas to include in the release. > > ```bash highlight={3} theme={null} > miru release create \ > --version {version} \ > --schemas {/path/to/schemas/directory/} > ``` > [tab] Schema Files > > Use the `--schema` flag to specify schema files to include in the release. > > ```bash highlight={3-4} theme={null} > miru release create \ > --version {version} \ > --schema {path/to/schema1.yaml} \ > --schema {path/to/schema2.yaml} > ``` > [tab] File Rules > > Use the `--file-rule` flag to include [file rule](/data-uploads/define-file-rules) files in the release, or `--file-rules` for a directory of rule files. File rules ride along with the release's config schemas. > > ```bash highlight={4-5} theme={null} > miru release create \ > --version {version} \ > --schemas {/path/to/schemas/directory/} \ > --file-rule {path/to/rule1.yaml} \ > --file-rules {/path/to/file/rules/directory/} > ``` ### Flags Below are the CLI flags which can be specified when creating a release. **--version, -v** `string` *required* A [semantic version](https://semver.org/), unique for a given release. Versions must be dot-separated integers. You may optionally use a `v` prefix, a prerelease suffix (e.g. `-alpha.X`, `-beta.X`, `-rc.X`), or a build suffix (e.g. `+build-metadata`). Examples: `v1`, `1`, `v2.1`, `2.1`, `v3.2.1`, `3.2.1`, `v4.3.2-beta.1`, `4.3.2-rc.1`, `v5.4.3+metadata`, `6.5.4-beta.2+metadata` **--schemas** `string` A directory containing the config schemas to include in the release. May be specified multiple times for multiple directories. Must be specified if no schema files are provided. Examples: `./schemas` **--schema** `string` The path to a config schema to include in the release. May be specified multiple times to include multiple schemas. Must be specified if no schema directory is provided. Examples: `./schemas/schema1.yaml`, `./schemas/schema2.yaml` **--file-rules** `string` A directory containing [file rule](/data-uploads/concepts/file-rules/rule-definition) YAML files to include in the release. May be specified multiple times for multiple directories. Only YAML files in the directory are picked up. Examples: `./file-rules/` **--file-rule** `string` The path to a [file rule](/data-uploads/concepts/file-rules/rule-definition) YAML file to include in the release. May be specified multiple times to include multiple rules. Examples: `./file-rules/robot-logs.yaml` ### Examples Below are some examples of what the CLI command might look like when creating a release. > [tab] New schemas > > If the provided git commit and schemas do not exist in Miru, they are created and attached to the new release. This is indicated by the `(new)` suffix in the output. > > ```bash highlight={7,11-13} nocopy theme={null} > $ miru release create \ > --version v1.0.0 \ > --schemas ./cue/strict-schemas/ > > ◐ Creating release v1.0.0 > > ✓ Pushed git commit (new) > 1c7f7a8 · mirurobotics/getting-started > > ◐ Pushing schemas > ✓ Mobility · SCH-D5nFP (new) > ✓ Planning · SCH-37QAr (new) > ✓ Communication · SCH-9WfCx (new) > > ✓ Created release v1.0.0 > ``` > [tab] Existing schemas > > If the provided git commit and schemas already exist in Miru, they are attached to the new release. This is indicated by the `(existed)` suffix in the output. > > ```bash highlight={7,11-13} nocopy theme={null} > $ miru release create \ > --version v1.0.0 \ > --schemas ./cue/strict-schemas/ > > ◐ Creating release v1.0.0 > > ✓ Pushed git commit (existed) > 1c7f7a8 · mirurobotics/getting-started > > ◐ Pushing schemas > ✓ Mobility · SCH-D5nFP (existed) > ✓ Planning · SCH-37QAr (existed) > ✓ Communication · SCH-9WfCx (existed) > > ✓ Created release v1.0.0 > ``` # Config editor Source: https://docs.mirurobotics.com/cfg-mgmt/deploy/config-editor The config editor is the primary way to view and edit a device's configuration files. To edit a device's configurations, you must hold the operator (Members with the operator role can execute this action.) role. Open the editor by clicking into a device from the [Devices page](https://app.mirurobotics.com/devices) and selecting the **Editor** tab at the top. ## Layout The editor has three resizable panels: * **Config panel:** the device's config files. Each file shows how many changes it has, or its errors in red. * **Code editor:** the open files, as tabs. Hover over a tab and click the x **(×)** to close it. * **Draft and History:** your pending changes and past deployments, described below. *** ## Draft When the **Draft** tab is selected, the editor enters edit mode. You can modify any configuration file directly in the editor. Changes are tracked locally until you deploy them. A draft is automatically created when you open the editor. If the device has existing deployments, the draft is based on the most recent one. If this is a new device with no deployments, the draft is initialized from the release's default configuration. ### Change list The **Draft** panel lists your pending changes: * **Errors:** syntax and schema errors, described in [Validation](#validation). Click one to jump to it. * **Changes:** each value you added, modified, or deleted, with its old and new values. Click a change to jump to it, or hover over it and click the undo icon to discard it. * **Removed:** [slots](#instance-slots) you removed from the draft. The icons next to **Changes** hide the old and new values and discard every change. ![Change list](https://assets.mirurobotics.com/docs/v04/images/editor/change-list.png) ### Instance slots A config type with several [instance slots](/cfg-mgmt/concepts/schemas/annotations#instance-slots) shows as a folder in the config panel, with one file per slot. A device's first draft includes only its required slots. To add an optional slot, hover over the folder, click the plus **(+)**, and pick the slot. ![Add a slot](https://assets.mirurobotics.com/docs/v04/images/editor/add-slot-menu.png) To remove one, right-click its file and hit **Remove file**; hit **Restore file** to bring it back. Removed slots are listed under **Removed** and aren't deployed. ### Validation As you type, Miru checks each file's syntax and validates JSON and YAML files against their [schema](/cfg-mgmt/concepts/schemas/validation). Errors are underlined in the file and listed under **Errors**. ### Deploying changes Click the **Deploy** button to start the deployment process. ![Deploy Dialog](https://assets.mirurobotics.com/docs/v04/images/devices/editor/deploy-dialog.png) **1. Review the summary** See the summary of changes for each file. **2. Add a description** Enter a description for the deployment. This field is required. **3. Confirm the device name** Type the device name exactly as shown to confirm the deployment. **4. Deploy** Click **Deploy** to push the changes. After a successful deployment, the editor automatically switches to the History tab and selects the new deployment. > [!NOTE] > > **Deploy** stays disabled while a file has errors, when there are no changes, when > every config is removed, or when the device is offline (unless > [offline deployments](#editor-settings) are allowed). Hover over the **Deploy** > button to see why. *** ## History When the **History** tab is selected, the editor switches to read-only mode and displays past deployments. ### Deployment list The **History** tab lists all deployments grouped by release version. Within each group, deployments are listed from most recent to oldest with each entry showing: * Description * Deployment status and ID * Who created it and when Click a deployment to view it's contents. The selected deployment is called the **head** deployment, and its configuration files are loaded into the editor. The head deployment is highlighted with a solid left border and a subtle background. When a base deployment is selected for diffing, it is indicated with a dashed left border. ![History List](https://assets.mirurobotics.com/docs/v04/images/devices/editor/history-list.png) **Right-click** a deployment to open a context menu with options to: * **Redeploy** — Restore an archived deployment (see [Redeploy](#redeploy)). * **Set as diff base** — Use this deployment as the comparison baseline. * **Copy short ID**, **Copy full ID**, or **Copy description**. ![Context Menu](https://assets.mirurobotics.com/docs/v04/images/devices/editor/history-context-menu.png) ### Diff and read-only modes In the History tab, the editor supports two view modes: * **Read-only** — Displays the head deployment's files without any diff highlighting. * **Diff** — Highlights the differences between the head and base deployments using color-coded decorations: * **Green** — Added lines. * **Yellow** — Modified lines, showing the old and new values. * **Red** — Deleted lines, showing the removed content. content. ![View Modes](https://assets.mirurobotics.com/docs/v04/images/devices/editor/view-modes.png) ### Diff navigation When viewing a diff, navigation controls appear as a floating overlay above the footer: * **Change navigation** — Step through individual changes within the current file using the previous/next buttons. A position label (e.g., "1 of 3") tracks your place. Open the changes dropdown to see all changes listed by type and JSON path, and jump to any one directly. * **File navigation** — When multiple files contain changes, use the file navigation controls to jump between them. A label (e.g., "1 of 3 files") shows your position. The currently focused change is highlighted with a flash animation. ![Diff Navigation](https://assets.mirurobotics.com/docs/v04/images/devices/editor/diff-navigation.png) ### Base vs. Head The diff view compares two deployments: * **Base** — The older deployment used as the comparison starting point. Defaults to the deployment immediately before the head. You can change it using the diff selector in the toolbar or by right-clicking a deployment and selecting "Set as diff base." Only deployments older than the head are available as a base. * **Head** — The currently selected deployment. Shown as a read-only label in the diff selector. ![Base vs. Head](https://assets.mirurobotics.com/docs/v04/images/devices/editor/base-head.png) ### Redeploy You can redeploy the configurations from any archived deployment. Right-click the deployment in the history list and select **Redeploy** to open the redeploy dialog. The redeploy dialog shows: * A card with the original deployment's details (description, status, ID, creator, and date). * A description field (pre-filled with a reference to the original deployment). ![Redeploy Dialog](https://assets.mirurobotics.com/docs/v04/images/devices/editor/redeploy.png) *** ## Deployment alert If another user (or system) deploys to the same device while you have the editor open, a **New deployment detected** alert appears with the new deployment's details. The only option is **Acknowledge**, which loads the new deployment into the editor. If you have unsaved edits, acknowledging discards them. ![Deployment Alert](https://assets.mirurobotics.com/docs/v04/images/devices/editor/depl-alert.png) *** ## Editor settings Three **admin-only** workspace settings control how the editor behaves. ![Editor Settings](https://assets.mirurobotics.com/docs/v04/images/devices/editor/settings.png) * **Allow offline deployments** (off by default) — Allow deployments to devices that are currently offline. When off, the Deploy button is disabled on offline devices. * **Skip deploy confirmation** (off by default) — Remove the device-name confirmation step from the [deploy dialog](#deploying-changes). When off, you must type the device name to confirm each deployment. * **Format files on deploy** (on by default) — Automatically format config files before each deployment. Formatting fires when the deploy dialog opens. With this setting off, you can still format any open file manually from the editor's overflow menu (**⋯**) — click **Format file** or press **⌘⇧F** (Mac) / **Ctrl+Shift+F** (Windows/Linux). ![Format action](https://assets.mirurobotics.com/docs/v04/images/devices/editor/format-action.png) # Initial deployment Source: https://docs.mirurobotics.com/cfg-mgmt/deploy/initial-deployment This guide walks through making your first deployment to a new device — from selecting the device on the Devices page to deploying its initial configuration. To deploy configurations to a device, you must hold the operator (Members with the operator role can execute this action.) role. ## Select a device To create a device's initial deployment, navigate to the [Devices page](https://app.mirurobotics.com/devices). ![Initial Deployment Devices Page](https://assets.mirurobotics.com/docs/v04/images/editor/init/devices-page.png) Only devices that have been [provisioned](/provision-devices/overview), but never deployed to, are candidates for an initial deployment. Click the device you want to initialize. ## Set the release The editor opens with the **Set Release** dialog. Choose the release for the device's first deployment and click **Select**. If the dialog doesn't appear, click **Select a release** in the editor. > [!NOTE] > > If no releases are shown, you will need to > [create a release](/cfg-mgmt/create-a-release) before > continuing. ## Edit configs Once the release is set, the editor opens in **draft mode**. Since this is the first deployment, it automatically fills with default values from your release's config schemas. ![First Draft](https://assets.mirurobotics.com/docs/v04/images/editor/init/first-draft.png) > [!NOTE] > > For a detailed overview of the editor interface see the > [config editor](/cfg-mgmt/deploy/config-editor) page. ## Deploy Once you're satisfied with the configuration, click **Deploy** to open the deploy dialog. **1. Review changes** For a first deployment, every file is listed as added. **2. Add a description** For example, `init: baseline lidar, urdf, mobility and perception configs`. **3. Confirm the device name** Skipped when [Skip deploy confirmation](/cfg-mgmt/deploy/config-editor#editor-settings) is on. **4. Deploy** The deployment is [queued](/concepts/deployments/status#activity-status) until the device is online to receive it. After a successful deployment, the editor switches to the **History** tab and displays the new deployment. The deployment status will turn green, indicating that the device has received the configurations. ![Initial Deployment History](https://assets.mirurobotics.com/docs/v04/images/editor/init/history.png) ## Summary | Step | What happens | | - | - | | **Select device** | Click a device on the Devices page to open the editor. | | **Set release** | Choose a release version to define the device's config schema. | | **Edit configs** | Modify the default configuration values in the editor. | | **Deploy** | Queue the configurations for deployment. | # Staging area Source: https://docs.mirurobotics.com/cfg-mgmt/deploy/staging-area ## Overview The staging area for a release is where deployments are created in preparation for a future rollout. The staging area only contains staged deployments. Currently deployed and previously deployed deployments are not accessible in the staging area. Deployments in the staging area can be created freely *before* being deployed to devices, making it an ideal place to prepare and review them before rolling them out. Each release has its own staging area, entirely separate from other releases' staging areas. This separation allows deployments to be staged for multiple releases simultaneously. The staging area is also handy for batch operations. Deployments can be created, deployed, and archived in bulk, which helps manage large numbers of deployments at once. ## View the staging area To view a release's staging area, navigate to the [Releases page](https://app.mirurobotics.com/releases) and click into a release. ![Releases Page](https://assets.mirurobotics.com/docs/v04/images/releases/page.png) Then select the **Stage** tab at the top of the page. ![Staging Area Page](https://assets.mirurobotics.com/docs/v04/images/releases/stage/page.png) ## Stage a deployment operator (Members with the operator role can execute this action.) [CLI](/references/cli/device-stage) (Open the CLI reference for this command) [Platform API](/references/platform-api/2026-11-04/endpoints/deployments/create) (Open the Platform API reference for this operation) Staging a deployment creates a new deployment in the staging area but does not deploy it to any devices. Only one deployment can be staged per device at a time. If a release already has a deployment staged for a device, staging a new deployment will replace the existing deployment. To stage a deployment from the dashboard, click the **Stage** button in the top right. If there are no staged deployments yet, click **Stage Deployment** in the empty state instead. ![](https://assets.mirurobotics.com/docs/v04/images/releases/stage/empty-staging.png) A dialog will appear listing the devices that can be staged for this release. Select the device you want to create a staged deployment for. ![](https://assets.mirurobotics.com/docs/v04/images/releases/stage/select-device.png) > [!NOTE] > > Devices that are already running this release can be staged too, for example to > prepare changes to their current configuration. Devices you don't have permission > to stage deployments for are unavailable for selection. After selecting a device, the release editor opens. The editor is pre-filled with the device's current configurations when available. If the device does not have a current deployment, the editor uses the release schema default values instead. ![](https://assets.mirurobotics.com/docs/v04/images/releases/stage/release-editor-tooltip.png) Review the configuration tabs and make any edits you want. When you are ready, click **Stage** in the editor panel. ![](https://assets.mirurobotics.com/docs/v04/images/releases/stage/stage-button.png) A dialog will appear summarizing the files you changed (for example, `1 file modified`) and asking for a description. Enter a description for the staged deployment, then click **Stage**. ![](https://assets.mirurobotics.com/docs/v04/images/releases/stage/dialog-stage.png) Miru will return you to the staging area, where the new staged deployment appears in the list for the selected device. ![](https://assets.mirurobotics.com/docs/v04/images/releases/stage/staged-deployment.png) To stage a deployment programmatically, set the `target_status` field to `staged` when using the [create deployment endpoint »](/references/platform-api/2026-11-04/endpoints/deployments/create) ## View a deployment [CLI](/references/cli/deployment-clone) (Open the CLI reference for this command) [Platform API](/references/platform-api/2026-11-04/endpoints/deployments/get) (Open the Platform API reference for this operation) To view a deployment in the staging area, select it from the list. A panel will open on the right of the page displaying the deployment's details. ![Staged Deployment Panel](https://assets.mirurobotics.com/docs/v04/images/deployments/staged-panel.png) To view the details of any config instances in the deployment, click into the config instance in the **Configurations** section of the panel. ![Staged Deployment Configurations](https://assets.mirurobotics.com/docs/v04/images/deployments/staged-panel:configurations.png) The content tab contains the config instance's parameters, while the metadata tab contains audit information—the author, creation date, description, etc. > [tab] Content > > ![Staged Deployment Content](https://assets.mirurobotics.com/docs/v04/images/config-instances/panel-content:staged.png) > [tab] Metadata > > ![Staged Deployment Metadata](https://assets.mirurobotics.com/docs/v04/images/config-instances/panel-metadata:staged.png) ## Patch a deployment operator (Members with the operator role can execute this action.) [Platform API](/references/platform-api/2026-11-04/endpoints/deployments/create) (Open the Platform API reference for this operation) Patching a deployment opens the release editor with the configuration content from an existing staged deployment, allowing you to create a replacement staged deployment for that device. You can patch staged and [drifted](#deployment-drift) deployments. To apply a drift's patches, patch the drifted deployment and make the same changes in the release editor. To patch a deployment, click the ellipses (...) on the deployment to patch and select **Patch** from the dropdown. ![Patch Deployment Dropdown](https://assets.mirurobotics.com/docs/v04/images/releases/stage/patch-dropdown.png) The release editor will open with the selected deployment's configurations populated in each tab. ![Patch Deployment Editor](https://assets.mirurobotics.com/docs/v04/images/releases/stage/release-editor-patch.png) Review the configurations and make any desired edits. When you are ready, click **Stage** in the editor panel. A dialog will appear summarizing the files you changed and asking for a description. Enter a description, then click **Stage**. After staging, Miru returns you to the staging area, where the updated staged deployment appears in the list. To patch a deployment programmatically, set the `parent_id` field to the deployment being replaced when using the [create deployment endpoint »](/references/platform-api/2026-11-04/endpoints/deployments/create) ## Archive a deployment operator (Members with the operator role can execute this action.) [Platform API](/references/platform-api/2026-11-04/endpoints/deployments/archive) (Open the Platform API reference for this operation) Archiving a deployment removes it from the staging area and marks it as `archived`. This action is irreversible. Once archived, a deployment can never be deployed to a device. However, the deployment will remain available for historical reference. **Single Deployment** To archive a single deployment, click the ellipsis (...) on the deployment and select **Archive** from the dropdown. ![Staged Deployment Ellipses Dropdown](https://assets.mirurobotics.com/docs/v04/images/releases/stage/ellipses-dropdown:staged.png) A confirmation dialog will appear. Hit **Archive** to confirm. ![Archive Staged Deployment Dialog](https://assets.mirurobotics.com/docs/v04/images/releases/stage/archive-dialog:single.png) **Multiple Deployments** To archive multiple deployments, hover over the deployments you want to archive and select the checkbox in the far-left column. ![Select Deployments](https://assets.mirurobotics.com/docs/v04/images/releases/stage/select-devices.png) At the bottom of the page, click **Archive** from the available bulk actions. ![Bulk Actions](https://assets.mirurobotics.com/docs/v04/images/releases/stage/bulk-actions.png) A confirmation dialog will appear. Hit **Archive** to confirm. ![Archive Bulk Deployments Dialog](https://assets.mirurobotics.com/docs/v04/images/releases/stage/archive-dialog:bulk.png) ## Deploy a deployment operator (Members with the operator role can execute this action.) [Platform API](/references/platform-api/2026-11-04/endpoints/deployments/deploy) (Open the Platform API reference for this operation) Deploying a deployment removes the existing deployment from the device and replaces it with the new deployment. This action is irreversible. Once deployed, the only way to restore configurations is to create a new deployment with the old configurations. To deploy one or more deployments, hover over the deployments you want to deploy and select their checkboxes in the far-left column. ![Select Deployments](https://assets.mirurobotics.com/docs/v04/images/releases/stage/select-devices.png) At the bottom of the page, click **Deploy** from the available bulk actions. ![Bulk Actions](https://assets.mirurobotics.com/docs/v04/images/releases/stage/bulk-actions.png) A confirmation dialog will appear. Hit **Deploy** to confirm. ![Deploy Bulk Deployments Dialog](https://assets.mirurobotics.com/docs/v04/images/releases/stage/deploy-dialog:bulk.png) ## Deployment drift When a device receives configuration updates for its current release while having deployments staged for another release, we say the staged deployment has *drifted*. Consider the following example: ![Deployment Drift](https://assets.mirurobotics.com/docs/v04/images/deployments/deployment-drift.png) Our device is currently running deployment `DPL-Npfzv`, which adheres to release `v1.5`. Our device is about to be upgraded to release `v1.6` though, so we've staged deployment `DPL-Q4CeX` for the upcoming upgrade. However, before the upgrade occurs, our device receives some configuration updates on release `v1.5`—`DPL-Npfzv` is patched with `DPL-BFwc3`. Since it's often the case that this patch also needs to be applied to the staged deployment `DPL-Q4CeX`, we say `DPL-Q4CeX` has *drifted*. When a deployment drifts, it is marked as `drifted` and cannot be deployed until an explicit review is performed. You must either ignore the patch by [restaging](#review-a-deployment) the deployment, or apply it yourself by [patching](#patch-a-deployment) the staged deployment and making the same changes. The concept of deployment drift ensures that configuration changes aren't lost during migrations between releases, preventing misconfigurations. ## Review a deployment operator (Members with the operator role can execute this action.) [Platform API](/references/platform-api/2026-11-04/endpoints/deployments/drifts) (Open the Platform API reference for this operation) Reviewing a deployment is only possible when a deployment has [drifted](#deployment-drift) and is in the `drifted` state. Otherwise, the review button is disabled. Reviewing a deployment displays the patches applied to a device since the last time the deployment was reviewed (or since it was initially staged). To review a deployment, click the ellipsis (...) on the deployment and select **Review** from the dropdown. ![Drifted Deployment Ellipses Dropdown](https://assets.mirurobotics.com/docs/v04/images/releases/stage/ellipses-dropdown:drifted.png) A dialog will appear with a list of deployments that have been patched to the device since the last time the deployment was reviewed (or when it was initially staged). ![Review Deployments Dialog](https://assets.mirurobotics.com/docs/v04/images/releases/stage/review-dialog:deployments.png) Clicking a deployment opens the deployment details panel on the right side of the page. ![Review Deployment Panel](https://assets.mirurobotics.com/docs/v04/images/releases/stage/deployment-panel:deployed.png) Clicking a deployment's listed configuration opens that config instance's details panel, with the differences highlighted. ![Review Deployment Config Panel](https://assets.mirurobotics.com/docs/v04/images/releases/stage/config-panel.png) With the deployment's patches available for review, the dialog offers two options: **Restage** and **Archive**. To apply the patches instead, close the dialog and [patch](#patch-a-deployment) the deployment. **Restage** The first option is to restage the deployment as-is, effectively ignoring the patches that have occurred. This will move the deployment to the `staged` state and allow it to be deployed. ![Review Restage Dialog](https://assets.mirurobotics.com/docs/v04/images/releases/stage/review-dialog:restage.png) **Archive** The second option, in the dropdown next to **Restage**, is to [archive](#archive-a-deployment) the deployment. This removes the deployment from the staging area and moves it to the `archived` state. Archived deployments are available for historical reference but cannot be deployed. ![Review Archive Dialog](https://assets.mirurobotics.com/docs/v04/images/releases/stage/review-dialog:archive.png) To list the deployments that have been deployed to a device since a deployment was staged, use the [deployment drifts endpoint »](/references/platform-api/2026-11-04/endpoints/deployments/drifts) # Report calibrations Source: https://docs.mirurobotics.com/cfg-mgmt/report-calibrations This guide details how to report [calibrations](/cfg-mgmt/concepts/calibrations) through the Miru Agent's [Device API](/developers/device-api/overview). ## Overview A **calibration** is a result a device reports to Miru after calibrating one of its [components](/cfg-mgmt/concepts/components), such as the pose of a robot arm or the intrinsics of a RealSense D435. Miru allows on-device applications to report calibrations using the [create calibration](/references/device-api/latest/endpoints/calibrations/create) endpoint in the Device API. When a calibration is reported, the agent saves it on the device and immediately returns a `200` response, regardless of whether the device is online or offline. Once a device is online, the agent uploads the calibration to Miru. ## Prerequisites To follow this guide, you must have a device installed with a Miru Agent [v0.12.0](/changelog/agent#v0-12-0) or later. To provision a device, see the [Provision a device](/provision-devices) guide. ## Components A [component](/cfg-mgmt/concepts/components) is a kind of hardware that devices report calibrations for, such as an arm, a camera, or a Robotiq 2F-85. A calibration names its component with a [slug](/cfg-mgmt/concepts/components#param-slug), such as `kuka-arm`, `realsense-d435`, or `robotiq-2f-85`. When a calibration is reported, Miru checks if its component exists and creates it if it doesn't. ### Roles Oftentimes devices have multiple units of the same component, such as multiple arms. Roles distinguish components that are identical except for their purpose in the overall system. For example, a device with two arms might distinguish them as `left` and `right`. ### Aspects Separately, some components have multiple calibrations. An [aspect](/cfg-mgmt/concepts/components#param-aspects) distinguishes parts of a unit that are calibrated separately. For example, a camera might report both `intrinsics` and `extrinsics`. These calibrations belong to the same unit, but are used for different purposes within the unit itself. Both aspects and roles are optional. A device with one arm, calibrated one way, reports only the component. Each device keeps a separate history for a given component, role, and aspect. Miru creates a role or aspect the first time a calibration reports it. ## Send a calibration Calibrations are sent to the Miru Agent via the [create calibration](/references/device-api/latest/endpoints/calibrations/create) endpoint in the Device API. We recommend using the official [Python Device SDK](https://pypi.org/project/miru-device-sdk/) to report calibrations. You can also generate your own client using the Device API's OpenAPI specification, located in the [Device API Changelog](/changelog/device-api). The following parameters are required. ### Required parameters **component** `string` *required* The [slug](/cfg-mgmt/concepts/components#param-slug) of the calibrated component. Example: `kuka-arm` **content.format** `enum` *required* The file format of `content.data`: `json`, `yaml`, `jsonc`, `xml`, `csv` or `text`. `csv` requires Miru Agent [v0.12.3](/changelog/agent#v0-12-3) or later. **content.data** `string` *required* The calibration result, usually the full text of the calibration file. At most 1 MiB. ### File formatting The Miru dashboard shows the `content.data` string exactly as it was uploaded. Pretty-print that string in the request, including indentation and line breaks, the way you want it to appear. ### Optional parameters In addition to the required parameters, you can also set the following optional parameters: **role** `string` The slug of the unit's [role](/cfg-mgmt/concepts/components#param-roles). Example: `front-left` **aspect** `string` The slug of the calibrated [aspect](/cfg-mgmt/concepts/components#param-aspects). Example: `pose` **serial\_number** `string` The serial number of the calibrated unit. At most 255 characters. Example: `SN-1234` **reported\_by** `string` The person who reported the calibration. Free text, at most 255 characters. Requires Miru Agent [v0.12.3](/changelog/agent#v0-12-3) or later. Example: `Jane Doe` ## Response The agent saves the calibration on the device, then responds with `200 OK`, a new report ID and the time it received the calibration: ```json nocopy theme={null} { "report_id": "0f8e7c2a-5b1d-4c3e-9a6f-2d4b8e1c7a90", "reported_at": "2026-03-10T12:00:00Z" } ``` The agent responds the same way while the device is offline, and uploads the calibration once Miru is reachable. Miru records each report ID once, so the agent's own upload retries never record a calibration twice. Each request gets a new report ID, though, so don't resend one that got a `200`. The agent holds up to 1,000 calibrations that haven't uploaded yet. When it's holding 1,000, it saves nothing and responds with `507 Insufficient Storage` and the error code `calibration_buffer_full`. Retry once the device is back online and the agent has uploaded some of them. A calibration that still hasn't uploaded 90 days after its `reported_at` is dropped. ## View calibrations To view a device's calibrations, open the device and navigate to the **Calibrations** page on the left. # Agent Source: https://docs.mirurobotics.com/changelog/agent Changelog and migration steps for the Miru Agent # v0.12.3 *October 29, 2026* Miru Agent `v0.12.3` upgrades the Device API to `v0.2.4`, which lets on-device applications say who reported a [calibration](/cfg-mgmt/concepts/calibrations) and report calibrations as CSV. [Device API v0.2.4 changelog »](/changelog/device-api#v0-2-4) ## Features * `POST /v0.2/calibrations` now accepts an optional `reported_by`, the person who reported the calibration, and the agent sends it to Miru with the calibration; calibrations queued on the device before the upgrade upload without one * `POST /v0.2/calibrations` now accepts `csv` as the `content.format` *** # v0.12.2 *October 27, 2026* Miru Agent `v0.12.2` makes `provision` fail on a machine that is already provisioned, so a script can no longer mistake a re-run for a successful provision. ## Breaking changes * `miru-agent provision` now exits with status `1` when the machine is already provisioned, instead of printing "Device is already provisioned" and exiting `0` without contacting Miru *** # v0.12.1 *October 27, 2026* Miru Agent `v0.12.1` makes refused uploads easier to diagnose by logging the storage provider's explanation of the error. ## Improvements * When a bucket refuses an upload, the agent's log now includes the provider's error message and details, such as which account lacked which permission on Google Cloud Storage, instead of only the error code *** # v0.12.0 *October 26, 2026* Miru Agent `v0.12.0` allows on-device applications to [report calibrations](/cfg-mgmt/report-calibrations) to Miru. Calibration reporting is added in Device API `v0.2.3`. [Device API v0.2.3 changelog »](/changelog/device-api#v0-2-3) ## Features * Added `POST /v0.2/calibrations` to the Device API, which records a [calibration](/cfg-mgmt/concepts/calibrations) for a component of the device and returns its `report_id` * The agent saves each calibration on the device and uploads it once Miru is reachable, so calibrations reported while offline aren't lost * Uploads now carry each file's modification time with the device's UTC offset, so file rules with `upload.timezone: device` render upload paths in the device's local time * Uploads now resume across retries and restarts: each upload is created in Miru once, and a multipart upload continues from the parts that already landed, so a restart or power loss loses at most one part ## Improvements * Uploads to Google Cloud Storage buckets now use the same upload client as Amazon S3 buckets, which removes the agent's separate Google Cloud dependencies * A failed upload attempt that ran for 30 minutes or more, such as a long upload whose credentials expired, is now retried without counting against its retry budget, so long uploads are no longer dropped after about 30 hours * An upload that keeps failing is now dropped 7 days after the agent queued it, whatever the error; before, only network errors had this limit and other failures were retried up to 30 times ## Fixes * Uploads now stream from the file instead of loading it into memory, so large files no longer risk exhausting memory and crash-looping the agent on low-memory devices * A stalled upload now fails after 60 seconds without progress and is retried without counting against its retry budget, instead of waiting out a deadline that grew with the file's size (about 23 hours for a 5.4 GB file) *** # v0.11.1 *October 9, 2026* Miru Agent `v0.11.1` upgrades the Device API to `v0.2.2`, which exposes [file rules](/data-uploads/concepts/file-rules/overview) to on-device applications. [Device API v0.2.2 changelog »](/changelog/device-api#v0-2-2) ## Features * Added `GET /v0.2/file_rules/{id}` to the Device API; if the rule isn't stored on the device yet, the agent fetches it from Miru * Releases returned by the Device API now include `file_rule_ids` and `os` * `GET /v0.2/version` now includes `api_release_version`, the full Device API version the agent serves *** # v0.11.0 *October 9, 2026* Miru Agent `v0.11.0` adds **Windows support**. The agent installs from a signed MSI, runs as a Windows service, and serves the [Device API](/developers/device-api/overview) to applications on the device over loopback TCP. ## Features * Added Windows support for Windows 11 (x64), see [supported platforms](/developers/agent/install#supported-platforms) * Each release now includes a signed MSI installer, `miru-agent-.msi`, and a signed `miru-agent.exe` * The agent runs as the Windows service `miru-agent` under the virtual account `NT SERVICE\miru-agent`, with no administrator rights, and restarts automatically on failure * The [Device API](/developers/device-api/authn) is served on `127.0.0.1:6478` and requires a bearer token that changes each time the agent starts; the agent writes the port and token to `%ProgramData%\Miru\device-api\device-api.json` * The installer creates the `Miru Agent Users` group whose members can call the Device API and read configs deployed to `%ProgramData%\Miru\configs`; see [file system access](/developers/agent/filesys-access/windows) * Devices now report their operating system, CPU architecture, hostname, OS version, and kernel version when provisioned or reprovisioned, and report changes to them on later syncs ## Improvements * On Linux, the systemd unit now applies additional hardening directives (`LockPersonality`, `RestrictNamespaces`, `SystemCallArchitectures=native`, `ProtectClock`, and `ProtectKernelLogs`) ## Fixes * On Linux, `/var/lib/miru` is now mode `0700`, so other local accounts can no longer read the agent's state, including its access token * On Linux, `/var/log/miru` is now mode `0750`, to restrict access to the agent's log files to the `miru` group * The agent now exits with status `1` when it fails to start, so `systemctl status miru` reports `failed` instead of `inactive` * The agent now stops with an error instead of crashing when it can't open its log file *** # v0.10.3 *September 17, 2026* Miru Agent `v0.10.3` connects to the MQTT broker over TLS on port `443` instead of `8883`, so devices behind firewalls that only allow outbound `443`/HTTPS traffic can maintain their real-time connection to the control plane. ## Improvements * The agent now maintains its real-time MQTT connection over TLS on port `443` instead of `8883`, so it works on networks that only permit outbound `443`/HTTPS traffic *** # v0.10.2 *September 6, 2026* Miru Agent `v0.10.2` adds `provision --check` so fleet automation can tell whether a device is already provisioned without minting a token, and stops retrying failed retention deletes forever. ## Features * Added `provision --check` to report whether the device is already provisioned via exit code, without contacting the control plane * Retention [file rule](/data-uploads/concepts/file-rules/overview) delete jobs now stop after 10 failed attempts instead of retrying forever, leaving the file on disk ## Fixes * Fixed a bug where a backward clock step could stall the upload retry queue *** # v0.10.1 *August 12, 2026* ## Features * Added support for the latest [file rule](/data-uploads/concepts/file-rules/overview) capabilities, including retention-only rules and a configurable delay period before deletion ## Fixes * Fixed a bug where failing to shut down one component of the agent would block other unrelated components from gracefully shutting down * Upload failures are more robust to network connection errors by no longer counting them against a file upload's retry budget for a given upload *** # v0.10.0 *July 20, 2026* Miru Agent `v0.10.0` introduces **data uploads**. The agent can now upload files from your devices directly to your own cloud storage bucket: when an [upload rule](/data-uploads/concepts/file-rules/overview) matches files on a device, the agent streams them straight to your AWS S3 or GCS bucket—your data never passes through Miru. Reading files for upload may require granting the `miru` user [read access](/developers/agent/filesys-access/linux#data-uploads) to the source paths. To learn more, visit the [data uploads](/data-uploads/overview) documentation. ## Features * Added data uploads: the agent scans for files matching an upload rule's source glob pattern and uploads them to your configured AWS S3 or GCS bucket ## Fixes * Send an immediate heartbeat on SSE connection opens so that applications can immediately determine if the connection is healthy * Redact the MQTT password in logs to prevent credential leakage * Preserve a deployment's dirty flag when resetting retry state on startup * Create device RSA keys with `0600`/`0640` permissions without a `chmod` race window *** # v0.9.0 *May 12, 2026* Miru Agent `v0.9.0` introduces provisioning tokens as the standard programmatic device-provisioning mechanism, replacing the legacy API key flow. To learn more, visit the [provisioning tokens](/provision-devices/provisioning-tokens) documentation. ## Breaking changes * The legacy provisioning script only supports provisioning `miru-agent` versions that precede `v0.9.0`; use [provisioning tokens](/provision-devices/provisioning-tokens) for `miru-agent` versions `v0.9.0` or later ## Features * Added `provision` and `reprovision` subcommands for enrolling and re-enrolling devices using provisioning tokens * Upgrading the `miru-agent` package now automatically resets the on-device state so that reprovisioning is no longer required to upgrade the `miru-agent` package ## Fixes * Resources fetched from on-device applications via the [Device API](/developers/device-api/overview) are now fetched from the Miru control plane if not found locally * All network communications are now restricted to `mirurobotics.com` and its subdomains (loopback domains such as `127.0.0.1` are permitted for testing) * Fixed a Debian `postinst` failure (`useradd: group miru exists`) on systems with `USERGROUPS_ENAB=yes`, and added a `tmpfiles.d` entry so `/srv/miru` is recreated on boot * Resolved a `rustls-webpki` security advisory by routing MQTT TLS through `native-tls` instead of `rustls` * Fixed a `usize` underflow in cache pruning that, in release builds, could wipe all valid cache entries after invalid entries were removed *** # v0.8.1 *May 7, 2026* `v0.8.1` is a bug fix release that restores MQTT command delivery after transient reconnects to the MQTT broker. Devices now correctly re-subscribes to command topics on every successful reconnect, preventing long-lived "connected but not receiving commands" states. ## Fixes * Re-subscribe to MQTT sync and ping command topics on every successful `ConnAck` so inbound commands continue working after auto-reconnects *** # v0.8.0 *April 12, 2026* Miru Agent `v0.8.0` allows config instances to be written to paths outside of the `/srv/miru/config_instances/` directory—any valid file system path is now supported. Configs deployed to paths outside of the `/srv/miru` directory require additional file system permissions to be granted to the `miru` user. To learn more, visit the [file system access](/developers/agent/filesys-access/linux#configs) documentation. ## Breaking changes * Removed `ProtectSystem=strict` and `ProtectHome=true` from the default systemd unit to allow writing config files to arbitrary absolute paths if desired ## Features * Config instances can be deployed anywhere on the file system, not just in the `/srv/miru/` directory * Deployments being removed now transition through an intermediate `removing` status when removal begins ## Fixes * Fixed graceful shutdown handling when SSE streams are active * Scope cooldown periods to be per-deployment so that new deployments are not unnecessarily delayed by other deployment failures ## Improvements * Default all file system write operations to atomic mode for improved reliability *** # v0.7.2 *September 17, 2026* Backport of the MQTT port-`443` change to the `v0.7` line. Miru Agent `v0.7.2` connects to the MQTT broker over TLS on port `443` instead of `8883` so devices behind firewalls that only allow outbound `443`/HTTPS traffic can maintain their real-time connection, and hardens the MQTT TLS stack. ## Fixes * Moved the MQTT TLS stack from `rustls` to `native-tls`, resolving the known `rustls-webpki` security advisories RUSTSEC-2026-0098, RUSTSEC-2026-0099, and RUSTSEC-2026-0104 ## Improvements * The agent now maintains its real-time MQTT connection over TLS on port `443` instead of `8883`, so it works on networks that only permit outbound `443`/HTTPS traffic *** # v0.7.1 *April 7, 2026* `v0.7.1` adds YAML support and Server-Sent Events (SSE) streaming to the Miru Agent. On-device applications can now receive real-time deployment lifecycle notifications. This release also upgrades the Device API to v0.2.1. [Device API v0.2.1 changelog »](/changelog/device-api#v0-2-1) ## Features * Added YAML support for configuration files * Added Server-Sent Events (SSE) streaming via `GET /v0.2/events` for real-time deployment lifecycle notifications *** # v0.7.0 *March 13, 2026* `v0.7.0` upgrades the Miru Agent to Device API [v0.2.0](/changelog/device-api#v0-2-0), adding deployment-pipeline visibility for on-device applications and improving deployment reliability under transient failures. [Device API migration guide »](/changelog/device-api#v0-2-0) ## Breaking changes * Upgraded to Device API `v0.2.0`, visit the [v0.2.0 changelog](/changelog/device-api#v0-2-0) for more details ## Features * Deployments are guaranteed to be atomic—all config instances for a deployment are written to the file system simultaneously or none of them are * The agent now explicitly tracks `deployed_at` and `archived_at` timestamps on device when deployments are applied * Config instances deployed to the device's file system are now identical (indents, spacing, etc.) to config instances edited in the config editor ## Improvements * The agent immediately retries transient network connection errors three times before entering a cooldown period * Improved config instance caching logic to reduce network calls during sync cycles ## Fixes * Fixed deployment retry logic to eagerly retry failed deployments instead of waiting for the polling interval to expire (occasionally leaving deployments stuck in a `queued` state) * Fixed deployment cooldown handling so retry windows are reported and cleared correctly * JWT tokens are now redacted from debug outputs *** # v0.6.1 *January 22, 2026* ## Fixes * The `miru-agent --install` command now correctly returns a non-zero exit code on failure, instead of `0` *** # Agent install script update *December 8, 2025* ## Improvements * Agent install script now runs `sudo chown -R miru:miru /srv/miru` to prevent any permissions issues encountered if the `/srv/miru` directory has previously been created with the wrong permissions *** # v0.6.0 *October 19, 2025* `v0.6.0` adds support for installing the agent over poor internet connections, ensuring reliable provisioning on bandwidth-constrained devices. [Read the full documentation »](/developers/agent/install#poor-connectivity) ## Features * Poor connectivity installations of the Miru Agent are now supported *** # v0.5.1 *September 17, 2025* ## Fixes * Fixed device provisioning script * Fixed a critical bug where configuration files could go missing if multiple configuration files were queued for deployment while the agent was offline *** # v0.5.0 *September 5, 2025* First release with Device API v0.1.0 endpoints, MQTT-based real-time sync, and device session management. Establishes the core on-device integration surface. ## Features * Added agent version info to device and server updates * Added device session ID for MQTT authentication * Added MQTT ping/pong for connection health monitoring * Added server APIs to sync the agent * Added version argument to installation scripts * Added agent information to client headers * Pretty-printed JSON objects in logs ## Fixes * Activation script now restarts the agent on failures * Activation script temporarily stops the agent during provisioning * Fixed errant `unwrap()` calls that could cause panics * Improved MQTT network connection error handling * Fixed unnecessary file system writes for device patches # CLI Source: https://docs.mirurobotics.com/changelog/cli Changelog and migration steps for the Miru CLI # v0.12.4 *October 27, 2026* CLI `v0.12.4` adds support for CSV config instances. ## Features * Add the `csv` instance format for [opaque schemas](/cfg-mgmt/concepts/schemas/languages/opaque), so `miru release create` can push schemas whose config instances are CSV files *** # v0.12.3 *October 24, 2026* CLI `v0.12.3` adds support for rendering upload path times in the device's time zone. ## Features * Add the `upload.timezone` field to file rule YAML files: set it to `device` to render an upload path's [time variables](/data-uploads/concepts/file-rules/rule-definition#param-path) in the device's local time zone instead of UTC *** # v0.12.2 *October 18, 2026* CLI `v0.12.2` adds support for grouping related uploads into [bundles](/data-uploads/concepts/upload-bundles). ## Features * Add the `upload.bundle` field to file rule YAML files: a list of glob capture keys that groups related uploads into a [bundle](/data-uploads/concepts/upload-bundles) ## Fixes * Fix the update notice's changelog link so it properly opens the [CLI changelog](/changelog/cli) *** # v0.12.1 *September 6, 2026* CLI `v0.12.1` adds commands for validating a local config instance and a local deployment against persisted schemas without creating any resources. ## Features * Add [`miru config validate`](/references/cli/config-validate) to check a local config instance against a persisted schema without creating any resources * Add [`miru deployment validate`](/references/cli/deployment-validate) to check local config files against a release's schemas without creating a deployment *** # v0.12.0 *August 27, 2026* CLI `v0.12.0` adds commands for cloning and staging device configs, validating a schema without creating a release, and showing the authenticated principal. Interactive login now uses the OAuth device authorization flow instead of pasting a dashboard token. The previous login flow is no longer supported, so local login requires `v0.12.0` or later. ## Breaking changes Interactive login `miru login` no longer prompts you to paste a token from the dashboard. It opens a verification URL in your browser and waits until you approve access. On SSH sessions or headless machines, pass `--no-browser` to print the URL instead of opening it. Stored tokens from earlier logins and `MIRU_API_KEY` authentication are unchanged. > [!CAUTION] > > The previous paste-token login flow is no longer supported. CLI versions before `v0.12.0` do not support `miru login`. Upgrade to `v0.12.0` or later to log in to the CLI on your development machine. CI pipelines that authenticate with `MIRU_API_KEY` continue to work with earlier CLI versions. ## Features * Add [`miru device clone`](/references/cli/device-clone) to write the config files of a device's current deployment onto your local machine's disk * Add [`miru device stage`](/references/cli/device-stage) to stage a deployment from your local machine's disk * Add [`miru deployment clone`](/references/cli/deployment-clone) to write the config files of any deployment onto your local machine's disk * Add [`miru schema validate`](/references/cli/schema-validate) to check a schema against the same server rules as `miru release create` without creating any resources * Add [`miru whoami`](/references/cli/whoami) to show the authenticated principal and workspace * Add the `MIRU_HOME` environment variable to override the CLI state directory (defaults to `~/.miru`) ## Improvements * `miru version` now prints a `Miru CLI` header plus `Go` and `OS/Arch` lines * Refuse to create CLI state under a directory the CLI user does not own *** # v0.11.0 *August 12, 2026* CLI `v0.11.0` renames the upload rule to the **file rule**. A file rule still says which files on a device to match, but uploading them and reclaiming their disk space are now two independent, optional halves of one object. See [file rules](/data-uploads/concepts/file-rules/overview). ## Breaking changes File rule flags The `miru release create` upload rule flags have been renamed. There are no deprecated aliases, so update your invocations and CI pipelines: ```diff nocopy theme={null} miru release create \ --version v1.0.0 \ --schemas ./schemas/ \ - --upload-rule ./upload-rules/robot-logs.yaml \ - --upload-rules ./upload-rules/ + --file-rule ./file-rules/robot-logs.yaml \ + --file-rules ./file-rules/ ``` Rule file format The rule file YAML has been restructured. `name` is new and required, `collection_slug` moves under the new optional `upload` block, `destination` is replaced by `upload`, and `delete_policy` is removed in favor of the new optional `retention` block. ```diff nocopy theme={null} + name: Robot Logs - collection_slug: robot-logs source: glob: /var/log/robot/*.log stability_window_secs: 60 - destination: - bucket: my-uploads-bucket - path: logs/{device_id}/{file_name} - delete_policy: after_upload + upload: + collection_slug: robot-logs + bucket: my-uploads-bucket + path: logs/{device_id}/{upload_id}/{file_name} + + retention: + ttl_secs: 0 + require_upload: true ``` Both `upload` and `retention` are optional. Omit `upload` for a rule that only reclaims local disk; omit `retention` and the device retains files on disk indefinitely after uploading. `ttl_secs` is required inside `retention`, and `require_upload` must be set exactly when the rule has an `upload` block. ## Features * Add support for the [instance slots](/cfg-mgmt/concepts/schemas/annotations#instance-slots) schema annotation, letting one config schema write config instances to several file paths ## Improvements * Add more context to schema push failure messages ## Fixes * Fix a bug where the CLI would occasionally identify a pushed schema as new when it already existed *** # v0.10.3 *July 26, 2026* ## Features * Add support for opaque config schemas * Add support for XML and plain text config instance formats *** # v0.10.2 *July 20, 2026* CLI `v0.10.2` adds support for including [upload rules](/data-uploads/concepts/file-rules/overview) in a release, letting you define data uploads alongside your config schemas. ## Features * `miru release create` now accepts `--upload-rule` and `--upload-rules` flags to include upload rules (and their upload collections) in a release * Emit API key source notice when `MIRU_API_KEY` is set in the environment * Show platform-aware upgrade command when notifying users of a new CLI version * Publish a SBOM for CLI releases *** # v0.10.1 *May 17, 2026* ## Features * Config types referenced in schema annotations are now automatically created if they do not yet exist instead of throwing an error ## Fixes * Don't rewrite `~/.miru/settings.json` on read-only commands when no defaults need to be applied * Fix the install-docs link printed in the CLI's update-available notification *** # v0.10.0 *April 12, 2026* CLI `v0.10.0` adds support for specifying config instance file paths anywhere on your devices' file system, not just in the `/srv/miru/config_instances/` directory. Note that file paths which do not live in `/srv/miru/config_instances/` require Miru Agent [v0.8.0](/changelog/agent#v0-8-0). ## Breaking changes Absolute instance file paths The `instance_filepath` annotation has been updated to be an absolute file system path instead of a path relative to `/srv/miru/config_instances/`. Update all schema annotations: ```diff nocopy theme={null} # JSON Schema - x-miru-instance-filepath: "mobility.json" + x-miru-instance-filepath: "/srv/miru/config_instances/mobility.json" # CUE - @miru(instance_filepath="mobility.json") + @miru(instance_filepath="/srv/miru/config_instances/mobility.json") ``` Default instance file path The default instance file path has been updated from `/srv/miru/config_instances/{config-type-slug}.json` to `/srv/miru/configs/{config-type-slug}.json`. Because the new default path is outside `/srv/miru/config_instances/`, it requires Miru Agent [v0.8.0](/changelog/agent#v0-8-0) or later, as noted above. We recommend adding the instance file path annotation pointing at the previous default location, `/srv/miru/config_instances/{config-type-slug}.json`, to preserve the old path. Below is an example for the `mobility` config type: ```diff nocopy theme={null} # JSON Schema + x-miru-instance-filepath: "/srv/miru/config_instances/mobility.json" # CUE + @miru(instance_filepath="/srv/miru/config_instances/mobility.json") ``` ## Fixes * Don't persist login tokens to disk until they've been successfully validated * Add missing out-of-bounds check in the create schema pipeline * Prevent double-close panic in async writer ## Improvements * Improve performance of populating setting defaults to disk * Persist credentials with more restricted file system permissions *** # v0.9.2 *March 5, 2026* ## Fixes * Display a more descriptive error message when the CLI is not logged in and no API key is provided *** # v0.9.1 *February 4, 2026* ## Fixes * Error messages are properly flushed to the console, ensuring outputs are always visible in CI *** # v0.9.0 *January 27, 2026* `v0.9.0` is a major release replacing the schema-push workflow with a single `miru release create` command that handles releases, schemas, and Git metadata in one step. Also adds API key authentication for CI/CD use. ## `miru release create` The `miru schema push` command has been replaced by [miru release create](/references/cli/release-create), which bundles the entire release process into a single command. [CUE packages](/references/cli/release-create#cue-packages) are now supported, allowing schemas to span multiple files. ```bash theme={null} miru release create --version v1.0.0 schema.json ``` ## API key authentication The CLI now supports authentication via API keys using the `MIRU_API_KEY` environment variable, enabling non-interactive use in CI/CD pipelines. Visit the [CI/CD guide](/developers/ci/overview) for more information on using the CLI in CI/CD pipelines. ## Improvements * Improved error messages to be more descriptive and readable ## Retired * Retired the `miru schema push` command *** # v0.8.0 *December 18, 2025* `v0.8.0` is a cleanup release removing deprecated flags from `miru schema push` ahead of the v0.9.0 command replacement. ## Breaking changes **Schema push command** * Removed the `--version` flag * Removed the `--allow-duplicate` flag ```diff nocopy theme={null} miru schema push schema.json \ - --version v1.0.0 \ - --allow-duplicate ``` *** # v0.7.0 *December 4, 2025* `v0.7.0` introduces first-class CUE support and updates the schema push workflow to support multiple schema languages. ## CUE support `v0.7.0` is the first CLI release with [CUE](/cfg-mgmt/concepts/schemas/languages/overview) support. You can now push CUE-based schemas directly and use CUE alongside existing JSON Schema workflows. ## Schema push improvements * Added the `--language` flag to `miru schema push` to specify schema language * Added the `--allow-duplicate` flag to `miru schema push` to allow multiple schemas with the same content * Schemas uploaded to Miru are now preserved exactly as defined, including original ordering, spacing, and comments ## Other improvements * Improved readability of error messages * Users are notified when the CLI version is out of date ## Breaking changes **Version flag** The `--version` flag is now required when pushing a schema, and JSON Schema annotations were renamed: ```diff nocopy theme={null} - "$miru_config_type_slug": "my-config" - "$miru_instance_filepath": "/etc/myapp/config.json" + "x-miru-config-type": "my-config" + "x-miru-instance-filepath": "/etc/myapp/config.json" ``` **Instance file path** * Removed the ability to update the instance file path for an existing schema ## Retired * Removed the `miru instance to jsonschema` command # Device API Source: https://docs.mirurobotics.com/changelog/device-api Changelog and migration steps for the Device API # v0.2.4 *October 29, 2026* The `v0.2.4` release lets on-device applications say who [reported a calibration](/cfg-mgmt/report-calibrations) and report calibrations as CSV.
  • API reference: [v0.2.4](/references/device-api/v0.2.4)
  • OpenAPI spec: [Download YAML](https://assets.mirurobotics.com/docs/openapi/device/v0.2.4.yaml)
## Additive changes Create calibration request The `POST /calibrations` request added an optional `reported_by`, the person who reported the calibration. It's free text of at most 255 characters. ```diff nocopy theme={null} { "component": "kuka-arm", "role": "front-left", "aspect": "pose", "serial_number": "SN-1234", + "reported_by": "Jane Doe", "content": { "format": "json", "data": "{\"x\": 0.12, \"y\": -0.03}" } } ``` CSV calibrations The `content.format` of a `POST /calibrations` request added `csv`, for comma-separated values (RFC 4180). ```diff nocopy theme={null} { "component": "kuka-arm", "content": { - "format": "json", - "data": "{\"x\": 0.12, \"y\": -0.03}" + "format": "csv", + "data": "x,y\n0.12,-0.03\n" } } ``` ## Migration steps **1. Verify agent compatibility** Ensure all devices are running Miru Agent `v0.12.3` or later. See [compatibility matrix](/developers/device-api/versions#agent-compatibility-matrix). **2. Upgrade Python SDK** If you are using the [Python SDK](/developers/device-api/sdks#python), upgrade to version `v0.9.0` or later. **3. Integrate the changes** Integrate the new fields into your client application. *** # v0.2.3 *October 25, 2026* The `v0.2.3` release lets on-device applications [report calibrations](/cfg-mgmt/report-calibrations) to Miru.
  • API reference: [v0.2.3](/references/device-api/v0.2.3)
  • OpenAPI spec: [Download YAML](https://assets.mirurobotics.com/docs/openapi/device/v0.2.3.yaml)
## New endpoints Calibrations * POST `/calibrations` — report a calibration ## Additive changes File rule response The `upload` of a file rule returned by `GET /file_rules/{id}` added `timezone`, the time zone the upload path's time variables are rendered in (`utc` or `device`), and an optional `bundle`, the [glob captures](/data-uploads/concepts/file-rules/rule-definition#glob-captures) that group the rule's uploads into [bundles](/data-uploads/concepts/upload-bundles). ```diff nocopy theme={null} { "object": "file_rule", ... "upload": { "path": "recordings/{device_id}/{recording}/{file_name}-{upload_id}", + "timezone": "utc", + "bundle": ["recording"] } } ``` ## Migration steps **1. Verify agent compatibility** Ensure all devices are running Miru Agent `v0.12.0` or later. See [compatibility matrix](/developers/device-api/versions#agent-compatibility-matrix). **2. Upgrade Python SDK** If you are using the [Python SDK](/developers/device-api/sdks#python), upgrade to version `v0.8.0` or later. **3. Integrate the changes** Integrate the new endpoints and fields into your client application. *** # v0.2.2 *October 9, 2026* The `v0.2.2` release exposes [file rules](/data-uploads/concepts/file-rules/overview) to on-device applications. A release now lists the IDs of its file rules, and each rule can be retrieved by ID, so an application can see which files the agent collects and uploads for the current release.
  • API reference: [v0.2.2](/references/device-api/v0.2.2)
  • OpenAPI spec: [Download YAML](https://assets.mirurobotics.com/docs/openapi/device/v0.2.2.yaml)
## New endpoints File rules * GET `/file_rules/{id}` — get a file rule by ID ## Additive changes Release response The release returned by `GET /releases/current` and `GET /releases/{id}` added the IDs of its file rules and the operating system family it targets (`linux` or `windows`). ```diff nocopy theme={null} { "object": "release", "id": "rls_123", "version": "1.4.0", "git_commit_id": "git_commit_123", + "file_rule_ids": ["file_rule_123"], + "os": "linux", "created_at": "2026-10-09T00:00:00Z" } ``` Version response The `GET /version` response added `api_release_version`, the full Device API version the agent was compiled with. `api_version` remains the breaking change alias. ```diff nocopy theme={null} { "version": "0.11.1", ... "api_version": "v0.2", + "api_release_version": "v0.2.2", ... } ``` Bearer authentication The specification now declares the bearer token that the agent already requires on loopback TCP (Windows). Requests over the Unix socket (Linux) still need no token. See [Authentication](/developers/device-api/authn). ## Migration steps **1. Verify agent compatibility** Ensure all devices are running Miru Agent `v0.11.1` or later. See [compatibility matrix](/developers/device-api/versions#agent-compatibility-matrix). **2. Upgrade Python SDK** If you are using the [Python SDK](/developers/device-api/sdks#python), upgrade to version `v0.7.0` or later. **3. Integrate the changes** Integrate the new endpoints and fields into your client application. *** # v0.2.1 *April 7, 2026* The `v0.2.1` release adds real-time event streaming via Server-Sent Events (SSE). On-device applications can subscribe to a persistent event stream instead of polling for deployment status changes.
  • API reference: [v0.2.1](/references/device-api/v0.2.1)
  • OpenAPI spec: [Download YAML](https://assets.mirurobotics.com/docs/openapi/device/v0.2.1.yaml)
## New endpoints Events * GET `/events` — stream events via Server-Sent Events (SSE) ## Additive changes Event types Two event types are emitted for deployment lifecycle transitions: * `deployment.deployed` — a deployment's config instances have been written to the device's file system * `deployment.removed` — a deployment's config instances have been removed from the device's file system Event replay The SSE events endpoint supports cursor-based replay via the `?after=` query parameter or the `Last-Event-ID` HTTP header, allowing clients to resume from a known position after reconnection. ```bash highlight={5,12} theme={null} # Resume from event ID 42 using the query parameter curl --no-buffer \ --unix-socket /run/miru/miru.sock \ --request GET \ --url http://localhost/v0.2/events?after=42 # Or using the standard SSE reconnection header curl --no-buffer \ --unix-socket /run/miru/miru.sock \ --request GET \ --url http://localhost/v0.2/events \ --header "Last-Event-ID: 42" ``` Event filtering SSE events can be filtered by type using the `?types=` query parameter. ```bash highlight={5} theme={null} # Only receive deployment.deployed events curl --no-buffer \ --unix-socket /run/miru/miru.sock \ --request GET \ --url http://localhost/v0.2/events?types=deployment.deployed ``` ## Migration steps **1. Verify agent compatibility** Ensure all devices are running Miru Agent `v0.7.1` or later. See [compatibility matrix](/developers/device-api/versions#agent-compatibility-matrix). **2. Upgrade Python SDK** If you are using the [Python SDK](/developers/device-api/sdks#python), upgrade to version `v0.4.0` or later. **3. Integrate the changes** Integrate the new endpoints and fields into your client application. *** # v0.2.0 *March 13, 2026* The `v0.2.0` release expands the Device API from basic device health/version endpoints to deployment-pipeline visibility. The current release version and current deployment endpoints are the most exciting, enabling on-device applications to verify that the release version of the config instances matches the application's software version and programmatically inspect the deployment pipeline from the device itself.
  • API reference: [v0.2.0](/references/device-api/v0.2.0)
  • OpenAPI spec: [Download YAML](https://assets.mirurobotics.com/docs/openapi/device/v0.2.0.yaml)
## New endpoints Deployments * GET `/deployments/current` — get currently deployed deployment * GET `/deployments/{id}` — get a deployment by ID Releases * GET `/releases/current` — get the currently deployed release * GET `/releases/{id}` — get a release by ID Git commits * GET `/git_commits/{id}` — get a git commit by ID ## Breaking changes Base path change The URL version prefix changed from `/v1` to `/v0.2`. Update all request URLs in your client application. ```diff nocopy theme={null} - http://localhost/v1/{endpoint} + http://localhost/v0.2/{endpoint} ``` Version response The `GET /version` response renamed `commit` to `git_commit`. ```diff nocopy theme={null} { "version": "0.7.0", - "commit": "abc1234" + "git_commit": "abc1234", } ``` ## Additive changes Version response The `GET /version` response added richer information about the agent and API version. ```diff nocopy theme={null} { "version": "0.7.0", ... + "api_version": "0.2.0", + "api_git_commit": "def5678", + "rust_version": "1.83.0", + "build_date": "2026-02-15T00:00:00Z", + "os": "linux", + "arch": "aarch64" } ``` ## Python SDK Beginning with the `v0.2.0` Device API release, the Python SDK is published from [python-device-sdk](https://github.com/mirurobotics/python-device-sdk) and uses the `miru_device_sdk` import path. ```diff nocopy theme={null} - from miru_agent_sdk import Miru + from miru_device_sdk import Miru ``` The previous Python SDK was published to [python-agent-sdk](https://github.com/mirurobotics/python-agent-sdk) and used the `miru_agent_sdk` import path. Furthermore, SDK `v0.3.0` marks the major version rollout of the `v0.2.0` Device API. For the latest SDK version compatibility information, see the [Device SDKs](/developers/device-api/sdks) page. ## Migration steps **1. Verify agent compatibility** Ensure all devices in your fleet are running **Miru Agent v0.7.0** or later. See the [agent compatibility matrix](/developers/device-api/versions#agent-compatibility-matrix) for details. **2. Migrate breaking changes** Migrate your client application according to the breaking changes listed above. If you are using the [Python SDK](/developers/device-api/sdks#python), migrate from the legacy repository [`python-agent-sdk`](https://github.com/mirurobotics/python-agent-sdk) to [`python-device-sdk`](https://github.com/mirurobotics/python-device-sdk). This migration includes updating imports from `miru_agent_sdk` to `miru_device_sdk`. ```diff nocopy theme={null} - from miru_agent_sdk import Miru + from miru_device_sdk import Miru ``` **3. Optionally integrate new endpoints** Integrate with the new deployments, releases, and git commits endpoints to inspect the deployment pipeline from your device. *** # v0.1.0 *September 21, 2025* Initial release of the Device API. This version establishes the core on-device integration surface, including health checks, version metadata, device metadata, and a manual sync trigger.
  • API reference: [v0.1.0](/references/device-api/v0.1.0)
  • OpenAPI spec: [Download YAML](https://assets.mirurobotics.com/docs/openapi/device/v0.1.0.yaml)
## Endpoints Agent * GET `/health` — retrieve the health of the agent * GET `/version` — retrieve the version of the agent Device * GET `/device` — retrieve the device * POST `/device/sync` — manually force a device sync ## Python SDK The initial `v0.1.0` release used the legacy Python SDK repository [`python-agent-sdk`](https://github.com/mirurobotics/python-agent-sdk) and the `miru_agent_sdk` import path. Current Device API Python SDK releases are published from [`python-device-sdk`](https://github.com/mirurobotics/python-device-sdk) and use the `miru_device_sdk` import path. # Platform API Source: https://docs.mirurobotics.com/changelog/platform-api Changelog and migration steps for the Platform API # 2026-11-04.everglades *November 4, 2026* This `everglades` update records who did what. Resources now report the principal that created them, archivable resources report when they were archived and by whom, and deployments report who staged and queued them. It also adds read access to workspace members and API keys, and lets API keys archive, unarchive and delete releases. Every change is additive. `2026-10-29.everglades` and `2026-08-17.everglades` remain supported `Miru-Version` values, so existing integrations keep working without changes.
  • API reference: [2026-11-04.everglades](/references/platform-api/2026-11-04)
  • OpenAPI spec: [Download YAML](https://assets.mirurobotics.com/docs/openapi/platform/2026-11-04.yaml)
## New endpoints Users and API keys have their own `read` [scopes](/developers/platform-api/authz#scopes-by-resource), and deleting a release needs the new `releases:delete` scope. Releases * POST `/releases/{release_id}/archive` — archive a release * POST `/releases/{release_id}/unarchive` — unarchive a release * DELETE `/releases/{release_id}` — delete a release Users * GET `/users` — list the workspace's users * GET `/users/{user_id}` — retrieve a user API keys * GET `/api_keys` — list the workspace's API keys * GET `/api_keys/{api_key_id}` — retrieve an API key ## Additive changes Created by Config instances, config schemas, config types, deployments, devices, git commits, groups and releases now return a `created_by_id`. It holds the ID of the principal that created the resource, which can be a user, an API key or a device. **Release Response** ```diff nocopy theme={null} "id": "rls_123", "version": "v1.0.0", + "created_by_id": "usr_123", ``` Expand `created_by` to get the principal itself. Config types and git commits now accept `expand` on every endpoint that returns them. ```diff nocopy theme={null} GET /releases/rls_123 + GET /releases/rls_123?expand=created_by ``` ```diff nocopy theme={null} "created_by_id": "usr_123", + "created_by": { + "object": "principal", + "id": "usr_123", + "name": "Jane Doe", + "type": "user" + }, ``` Archived at and archived by Devices, releases and config types now return `archived_at` and `archived_by_id`. Both are `null` while the resource isn't archived. `archived_by_id` is also `null` for resources archived before Miru started recording it. Expand `archived_by` to get the principal. **Device Response** ```diff nocopy theme={null} "id": "dvc_123", "name": "My Device", + "archived_at": "2026-11-04T00:00:00Z", + "archived_by_id": "usr_123", ``` ```diff nocopy theme={null} GET /devices/dvc_123 + GET /devices/dvc_123?expand=archived_by ``` Archived filter GET `/releases` and GET `/config_types` gained an `archived` filter that takes `false`, `true` or `any`. It defaults to `any`, so lists still include archived resources unless you filter them out. ```diff nocopy theme={null} GET /releases + GET /releases?archived=false ``` Deployment staged by and queued by Deployments now return when and by whom they were staged and queued. * `staged_at` and `staged_by_id` are `null` when the deployment was created already queued. Otherwise they equal `created_at` and `created_by_id`. * `queued_by_id` is the principal that queued the deployment for its device, recorded with `queued_at`. It's `null` if the deployment was never queued, or was queued before Miru started recording it. **Deployment Response** ```diff nocopy theme={null} "id": "dpl_123", "status": "queued", + "staged_at": "2026-11-04T00:00:00Z", "queued_at": "2026-11-04T00:05:00Z", + "created_by_id": "usr_123", + "staged_by_id": "usr_123", + "queued_by_id": "api_key_123", ``` Expand `staged_by` and `queued_by` to get the principals. ```diff nocopy theme={null} GET /deployments/dpl_123 + GET /deployments/dpl_123?expand=staged_by&expand=queued_by ``` Config schema git commits Config schemas can expand `config_schema_git_commits`: the git commits the schema was registered from, with the schema's file paths at each commit. ```diff nocopy theme={null} GET /config_schemas/cfg_sch_123 + GET /config_schemas/cfg_sch_123?expand=config_schema_git_commits ``` ```diff nocopy theme={null} + "config_schema_git_commits": { + "object": "list", + "data": [ + { + "object": "config_schema_git_commit", + "id": "cfg_sch_git_com_123", + "file_paths": ["path/to/config/schema/robot1.cue"], + "git_commit_id": "git_commit_123", + "config_schema_id": "cfg_sch_123", + "created_at": "2026-11-04T00:00:00Z", + "created_by_id": "usr_123" + } + ] + }, ``` Principal type Principals, from GET `/principal` and from the new `created_by`, `archived_by`, `staged_by` and `queued_by` expansions, now return a `type`: `user`, `api_key` or `device`. More types may be added, so handle unknown values. **Principal Response** ```diff nocopy theme={null} "object": "principal", "id": "api_key_123", "name": "My CI/CD Key", + "type": "api_key", ``` Calibration format Calibrations now return the `format` of their content, using the same enum as config instance content. **Calibration Response** ```diff nocopy theme={null} "id": "cal_123", "digest": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855", + "format": "json", ``` ## Migration steps **1. Update the Miru-Version header** Optionally set `Miru-Version: 2026-11-04.everglades` on API requests. Requests that send `2026-10-29.everglades` or `2026-08-17.everglades` keep working. [Python SDK](/developers/platform-api/sdks#python) `v0.14.0` marks the rollout of the `2026-11-04.everglades` API. For the latest SDK version compatibility information, visit the [Platform SDKs](/developers/platform-api/sdks) page. **2. Review release scopes** API keys with `releases:write` can now archive and unarchive releases, and API keys with `releases:manage` can now delete them. Narrow those keys' scopes if they shouldn't. **3. Optionally integrate new endpoints** Optionally integrate the new release, user and API key endpoints listed above, and grant your API keys the `releases:delete`, `users:read` or `api_keys:read` scopes they need. **4. Optionally adopt new additive surface** Optionally integrate the new additive API changes listed above. *** # 2026-10-29.everglades *October 29, 2026* This `everglades` update adds read access to [calibrations](/cfg-mgmt/concepts/calibrations). Devices report calibrations starting with Miru Agent [v0.12.0](/changelog/agent#v0-12-0). Devices now report the operating system, CPU architecture, hostname, and kernel they run, and releases gain a free-form description. Every change is additive. `2026-08-17.everglades` remains a supported `Miru-Version` value, so existing integrations keep working without changes.
  • API reference: [2026-10-29.everglades](/references/platform-api/2026-10-29)
  • OpenAPI spec: [Download YAML](https://assets.mirurobotics.com/docs/openapi/platform/2026-10-29.yaml)
## New endpoints Calibrations have their own `read` and `manage` [scopes](/developers/platform-api/authz#scopes-by-resource). Calibrations * GET `/calibrations` — list calibrations * GET `/calibrations/{calibration_id}` — retrieve a calibration ## Additive changes Device platform details Devices now report the platform the agent runs on. `os`, `arch`, `hostname`, `os_version`, and `kernel_version` are always present and are `null` until the agent reports them. Devices report them starting with Miru Agent [v0.11.0](/changelog/agent#v0-11-0). Visit the [device properties](/concepts/devices/overview#properties) documentation for details. * `os` is `linux` or `windows` * `arch` is `x86_64` or `aarch64` **Device Response** ```diff nocopy theme={null} "id": "dvc_123", "name": "My Device", "agent_version": "v1.0.0", + "os": "linux", + "arch": "x86_64", + "hostname": "robot-1.local", + "os_version": "Ubuntu 22.04", + "kernel_version": "5.15.0-91-generic", ``` Release description Releases now return a free-form `description`, which is `null` when unset. **Release Response** ```diff nocopy theme={null} "id": "rls_123", "version": "v1.0.0", + "description": "Add lidar calibration to motion control", ``` POST `/releases` `description` is optional when creating a release. If it is omitted, the description defaults to the message of the release's git commit. It stays `null` if the release has no git commit or `description` is set to `null`. ```diff nocopy theme={null} { "version": "v1.0.0", + "description": "Add lidar calibration to motion control", "config_schema_ids": ["cfg_sch_123"] } ``` Release and config schema OS Releases and config schemas now report the operating system family they target, as a read-only `os` field that is always `linux` or `windows`. Miru derives it from the instance slot filepaths of a config schema, and from the config schemas and file rules of a release. **Config Schema Response** ```diff nocopy theme={null} "id": "cfg_sch_123", "digest": "sha256:1234567890", + "os": "linux", ``` **Release Response** ```diff nocopy theme={null} "id": "rls_123", "version": "v1.0.0", + "os": "linux", ``` CSV instance format `csv` is added to the config schema `instance_format` enum and the config instance content `format` enum, in responses and in the POST `/config_schemas` and POST `/config_instances` request bodies. Visit the [opaque schema language](/cfg-mgmt/concepts/schemas/languages/opaque) documentation for details. Update any code that branches on these enums. **Config Instance Format Enum** ```diff nocopy theme={null} "json" "yaml" "jsonc" "xml" + "csv" "text" ``` ## Migration steps **1. Update the Miru-Version header** Optionally set `Miru-Version: 2026-10-29.everglades` on API requests. Requests that send `2026-08-17.everglades` keep working. [Python SDK](/developers/platform-api/sdks#python) `v0.13.0` marks the rollout of the `2026-10-29.everglades` API. For the latest SDK version compatibility information, visit the [Platform SDKs](/developers/platform-api/sdks) page. **2. Handle the csv instance format** If your code branches on config schema `instance_format` or config instance content `format`, handle the new `csv` value. **3. Optionally integrate new endpoints** Optionally integrate the new calibration endpoints listed above, and grant your API keys the scopes they need. **4. Optionally adopt new additive surface** Optionally integrate the new additive API changes listed above. *** # 2026-08-17.everglades *August 17, 2026* The `everglades` release introduces device groups, allowing you to build your fleet hierarchy via API and access device group information. Groups themselves are fully manageable: create, rename, and move them as desired. A device's membership in a group is read-only, so assigning a device to a group remains a dashboard flow. `everglades` also brings the Platform API up to date with three months of configuration changes: config schemas now support instance slots, deployments report more timestamps (queued, deployed, archived), and devices report an `archived` status.
  • API reference: [2026-08-17.everglades](/references/platform-api/2026-08-17)
  • OpenAPI spec: [Download YAML](https://assets.mirurobotics.com/docs/openapi/platform/2026-08-17.yaml)
## New endpoints Groups * GET `/groups` — list groups * GET `/groups/{group_id}` — retrieve a group * POST `/groups` — create a group * PATCH `/groups/{group_id}` — rename a group * POST `/groups/{group_id}/move` — move a group to a new parent ## Breaking changes Config schema instance slots The config schema `instance_filepath` field is replaced by the `instance_slots` field. Instance slots specify an array of file system destinations, allowing multiple config instances to share the same schema validation. Visit the [instance slots](/cfg-mgmt/concepts/schemas/annotations#instance-slots) for the full field reference. **Config Schema Response** ```diff nocopy theme={null} "id": "cfg_sch_123", "config_type_name": "Motion Control", - "instance_filepath": "/srv/miru/configs/motion-control.json", + "instance_slots": [ + { + "key": "default", + "name": "Default", + "filepath": "/srv/miru/configs/motion-control.json", + "required": true + } + ], ``` Previous `instance_filepath` fields have been converted to the following default slot where the `filepath` field contains the previous value of `instance_filepath`: ```diff nocopy theme={null} { "key": "default", "name": "Default", "filepath": "$instance_filepath", "required": true } ``` POST `/config_schemas` `instance_slots` is optional when creating a config schema. If you omit it, the server creates a single required slot with key `default`, name `Default`, and a filepath derived from the config type slug and the schema format. We recommend sending an explicit `instance_slots` array. ```diff nocopy theme={null} { "config_type_ref": { "slug": "motion-control" }, "language": "jsonschema", "format": "json", - "instance_filepath": "/srv/miru/configs/motion-control.json", + "instance_slots": [ + { + "key": "default", + "name": "Default", + "filepath": "/srv/miru/configs/motion-control.json", + "required": true + } + ], "documents": [ ... ] } ``` Config type slug is immutable PATCH `/config_types/{config_type_id}` Updating a config type no longer accepts a `slug` field — slugs are now immutable. ```diff nocopy theme={null} { "name": "Motion Control", - "slug": "motion-control" } ``` Deployment parent id is nullable POST `/deployments` The `parent_id` field when creating a deployment is now nullable and serves as an optimistic-concurrency token to ensure the parent deployment is the one you assert: * Present: asserts the device's current target deployment is the one with the given ID * Null: asserts the device has no current target deployment * Omitted: no concurrency check; the server fills in the device's current target ```diff nocopy theme={null} - "parent_id" accepts a deployment ID or is omitted. + "parent_id": "dpl_123" — present + "parent_id": null — null + — omitted ``` ## Additive changes Config schema instance format The config schema now contains an `instance_format` field, which explicitly specifies the format of config instances instantiated for that schema. Previously, the format was inferred from the schema's `instance_filepath` extension. `instance_format` is an enum that supports the following formats: * `json` * `yaml` * `xml` * `text` **Config Schema Response** ```diff nocopy theme={null} "id": "cfg_sch_123", "config_type_ref": { "slug": "motion-control" }, "language": "jsonschema", "format": "json", + "instance_format": "json", ``` POST `/config_schemas` ```diff nocopy theme={null} { "config_type_ref": { "slug": "motion-control" }, "language": "jsonschema", "format": "json", + "instance_format": "json", } ``` Config instance slot key Config instances must be bound to exactly one slot of their config schema and have thus acquired the `slot_key` field. **Config Instance Response** ```diff nocopy theme={null} "id": "cfg_inst_123", "config_schema_id": "cfg_sch_123", "filepath": "/srv/miru/configs/motion-control.json", + "slot_key": "default", ``` POST `/config_instances` When creating a config instance, `slot_key` is optional if the schema has exactly one slot. Otherwise, `slot_key` is required. ```diff nocopy theme={null} { "config_schema_id": "cfg_sch_123", + "slot_key": "controller_2", "content": { ... } } ``` GET `/config_instances` Config instances can now be filtered by their `slot_key`. ```diff nocopy theme={null} GET /config_instances + GET /config_instances?slot_key=controller_2 ``` Device group membership Devices now include the [group](/concepts/groups/overview) they belong to. `group_id` is always present and is `null` for unassigned devices. **Device Response** ```diff nocopy theme={null} "id": "dvc_123", "name": "My Device", + "group_id": "grp_123", ``` **Device Expansions** The full group object can be expanded, and devices can be filtered by group. ```diff nocopy theme={null} GET /devices + GET /devices?expand=group + GET /devices?group_id=grp_123 ``` On GET `/groups` and GET `/groups/{group_id}`, a group's `parent` can be expanded. ```diff nocopy theme={null} GET /groups + GET /groups?expand=parent ``` Archived device status `archived` is added to the device `status` enum. Previously, archived devices were reported as `inactive`, so a device that used to read `inactive` may now read `archived`. Update any code that branches on device status. **Device Status Enum** ```diff nocopy theme={null} "inactive" "activating" "online" "offline" + "archived" ``` Device description, status filter, and status sorting Devices now return a free-form `description`, which is `null` when unset. **Device Response** ```diff nocopy theme={null} "id": "dvc_123", "name": "My Device", + "description": "Welder on line 3", ``` GET `/devices` gained a `status` filter and `status` sort options. ```diff nocopy theme={null} GET /devices + GET /devices?status=online + GET /devices?order_by=status:asc ``` Opaque schema language `opaque` is added to the config schema `language` enum. An opaque schema carries metadata only and treats every config instance as valid. Visit the [opaque schema language](/cfg-mgmt/concepts/schemas/languages/opaque) documentation for details. **Config Schema Language Enum** ```diff nocopy theme={null} "jsonschema" "cue" + "opaque" ``` XML and plain text instance formats `xml` and `text` are added to the config instance `format` enum, in both config instance responses and the POST `/config_instances` request body. Visit the [config instance file formats](/cfg-mgmt/concepts/config-instances#file-formats) documentation for which formats each schema language supports. **Config Instance Response** ```diff nocopy theme={null} "json" "yaml" + "xml" + "text" ``` Deployment parent response A deployment now reports the deployment it was patched from. `parent_id` is always present and is `null` when the deployment has no parent. **Deployment Response** ```diff nocopy theme={null} "id": "dpl_123", "device_id": "dvc_123", + "parent_id": "dpl_122", ``` The full parent deployment can be expanded, on both GET `/deployments` and GET `/deployments/{deployment_id}`. ```diff nocopy theme={null} GET /deployments + GET /deployments?expand=parent + GET /deployments/{deployment_id}?expand=parent ``` Deployment lifecycle timestamps Deployments now report when they reached each stage of their lifecycle. `queued_at`, `deployed_at`, and `archived_at` are always present and are `null` until the deployment reaches that stage. **Deployment Response** ```diff nocopy theme={null} "created_at": "2026-08-17T00:00:00Z", "updated_at": "2026-08-17T00:05:00Z", + "queued_at": "2026-08-17T00:01:00Z", + "deployed_at": "2026-08-17T00:04:00Z", + "archived_at": null, ``` ## Migration steps **1. Update the Miru-Version header** Set `Miru-Version: 2026-08-17.everglades` on all API requests. [Python SDK](/developers/platform-api/sdks#python) `v0.11.0` marks the major version rollout of the `2026-08-17.everglades` API. For the latest SDK version compatibility information, visit the [Platform SDKs](/developers/platform-api/sdks) page. **2. Migrate from config schemas to use instance slots** Replace reads of `instance_filepath` with `instance_slots[].filepath`, and replace `instance_filepath` in `POST /config_schemas` request bodies with an explicit `instance_slots` array. Omitting `instance_slots` makes the server derive a default filepath rather than reuse your previous one. See [instance slots](/cfg-mgmt/concepts/schemas/annotations#instance-slots). **3. Stop sending slug when updating a config type** Remove `slug` from `PATCH /config_types/{config_type_id}` request bodies. Config type slugs are immutable. **4. Review parent\_id when creating deployments** No change is needed if you already omit `parent_id` or always send a deployment ID. Send `null` only to assert that the device has no current target deployment. **5. Optionally integrate new endpoints** Optionally integrate the new group endpoints listed above. **6. Optionally adopt new additive surface** Optionally integrate the new additive API changes listed above. *** # 2026-05-06.rainier *May 12, 2026* The `rainier` release introduces a provisioning-token flow that replaces the activation-token endpoint, expands supported config-instance content formats, restores the `removing` deployment status, and adds expandable `current_release` / `current_deployment` fields on devices.
  • API reference: [2026-05-06.rainier](/references/platform-api/2026-05-06)
  • OpenAPI spec: [Download YAML](https://assets.mirurobotics.com/docs/openapi/platform/2026-05-06.yaml)
## New endpoints Provisioning * POST `/provisioning_tokens` — create a provisioning token to add a device to your workspace ## Breaking changes Activation tokens replaced by provisioning tokens The `POST /devices/{device_id}/activation_token` endpoint has been removed. Callers should migrate to `POST /provisioning_tokens` instead. ```diff nocopy theme={null} - POST /devices/{device_id}/activation_token + POST /provisioning_tokens ``` Provisioning tokens are not scoped to a pre-existing device — create a token first, then use it to provision a new device or activate an existing device. Visit the [provisioning tokens](/provision-devices/provisioning-tokens) documentation for more details. ## Additive changes Instance content enum Config instances now support YAML content in addition to JSON. ```diff nocopy theme={null} # Instance Content format enum "json" + "yaml" ``` Deployment activity status `removing` is added back to the `activity_status` and `status` enums. This is a partial reversal of the tetons change, where deployments transitioned directly from `deployed` to `archived`. Deployments can sit in `removing` while config instances are torn down on the device before reaching `archived`. ```diff nocopy theme={null} # status / activity_status enum "staged" "drifted" "queued" "deployed" + "removing" "archived" ``` Device query parameters Device endpoints now support a few new query parameters: 1. Expand the `current_deployment` field on a device. ```diff nocopy theme={null} GET /devices + GET /devices?expand=current_deployment ``` 2. Expand the `current_release` field on a device. ```diff nocopy theme={null} GET /devices + GET /devices?expand=current_release ``` 3. Filter devices by `current_release_id` when listing devices. ```diff nocopy theme={null} GET /devices + GET /devices?current_release_id=rls_123 ``` ## Migration steps **1. Update the Miru-Version header** Set `Miru-Version: 2026-05-06.rainier` on all API requests. [Python SDK](/developers/platform-api/sdks#python) `v0.10.0` marks the major version rollout of the `2026-05-06.rainier` API. For the latest SDK version compatibility information, visit the [Platform SDKs](/developers/platform-api/sdks) page. **2. Migrate from activation tokens to provisioning tokens** Migrate install workflows to use [provisioning tokens](/provision-devices/provisioning-tokens) instead of activation tokens. **3. Optionally adopt new additive surface** * Handle `yaml` content format where needed * Handle `removing` deployment status or activity status where needed. * Implement or migrate to `expand=current_release` and/or `expand=current_deployment` for retrieving the current release or deployment on a device. *** # 2026-03-09.tetons *March 13, 2026* The `tetons` release introduces API versioning and overhauls the representation of deployments, config instances, and config schemas. It introduces management of more configuration resources (config types, schemas, and instances), release creation, git commit tracking, and explicit deployment lifecycle actions.
  • API reference: [2026-03-09.tetons](/references/platform-api/2026-03-09)
  • OpenAPI spec: [Download YAML](https://assets.mirurobotics.com/docs/openapi/platform/2026-03-09.yaml)
## New endpoints Auth * GET `/principal` — retrieve the current principal Config types * GET `/config_types` — list config types * GET `/config_types/{id}` — retrieve a config type * POST `/config_types` — create a config type * PATCH `/config_types/{id}` — update a config type Config schemas * GET `/config_schemas` — list config schemas\\ * GET `/config_schemas/{id}` — retrieve a config schema * POST `/config_schemas` — create a config schema\\ Config instances * POST `/config_instances` — create a config instance * GET `/config_instances/{id}/content` - download config instance content Deployments * POST `/deployments/{id}/deploy` — deploy a deployment * POST `/deployments/{id}/archive` — archive a deployment * GET `/deployments/{id}/drifts` — list deployment drifts Devices * POST `/devices/{id}/ping` — ping a device Git commits * GET `/git_commits` — list git commits * GET `/git_commits/{id}` — retrieve a git commit * POST `/git_commits` — create a git commit Releases * POST `/releases` — create a release ## Breaking changes Miru-Version header Requests require the `Miru-Version` header. ```diff nocopy theme={null} curl --request GET \ --url 'https://api.mirurobotics.com/beta/devices' \ --header 'X-API-Key: ' \ + --header 'Miru-Version: 2026-03-09.tetons' ``` Optional total\_count When listing resources, the `total_count` field is now omitted from the response if not expanded (i.e. `expand=total_count`) instead of being set to `-1`. ```diff nocopy theme={null} { "object": "list", - "total_count": -1, ... } ``` Optional instead of nullable expansions If an expansion is not included in the response, the field is omitted instead of being set to `null`. For example, the config instance response previously included `content`, `config_schema`, and `config_type` fields as null if not expanded. Now these fields are omitted if not expanded. ```diff nocopy theme={null} { "object": "config_instance", "id": "cfg_inst_123", ... - "content": null, - "config_schema": null, - "config_type": null } ``` Most resources are affected by this change, including config instances, config schemas, config types, releases, and deployments. Devices are unaffected. Deployment activity status * Renamed `needs_review` to `drifted`. * Removed `removing` and `validating`—deployments now transition directly from `deployed` to `archived`. ```diff nocopy theme={null} # activity_status enum values - "validating" "staged" - "needs_review" + "drifted" "queued" "deployed" - "removing" "archived" ``` These changes are also reflected in the deployment's [status](/concepts/deployments/status#status) field. Create deployment request * Replaced inline config instance creation with explicit config instance IDs. Create config instances separately via `POST /config_instances` first, then reference them by ID. * Renamed `patch_source_id` to `parent_id`. POST `/deployments` ```diff nocopy theme={null} { "release_id": "rls_123", "target_status": "staged", - "new_config_instances": [ - { - "content": { "speed": 100 }, - "relative_filepath": "/v1/motion-control.json" - } - ], + "config_instance_ids": ["cfg_inst_123"], - "patch_source_id": "dpl_456" + "parent_id": "dpl_456" } ``` Config instance response * Renamed `relative_filepath` to `filepath`. * Removed `device_id`, `activity_status`, `error_status`, `target_status`, and `status` fields. These fields now exclusively exist in the deployment resource. * Removed `updated_at` field. Config instances are immutable. ```diff nocopy theme={null} { "object": "config_instance", "id": "cfg_inst_123", "config_schema_id": "cfg_sch_123", "config_type_id": "cfg_type_123", "created_at": "2025-10-21T00:00:00Z" - "relative_filepath": "/v1/motion-control.json", + "filepath": "/v1/motion-control.json", - "activity_status": "deployed", - "device_id": "dev_123", - "device": null, - "error_status": "none", - "status": "deployed", - "target_status": "deployed", - "updated_at": "2025-10-21T00:00:00Z", ... } ``` * `content` now returns a string and its data format (e.g. `json`, `yaml`) instead of a raw JSON object. ```diff nocopy theme={null} { - "content": "{...}", + "content": { + "format": "json", + "data": "", } } ``` Config schema response * Renamed `relative_filepath` to `instance_filepath`. * Removed `version` ```diff nocopy theme={null} { "id": "cfg_sch_123", "config_type_id": "cfg_type_123", - "relative_filepath": "/v1/motion-control.json", + "instance_filepath": "/v1/motion-control.json", - "version": 1, ... } ``` * `content` is replaced by `documents`, which supports schema languages that can be defined across multiple files. ```diff nocopy theme={null} { - "content": "{...}", + "documents": [ + { + "id": "doc_123", + "name": "main.json", + "data": "", + } + ] } ``` Config instance query parameters Listing config instances no longer supports the `device_id`, `activity_status`, `error_status`, and `target_status` filters since these fields no longer exist in the config instance resource. Device query parameters Listing devices no longer supports the `current_release_id` filter. Removed endpoints Deleting devices is no longer supported. * DELETE `/devices/{device_id}` ## Additive changes Expansion Query Parameter Expansions can now be specified using the `expand` query parameter in addition to the `expand[]` query parameter. ```diff nocopy theme={null} curl --request GET \ --url 'https://api.mirurobotics.com/beta/config_instances?expand=content' \ --header 'X-API-Key: ' \ --header 'Miru-Version: 2026-03-09.tetons' ``` Config instance response Added the `config_type_name` field, allowing you to retrieve the name of the config type without expanding the config type resource. ```diff nocopy theme={null} { "id": "cfg_inst_123", "config_schema_id": "cfg_sch_123", "config_type_id": "cfg_type_123", + "config_type_name": "motion-control", ... "created_at": "2025-10-21T00:00:00Z" } ``` Config schema response * Added the `config_type_name` field, allowing you to retrieve the name of the config type without expanding the config type resource. * Added the `format` and `language` fields, supporting multiple schema formats and languages. ```diff nocopy theme={null} { "id": "cfg_sch_123", "config_type_id": "cfg_type_123", + "config_type_name": "motion-control", + "format": "json", + "language": "jsonschema", ... "created_at": "2025-10-21T00:00:00Z" } ``` Device response Added `agent_version` field, indicating the version of the Miru Agent running on the device. ```diff nocopy theme={null} { "id": "dev_123", "name": "Robot 11", "status": "online", + "agent_version": "v0.7.0", ... "created_at": "2025-10-21T00:00:00Z" } ``` Release response Added `git_commit_id` linking releases to their source commit. ```diff nocopy theme={null} { "id": "rls_123", "version": "v1.0.0", + "git_commit_id": "git_cmt_123", "created_at": "2025-10-21T00:00:00Z" } ``` ## Python SDK Beginning with the `2026-03-09.tetons` release, the Python SDK is published from [python-platform-sdk](https://github.com/mirurobotics/python-platform-sdk) and uses the `miru_platform_sdk` import path. ```diff nocopy theme={null} - from miru_server_sdk import Miru + from miru_platform_sdk import Miru ``` The previous Python SDK was published to [python-server-sdk](https://github.com/mirurobotics/python-server-sdk) and used the `miru_server_sdk` import path. Furthermore, SDK `v0.7.0` marks the major version rollout of the `2026-03-09.tetons` API. For the latest SDK version compatibility information, see the [Platform SDKs](/developers/platform-api/sdks) page. ## Migration steps **1. Set the Miru-Version header** Set the `Miru-Version: 2026-03-09.tetons` header on all API requests. If you are using the [Python SDK](/developers/platform-api/sdks#python), this is done automatically. **2. Migrate breaking changes** Migrate your client application according to the breaking changes listed above. If you are using the [Python SDK](/developers/platform-api/sdks#python), migrate from the legacy repository [python-server-sdk](https://github.com/mirurobotics/python-server-sdk) to [python-platform-sdk](https://github.com/mirurobotics/python-platform-sdk) and update imports from `miru_server_sdk` to `miru_platform_sdk`. **3. Optionally integrate new endpoints** Optionally integrate the new endpoints listed above. *** # 2025-10-21.zion *October 21, 2025* > [!CAUTION] > > The `2025-10-21.zion` API version is no longer supported. See [supported versions](/developers/platform-api/versioning#supported-versions). Initial release of the Platform API. This version establishes core API endpoints for managing the deployment pipeline—from defining configurations through releasing and deploying to devices.
  • API reference: [2025-10-21.zion](/references/platform-api/2025-10-21)
  • OpenAPI spec: [Download YAML](https://assets.mirurobotics.com/docs/openapi/platform/2025-10-21.yaml)
## Endpoints Devices * GET `/devices` — list devices * GET `/devices/{device_id}` — retrieve a device * POST `/devices` — create a device * PATCH `/devices/{device_id}` — update a device * DELETE `/devices/{device_id}` — delete a device * POST `/devices/{device_id}/activation_token` — create an activation token Releases * GET `/releases` — list releases * GET `/releases/{release_id}` — retrieve a release Deployments * GET `/deployments` — list deployments * GET `/deployments/{deployment_id}` — retrieve a deployment * POST `/deployments` — create a deployment Config instances * GET `/config_instances` — list config instances * GET `/config_instances/{config_instance_id}` — retrieve a config instance ## Query parameters Filters Filtering allows you to narrow list results by resource fields like `id`, `device_id`, `status`, and more. Check out the [Filtering](/developers/platform-api/query-params/filtering) documentation for more details. Sorting Sort list results with `order_by=:`. Most endpoints default to `order_by=created_at:desc`. Check out the [Sorting](/developers/platform-api/query-params/sorting) documentation for more details. Expansions Include related resources in responses with `expand[]` (e.g. `expand[]=config_schema`). See [Expansions](/developers/platform-api/query-params/expansions) documentation for more details. Pagination All list endpoints support offset-based pagination with `offset` and `limit`. Check out the [Pagination](/developers/platform-api/query-params/pagination) documentation for more details. ## Python SDK `2025-10-21.zion` comes with an official Python SDK published to [python-server-sdk](https://github.com/mirurobotics/python-server-sdk). For more details on usage, visit the [python-server-sdk](https://github.com/mirurobotics/python-server-sdk) repository. > [!CAUTION] > > The [python-server-sdk](https://github.com/mirurobotics/python-server-sdk) repository is no longer supported. Please migrate to the [python-platform-sdk](https://github.com/mirurobotics/python-platform-sdk) repository for the latest version of the Platform API. *** # Product Source: https://docs.mirurobotics.com/changelog/product **October 27, 2026** ## Calibrations Devices can now report calibrations to Miru, so the calibration results for every arm, camera, and gripper in your fleet are stored with their full history. An application on the device reports a calibration to the Miru Agent through the [Device API](/developers/device-api/overview), using the [Python Device SDK](https://pypi.org/project/miru-device-sdk/) or your own client. The agent saves it on the device and uploads it once the device is online, so calibrations taken while offline aren't lost. To start reporting calibrations, upgrade your devices to [Miru Agent v0.12.0](/changelog/agent#v0-12-0) or later and follow the [report calibrations guide](/cfg-mgmt/report-calibrations). ## Device Staging Staging now happens on the device page. Each device has a new **Staging** tab where you prepare its next release, see exactly what will change, and deploy when it's ready. To manage a release across your fleet, use the Staging tab on the release itself. It lists every device the release is staged on, so you can deploy or archive them all at once. ## File Bundling File rules can now group related uploads into [bundles](/data-uploads/concepts/upload-bundles), such as all the files from a single recording or run. Bundling is opt-in: rules without `upload.bundle` upload as before. To bundle files, name part of a rule's glob with a `{key}` [capture](/data-uploads/concepts/file-rules/rule-definition#glob-captures) and list it in [`upload.bundle`](/data-uploads/concepts/file-rules/rule-definition#param-bundle). Uploads from the same device that capture the same values share a bundle: * **Captures:** A `{key}` in `source.glob` matches like `*` and records the matched text. Use a capture in `upload.path` to name objects after the folder or file they came from * **Bundle ID:** Use `{bundle_id}` in `upload.path` to store a bundle's files under one prefix in your bucket * **Across file rules:** Rules that upload to the same collection share a bundle when their captured values match, so a recording and its metadata file can come from separate rules * **Per device:** Bundles never span devices, so identical values from two devices land in different bundles * **Object metadata:** Uploaded objects now carry `upload_id`, `file_rule_id`, and `workspace_id`, plus `bundle_id` for bundled uploads, so an object in your bucket links back to Miru File bundling requires [Miru CLI v0.12.2](/changelog/cli#v0-12-2) or later. Devices don't need an agent update. [Upload bundles »](/data-uploads/concepts/upload-bundles) Improvements • **Upload times in the device's time zone:** Upload path time variables now come from the file's modification time instead of the upload time. Set [`upload.timezone`](/data-uploads/concepts/file-rules/rule-definition#param-timezone) to `device` to render them in the device's local time, and use `{timezone}` to add the UTC offset. Requires [Miru CLI v0.12.3](/changelog/cli#v0-12-3) and [Miru Agent v0.12.0](/changelog/agent#v0-12-0) or later. • **History tab:** The device's Deployments tab is now **History**. Alongside the list, a diff view compares each deployment against its parent, with status and release filters. Redeploy and copy actions moved to each row's menu. • **Compare on the device:** Compare is now a device tab. Compare a device against another device, or against its own earlier deployments to see how it changed over time. • **Focused device editor:** The editor is now for editing and deploying, while History is for inspecting past deployments. The Changes panel lists errors first, then every change grouped by file, each with its own diff, discard, and restore. • **Config file details:** Hover a file in the editor to see the device path it's written to, its config type, slot, and format, with a link to its schema. • **Device and release sidebar:** Inside a device or release, the sidebar folds the workspace navigation into an icon rail beside a panel listing that device's or release's pages. Its switcher leads with your recently visited devices and releases. The sidebar is resizable, and **⌘B** collapses the panel. • **Device overview:** A details rail shows the device's properties, system info, and who has access to it. Rename the device from its title, and ping or reprovision it from the menu beside the name. • **Deployment details:** The deployment sheet now has Deployment, Changes, and Configurations tabs, with a timeline of when the deployment was created, queued, deployed, and archived, and its changes against its parent. • **Old values in diffs:** Every modified line now shows the value it replaced. When Miru can't verify a structured diff, it shows a line diff and says why, instead of highlighting the wrong lines. • **Deleted lines while editing:** The editor gutter marks where lines were deleted from the file. • **Consistent change counts:** The editor, deploy and stage summaries, activity feed, and deployment details now count a file's changes the same way. • **Duplicate JSON keys:** Duplicate keys in a JSON config are flagged as errors on the duplicate key, and block deploying until they're fixed. • **Faster device pages:** Device tabs open instantly, and hovering a tab or a switcher row preloads its page. • **Connection status:** The device header shows **Reconnecting…** when live updates drop, and the device reloads when they come back so no update is missed. Fixes • **YAML formatting:** YAML configs are no longer reformatted on deploy, stage, or **Format file**. Only edited JSON is formatted. • **Stale staged deployments:** Staging or deploying after another deployment reached the device could silently revert it. It's now rejected with a notice naming the new deployment. • **Unsaved drafts:** Closing a tab with unsaved edits now asks first, and logging out clears your drafts so the next person to sign in on that browser can't deploy them. • **Undo across files:** Each file keeps its own undo history when you switch between files. • **Exact discards:** Discarding a change restores exactly what was there, or is refused when it can't be. • **Large files:** Large arrays and YAML files no longer freeze the editor while diffing. • **Invalid file rule globs:** A file rule whose glob can't be compiled, such as `/logs/[ab.log`, is now rejected when the release is created. Before, it was accepted and stopped the device from applying the release's file rules. Globs also can no longer contain `.` path segments, such as `/data/./logs/*`. • **Long uploads to Google Cloud Storage:** GCS upload credentials could expire minutes after an upload started. They now last close to an hour, like S3 credentials. **October 9, 2026** ## Windows Support The Miru Agent now supports **Windows 11 (x64)**. * **Signed installer:** Install, upgrade, and uninstall the agent with a signed MSI. The agent runs as the `miru-agent` Windows service without administrator rights * **Device API:** Applications on the device call the [Device API](/developers/device-api/authn) over loopback TCP * **System info:** All devices now report their operating system, CPU architecture, hostname, OS version, and kernel version, shown on the device page Windows support requires [Miru Agent v0.11.0](/changelog/agent#v0-11-0) or later. [Install the agent »](/developers/agent/install) Improvements • **Releases version sorting:** Releases are now sorted by version following semantic versioning, so `v0.10` sorts above `v0.9`. This applies to the Releases list and to ordering devices by their current release. • **No agent filter:** Filter the device list to devices with no agent, such as devices that haven't been provisioned yet. • **Duplicating a release copies its file rules:** A duplicated release now keeps the file rules of the release it was copied from. • **Archive devices with deployments:** Devices that have deployments can no longer be deleted, which keeps their deployment history intact. Archive them instead. • **Faster provisioning dialog:** The provisioning token loads when you hover over the button, so the dialog opens on the command immediately. Fixes • **Archived device status:** Archived devices no longer change back to `offline` or `online` when their connection drops or reconnects. • **Uploads to archived buckets:** Devices could keep uploading to an archived bucket. Archived buckets now reject new uploads until they're unarchived. • **Provisioning archived devices:** Provisioning an archived device brought it back without its deployment. It's now rejected with a prompt to [reprovision](/provision-devices/reprovision) the device, which fully restores it. • **Live device updates:** Hovering over a group could stop live status updates on the device list from appearing. • **Device descriptions:** A device's description is now read-only for users who can't edit the device, and hidden when it's empty. • **Bulk archive limit:** Bulk archive is disabled when more than 100 devices are selected, the most that can be archived at once, and the tooltip says why. **September 23, 2026** ## Device Views Narrow down a large fleet to the devices you care about with new filters, group by, and display options. Save any combination as a view and share it with your workspace. ### Filters and search Filter devices by **status**, **release**, **group**, or **agent version**. Each active filter shows up as a chip above the list that you can click to remove. In addition, you can now search devices by their name and description.