---
title: "Create Check"
method: POST
path: "/api/databases/{database_id}/checks"
tags: ["monitoring"]
---

# Create Check

`POST /api/databases/{database_id}/checks`

## Request

- Base URL: `https://app.myriade.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.myriade.ai/api/databases/{database_id}/checks`
- Auth: none declared

Create a monitoring check.

## Path parameters

- `database_id` string, uuid, required

## Cookies

- `session` string, nullable

## Request body

- CheckCreate
  - `name` string, required
  - `check_sql` string, required
  - `severity` string
  - `interval_minutes` integer
  - `start_time` string, nullable
  - `timezone` string, nullable
  - `description` string, nullable
  - `group_name` string, nullable
  - `kind` string, nullable
  - `topic_ids` string[], nullable

## Response `201`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myriade/apis/myriade-bi-api.md) · [All operations](https://skmtc.dev/myriade/apis/myriade-bi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/myriade/apis/myriade-bi-api/revisions/15b7cb96ca80?raw)
