Skip to main content
GET
Get

Authorizations

X-API-Key
string
header
required

The API key to use for authentication.

Headers

Miru-Version
string
required

The API version the client was built against.

Example:

"2026-10-28.everglades"

Path Parameters

component_role_id
string
required

The unique identifier of the component role.

Example:

"cmp_rol_123"

Query Parameters

expand
enum<string>[]

Fields to expand on the component role.

Available options:
component
Example:

Response

200 - application/json

Successfully retrieved the component role.

A role a calibrated unit fills on a device, such as left or front-left. Miru creates a role the first time a device reports a calibration with a new role for the component; roles are never created or deleted through the API. A component holds at most 100 roles.

object
enum<string>
required

The object type, which is always component_role.

Available options:
component_role
Example:

"component_role"

id
string
required

ID of the role.

Example:

"cmp_rol_123"

component_id
string
required

ID of the component the role belongs to.

Example:

"cmp_123"

slug
string
required

The immutable value devices report as role when they create a calibration, unique within the component.

Example:

"front-left"

name
string
required

Display name of the role. Defaults to a name inferred from the slug, with words split on - and _ and each capitalized (front-left becomes Front Left). Publishers can rename it.

Example:

"Front Left"

created_at
string<date-time>
required

Timestamp of when Miru created the role, which is when a device first reported a calibration with its slug for the component.

Example:

"2021-01-01T00:00:00Z"

updated_at
string<date-time>
required

Timestamp of when the role was last updated.

Example:

"2021-01-01T00:00:00Z"

component
Component · object

The component the role belongs to. Expand using expand=component in the query string.

Example: