---
title: "Get"
method: GET
path: "/config_schemas/{config_schema_id}"
tags: ["Config Schemas"]
---

# Get

`GET /config_schemas/{config_schema_id}`

Retrieve a config schema by ID.

## Path parameters

- `config_schema_id` string, required

## Query parameters

- `expand` ConfigSchemaExpansion[]

## Response `200`

Successfully retrieved the config schema.

- ConfigSchema
  - `object` 'config_schema', required — The object type, which is always `config_schema`.
  - `id` string, required — ID of the config schema.
  - `digest` string, required — The digest of the config schema.
  - `config_type_name` string, required — The name of the config type.
  - `instance_filepath` string, required — The absolute file system path where config instances for this schema are written.
  - `created_at` string, date-time, required — Timestamp of when the config schema was created.
  - `updated_at` string, date-time, required — Timestamp of when the config schema was last updated.
  - `config_type_id` string, required — ID of the config type.
  - `language` 'jsonschema' | 'cue', required
  - `format` 'json' | 'yaml' | 'cue', required
  - `documents` SchemaDocument[]
    - `id` string, required — The unique identifier for this document.
    - `name` string, required — The document filename.
    - `data` string, required — The raw document content.
  - `config_type` ConfigType
    - `object` 'config_type', required — The object type, which is always `config_type`.
    - `id` string, required — ID of the config type.
    - `name` string, required — Name of the config type.
    - `slug` string, required — An immutable, code-friendly name for the config type.
    - `created_at` string, date-time, required — Timestamp of when the config type was created.
    - `updated_at` string, date-time, required — Timestamp of when the config type was last updated.

---

[API](https://skmtc.dev/mirurobotics/apis/miru-api.md) · [All operations](https://skmtc.dev/mirurobotics/apis/miru-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mirurobotics/miru-api/revisions/cd84166b2b52/schema)
