---
title: "Role document schema"
method: GET
path: "/api/v1/roles/schema"
tags: ["roles"]
---

# Role document schema

`GET /api/v1/roles/schema`

## Request

- The document declares no server URL.
- Auth: one of:
  - API key in header `X-API-Key`
  - API key in header `Authorization`

The JSON Schema a role document follows, for editors and tooling.

## Response `200`

OK

- object

## Changes

> 65 revisions in range; 1 not diffed.

- **2026-10-23** `18c57b576cb6`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/marmotdata/apis/marmot-api/changes/api/v1/roles/schema/get.md)

---

[API](https://skmtc.dev/marmotdata/apis/marmot-api.md) - [All operations](https://skmtc.dev/marmotdata/apis/marmot-api/llms.txt) - [OpenAPI document](https://skmtc.dev/marmotdata/apis/marmot-api/revisions/18c57b576cb6?raw)
