> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mirurobotics.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get

> Retrieve a config instance by ID.

| Scope                   | Required |
| ----------------------- | -------- |
| `config_instances:read` | Yes      |


## OpenAPI

````yaml /references/platform-api/2026-08-17.yaml get /config_instances/{config_instance_id}
openapi: 3.0.3
info:
  title: Miru Platform API
  description: The API between Miru and any external client
  version: 2026-08-17.everglades
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
  x-release-version: 2026-08-17.everglades
  x-git-commit:
    sha: b0d008b18d840e3f7ad65ae4beb60b19863b665e
    url: >-
      https://github.com/mirurobotics/openapi/commit/b0d008b18d840e3f7ad65ae4beb60b19863b665e
    message: >-
      refactor(platform): remove bulk device move (#251)


      ## What


      Removes device→group *movement* from the platform audience. Two things

      go, together:


      1. **`POST /devices/move/bulk` (`bulkMoveDevices`)** — the path item in

      `apis/apps/backend-server/platform/paths/devices.yaml`, its entry in

      `platform/openapi.yaml`, and the `devices.bulk_move` method in

      `tools/stainless/platform.yml`.

      2. **`group_id` on the platform `CreateDeviceRequest`** — the only place

      `group_id` appeared in a platform request body.


      Device→group membership is now **fully read-only** on the platform API.


      ## What deliberately stays


      Nothing on the *read* side moved, and group structure stays writable:


      | Kept | Why |

      |---|---|

      | `group_id` on the `Device` schema | read field, unaffected |

      | `expand=group` on `Device`, and `group` in `DeviceExpansion` /

      `DeviceListExpansion` | read surface |

      | `group_id` filter on `GET /devices` (`device_search_group_id`) | read

      surface |

      | `GET /groups`, `GET /groups/{group_id}`, `POST /groups`, `PATCH

      /groups/{group_id}` | group CRUD is orthogonal to device membership |

      | **`POST /groups/{group_id}/move` (`moveGroup`)** | reparents a

      **group** in the tree, not devices between groups — different resource,

      different scope, and reversible by another reparent |

      | `apis/configs/components/requests/device.yaml#/BulkMoveDevicesRequest`

      | still referenced by `frontend` and `cli`, which keep their `bulk_move`

      methods |


      `moveGroup` surviving is the thing worth double-checking in review,

      since "move" appears on both resources. Verification below gates on it

      explicitly.


      ## Why create-time `group_id` goes with the endpoint


      This is the load-bearing part, not an incidental tidy-up.


      Without a move operation, a create-time `group_id` is a **one-way

      door**. A device could be placed into a group at provision time and then

      never moved out, reassigned, or relocated in the tree — through the API,

      ever. Shipping a write that can be exercised exactly once per resource

      lifetime is worse than shipping no write at all, because it hands

      customers a state they cannot get out of without the dashboard.


      So both go together, and the result is coherent: you can *see* which

      group a device is in, expand the group object, and filter a device list

      by group. You cannot set or change it.


      ## Not breaking


      `platform/2026-05-06.rainier` — the last **stable** platform release —

      has **no bulk-move endpoint and no groups resource at all**. `POST

      /devices/move/bulk` and create-time `group_id` existed only in the

      prereleases `platform/2026-08-17.everglades-beta.3` and

      `everglades-beta.4`.


      Withdrawing beta-only surface before everglades goes stable is free;

      after it goes stable it would not be. Same reasoning as #244 (upload

      collections) and #250 (the `devices:move` scope).


      ## Verification


      `./scripts/regen.sh`, `./scripts/lint.sh`, and `./scripts/preflight.sh`

      (`=== All checks passed ===`) all clean; `./scripts/is-stale.sh` reports

      `All generated specs are up to date.`


      - **Platform route count 25 → 24.**

      - **Scope histogram: `devices:write` 3 → 2**, `groups:write` unchanged

      at **3**, everything else unchanged.

      - Zero hits for `move/bulk`, `bulkMoveDevices`, or `BulkMoveDevices`

      anywhere in the platform tree or bundle; zero `bulk` in

      `tools/stainless/platform.yml`.

      - `CreateDeviceRequest` in the bundle is down to `name` alone — no

      `group_id`.

      - The generated `Device` block still carries `group_id` (required +

      property) and the `group` expandable; `group` present in **both**

      expansion enums; two `name: group_id` query params still in the bundle.

      - All five group routes present, `moveGroup` included.

      - Platform bundle diff is `0 55` — a pure deletion. No other audience's

      bundle changed and `apis/configs/` is untouched.


      A bare `grep group_id` is useless here — it matches the group path

      param, the `Device` read field, the `DvcSearch` enum member, and the

      list filter, all of which survive. Every check above is scoped to a

      specific schema block or uses a precise pattern.


      Plan: `plans/active/20260817-remove-platform-bulk-device-move.md`.


      ## Follow-ups


      **Release.** A new `platform/2026-08-17.everglades-beta.5` must be cut

      after merge — **tag the squash-merge commit on `main`**, not the branch

      head. Tagging a branch head makes the release job skip silently and

      publish nothing.


      **Backend.** Three changes:

      - Remove the `bulkMoveDevices` HTTP wiring.

      - Re-stub `CreateDevice.GetGroupID()` back to `optnull.None[string]()`.

      - Revert `Perms.Devices.Move` out of **both** `devices:write` and

      `devices:manage` — it was added to `devices:write` in #624 solely for

      this endpoint.


      **Docs.** docs#158 must drop the endpoint from the everglades changelog

      and from `authz.mdx`.


      <!-- codesmith:footer -->

      ---

      <a

      href="https://app.blacksmith.sh/mirurobotics/codesmith/openapi/pr/251"><picture><source

      media="(prefers-color-scheme: dark)"

      srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v2.svg"><source

      media="(prefers-color-scheme: light)"

      srcset="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-light-v2.svg"><img

      alt="View with [code]smith"

      src="https://pr-comments-assets.blacksmith.sh/codesmith/view-with-codesmith-dark-v2.svg"></picture></a>

      <a

      href="https://backend.blacksmith.sh/track/enable-autofix?expires=1789530880&installation_model_id=425273&pr_number=251&repository=mirurobotics%2Fopenapi&return_to=https%3A%2F%2Fgithub.com%2Fmirurobotics%2Fopenapi%2Fpull%2F251&signature=2eb2605a3305593f4e312c9f2a422d741a1a5991955adf57e51041a329830e09"><picture><source

      media="(prefers-color-scheme: dark)"

      srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark.svg"><source

      media="(prefers-color-scheme: light)"

      srcset="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-light.svg"><img

      alt="Autofix with [code]smith"

      src="https://pr-comments-assets.blacksmith.sh/codesmith/autofix-with-codesmith-dark.svg"></picture></a>

      <sup>Need help on this PR? Tag <code>@codesmith</code> with what you

      need. Autofix is disabled.</sup>


      <!-- codesmith:autofix:disabled -->

      <!-- /codesmith:footer -->


      ---------


      Co-authored-by: Claude <noreply@anthropic.com>
    author: ben-miru
    branch: HEAD
    dirty: false
  x-build:
    built_at: '2026-08-17T04:08:03.448835+00:00'
