Create
Create a new config schema.
Authorizations
The API key to use for authentication.
Headers
The API version the client was built against.
"2026-08-17.everglades"
Query Parameters
Fields to expand on the config schema resource.
documents, config_type Body
A reference to a config type. At least one of id or slug must be provided. When both are provided, id takes precedence and slug is ignored.
jsonschema, cue, opaque "jsonschema"
json, yaml, cue The schema document files.
The file system destinations this config schema writes to. Slot keys and filepaths must each be unique within the schema, and slot filepaths must be unique across every config schema in a release. Optional: when omitted, the server creates a single required slot with key default, name Default, and a filepath of /srv/miru/configs/<config_type_slug>.<json|yaml> derived from the config type slug and the schema format. When provided, the array must contain at least one slot.
1The 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.
json, yaml, jsonc, xml, text The git commit to link to this config schema.
Response
Successfully created the config schema.
The object type, which is always config_schema.
config_schema "config_schema"
ID of the config schema.
"cfg_sch_123"
The digest of the config schema.
"sha256:1234567890"
The name of the config type.
"Motion Control"
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.
1The 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.
json, yaml, jsonc, xml, text Timestamp of when the config schema was created.
"2021-01-01T00:00:00Z"
Timestamp of when the config schema was last updated.
"2021-01-01T00:00:00Z"
ID of the config type.
"cfg_typ_123"
jsonschema, cue, opaque "jsonschema"
json, yaml, cue Expand the config schema documents using expand=documents in the query string.
Expand the config type using 'expand=config_type' in the query string.

