# Get the monitorly.yaml schema

`GET /api/v1/schemas/monitorly-config.json`

The JSON Schema of `monitorly.yaml`, for editors and validators. No sign-in needed.

Sign-in: none.

Section: Config plan and apply. Operation id in openapi.json: `get_config_schema`.

## Responses

Errors are `application/problem+json` (`Problem`); branch on `type`.

### 200

JSON Schema 2020-12 of the config body

`application/json`: object

### 400

Bad Request.

- `auth.credentials_conflict`: the request carries both a session cookie and a token

### 401

Unauthorized.

- `token.invalid`: the token is malformed, unknown, revoked or expired, or its creator left the workspace

Schemas named above are listed with their fields in [the schema list](https://docs.monitorly.cloud/api/reference/schemas.md).