servers:
  - url: https://api.mirurobotics.com/beta
    description: Miru Platform API
security:
  - ApiKeyAuth: []
paths:
  /config_instances/{config_instance_id}:
    parameters:
      - $ref: '#/components/parameters/MiruVersion'
    get:
      tags:
        - Config Instances
      summary: Get
      description: Retrieve a config instance by ID.
      operationId: getConfigInstance
      parameters:
        - $ref: '#/components/parameters/config_instance_id'
        - $ref: '#/components/parameters/config_instance_expansions'
      responses:
        '200':
          description: Successfully retrieved the config instance.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConfigInstance'
components:
  parameters:
    MiruVersion:
      name: Miru-Version
      in: header
      required: true
      schema:
        type: string
        example: 2026-08-17.everglades
      description: The API version the client was built against.
    config_instance_id:
      name: config_instance_id
      in: path
      required: true
      description: The unique identifier of the config instance.
      schema:
        type: string
        example: cfg_inst_123
    config_instance_expansions:
      name: expand
      in: query
      required: false
      description: Fields to expand on the config instance resource.
      schema:
        type: array
        items:
          $ref: '#/components/schemas/ConfigInstanceExpansion'
        example:
          - content
  schemas:
    ConfigInstance:
      title: Config Instance
      allOf:
        - $ref: '#/components/schemas/BaseConfigInstance'
        - type: object
          properties:
            config_schema:
              allOf:
                - $ref: '#/components/schemas/ConfigSchema'
              description: >-
                Expand the config schema using 'expand=config_schema' in the
                query string.
            config_type:
              allOf:
                - $ref: '#/components/schemas/ConfigType'
              description: >-
                Expand the config type using 'expand=config_type' in the query
                string.
            content:
              allOf:
                - $ref: '#/components/schemas/InstanceContent'
              description: >-
                The configuration values associated with the config instance.
                Expand the content using 'expand=content' in the query string.
      example:
        object: config_instance
        id: cfg_inst_123
        config_type_name: Motion Control
        filepath: /srv/miru/configs/v1/motion-control.json
        slot_key: default
        created_at: '2021-01-01T00:00:00Z'
        config_schema_id: cfg_sch_123
        config_type_id: cfg_typ_123
    ConfigInstanceExpansion:
      type: string
      enum:
        - content
        - config_schema
        - config_type
      x-enum-varnames:
        - CONFIG_INSTANCE_EXPAND_CONTENT
        - CONFIG_INSTANCE_EXPAND_CONFIG_SCHEMA
        - CONFIG_INSTANCE_EXPAND_CONFIG_TYPE
    BaseConfigInstance:
      title: Base Config Instance
      type: object
      required:
        - object
        - id
        - config_type_name
        - filepath
        - created_at
        - config_schema_id
        - config_type_id
        - slot_key
      properties:
        object:
          type: string
          enum:
            - config_instance
          example: config_instance
          x-stainless-const: true
          description: The object type, which is always `config_instance`.
        id:
          type: string
          example: cfg_inst_123
          description: ID of the config instance.
        config_type_name:
          type: string
          example: Motion Control
          description: The name of the config type.
        filepath:
          type: string
          example: /srv/miru/configs/v1/motion-control.json
          description: The absolute file system path where this config instance is written.
        slot_key:
          type: string
          example: controller_2
          description: >-
            The key of the config schema slot this instance is bound to. Must
            match the `key` of one of the slots declared by this instance's
            config schema.
        created_at:
          type: string
          format: date-time
          example: '2021-01-01T00:00:00Z'
          description: The timestamp of when the config instance was created.
        config_schema_id:
          type: string
          example: cfg_sch_123
          description: ID of the config schema which the config instance must adhere to.
        config_type_id:
          type: string
          example: cfg_type_123
          description: >-
            ID of the config type which the config instance (and its schema) is
            a part of.
    ConfigSchema:
      title: Config Schema
      allOf:
        - $ref: '#/components/schemas/BaseConfigSchema'
        - type: object
          properties:
            config_type:
              allOf:
                - $ref: '#/components/schemas/ConfigType'
              description: >-
                Expand the config type using 'expand=config_type' in the query
                string.
      example:
        object: config_schema
        id: cfg_sch_123
        digest: sha256:1234567890
        config_type_name: Motion Control
        instance_slots:
          - key: default
            name: Default
            filepath: /srv/miru/configs/v1/motion-control.json
            required: true
        instance_format: json
        created_at: '2021-01-01T00:00:00Z'
        updated_at: '2021-01-01T00:00:00Z'
        config_type_id: cfg_typ_123
        language: jsonschema
        format: json
    ConfigType:
      allOf:
        - $ref: '#/components/schemas/BaseConfigType'
      example:
        object: config_type
        id: cfg_typ_123
        name: Motion Control
        slug: motion-control
        created_at: '2021-01-01T00:00:00Z'
        updated_at: '2021-01-01T00:00:00Z'
        created_by_id: usr_123
        updated_by_id: usr_123
    InstanceContent:
      title: Instance Content
      type: object
      required:
        - format
        - data
      properties:
        format:
          $ref: '#/components/schemas/InstanceFormat'
        data:
          type: string
          description: The configuration values associated with the config instance.
          example: |
            {
              "enable_autonomy": true,
              "enable_remote_control": true,
              "max_payload_kg": 10.0
            }
      example:
        format: json
        data: |
          {
            "enable_autonomy": true,
            "enable_remote_control": true,
            "max_payload_kg": 10.0
          }
    BaseConfigSchema:
      title: Base Config Schema
      type: object
      required:
        - object
        - id
        - digest
        - config_type_name
        - instance_format
        - created_at
        - updated_at
        - config_type_id
        - language
        - format
        - instance_slots
      properties:
        object:
          type: string
          enum:
            - config_schema
          example: config_schema
          x-stainless-const: true
          description: The object type, which is always `config_schema`.
        id:
          type: string
          example: cfg_sch_123
          description: ID of the config schema.
        digest:
          type: string
          example: sha256:1234567890
          description: The digest of the config schema.
        config_type_name:
          type: string
          example: Motion Control
          description: The name of the config type.
        instance_slots:
          type: array
          minItems: 1
          description: >-
            The file system destinations this config schema writes to. Every
            config schema has at least one slot. Slots share the schema's
            validation and differ only in where the file is written; a file
            needing different validation is a different config type, not a slot.
            Slot keys and filepaths must each be unique within the schema, and
            slot filepaths must be unique across every config schema in a
            release.
          items:
            $ref: '#/components/schemas/InstanceSlot'
          example:
            - key: default
              name: Default
              filepath: /srv/miru/configs/v1/motion-control.json
              required: true
        instance_format:
          $ref: '#/components/schemas/InstanceFormat'
        created_at:
          type: string
          format: date-time
          example: '2021-01-01T00:00:00Z'
          description: Timestamp of when the config schema was created.
        updated_at:
          type: string
          format: date-time
          example: '2021-01-01T00:00:00Z'
          description: Timestamp of when the config schema was last updated.
        config_type_id:
          type: string
          example: cfg_typ_123
          description: ID of the config type.
        language:
          $ref: '#/components/schemas/SchemaLanguage'
        format:
          $ref: '#/components/schemas/SchemaFormat'
        documents:
          allOf:
            - $ref: '#/components/schemas/SchemaDocuments'
          description: >-
            Expand the config schema documents using `expand=documents` in the
            query string.
          example:
            - id: doc_123
              name: main.json
              data: |
                {
                  "$schema": "https://json-schema.org/draft/2020-12/schema",
                  "type": "object"
                }
    BaseConfigType:
      title: Config Type
      type: object
      required:
        - object
        - id
        - name
        - slug
        - created_at
        - updated_at
      properties:
        object:
          type: string
          enum:
            - config_type
          example: config_type
          x-stainless-const: true
          description: The object type, which is always `config_type`.
        id:
          type: string
          example: cfg_123
          description: ID of the config type.
        name:
          type: string
          example: My Config Type
          description: Name of the config type.
        slug:
          type: string
          example: my-config-type
          description: An immutable, code-friendly name for the config type.
        created_at:
          type: string
          format: date-time
          example: '2021-01-01T00:00:00Z'
          description: Timestamp of when the config type was created.
        updated_at:
          type: string
          format: date-time
          example: '2021-01-01T00:00:00Z'
          description: Timestamp of when the config type was last updated.
    InstanceFormat:
      title: Instance Format
      type: string
      description: >
        The on-disk format used when a config instance is written to the device
        filesystem.

        - `json`: standard JSON.

        - `yaml`: YAML 1.2.

        - `jsonc`: JSON with comments (JSON plus `//` and `/* */` comment
        syntax).

        - `xml`: XML.

        - `text`: plain, unstructured text with no specific format.
      enum:
        - json
        - yaml
        - jsonc
        - xml
        - text
      x-enum-varnames:
        - INSTANCE_FORMAT_JSON
        - INSTANCE_FORMAT_YAML
        - INSTANCE_FORMAT_JSONC
        - INSTANCE_FORMAT_XML
        - INSTANCE_FORMAT_TEXT
    InstanceSlot:
      title: Instance Slot
      type: object
      required:
        - key
        - name
        - filepath
        - required
      properties:
        key:
          type: string
          pattern: ^[a-z0-9][a-z0-9_-]*$
          maxLength: 128
          example: controller_2
          description: >-
            An immutable, code-friendly identifier for this slot, unique within
            the schema. Lowercase alphanumerics, underscores, and hyphens; must
            start with an alphanumeric; at most 128 characters.
        name:
          type: string
          example: Controller 2
          description: The human-readable name of this slot.
        filepath:
          type: string
          example: >-
            /var/local/forge/configuration/robot_drivers/controller_2/topic_list.yaml
          description: >-
            The absolute file system path where instances bound to this slot are
            written. Must be unique within the schema, and unique across every
            config schema in a release.
        required:
          type: boolean
          example: true
          description: >-
            Whether every deployment of a release containing this schema must
            include an instance for this slot. A deployment includes at most one
            config instance per slot.
        description:
          type: string
          example: Topic list for the second motor controller.
          description: An optional human-readable description of this slot.
      example:
        key: controller_2
        name: Controller 2
        filepath: >-
          /var/local/forge/configuration/robot_drivers/controller_2/topic_list.yaml
        required: true
        description: Topic list for the second motor controller.
    SchemaLanguage:
      title: Schema Language
      type: string
      example: jsonschema
      enum:
        - jsonschema
        - cue
        - opaque
      x-enum-varnames:
        - JSONSCHEMA
        - CUE
        - OPAQUE
    SchemaFormat:
      title: Schema Format
      type: string
      enum:
        - json
        - yaml
        - cue
      x-enum-varnames:
        - SCHEMA_FORMAT_JSON
        - SCHEMA_FORMAT_YAML
        - SCHEMA_FORMAT_CUE
    SchemaDocuments:
      type: array
      items:
        $ref: '#/components/schemas/SchemaDocument'
      example:
        - id: doc_123
          name: main.json
          data: |
            {
              "$schema": "https://json-schema.org/draft/2020-12/schema",
              "type": "object"
            }
    SchemaDocument:
      title: Schema Document
      type: object
      required:
        - id
        - name
        - data
      properties:
        id:
          type: string
          description: The unique identifier for this document.
          example: doc_123
        name:
          type: string
          description: The document filename.
          example: main.json
        data:
          type: string
          description: The raw document content.
      example:
        id: doc_123
        name: main.json
        data: |
          {
            "$schema": "https://json-schema.org/draft/2020-12/schema",
            "type": "object"
          }
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: The API key to use for authentication.

````