---
title: "Create Config"
method: POST
path: "/api/nightly-review/config"
tags: ["nightly-review"]
---

# Create Config

`POST /api/nightly-review/config`

## 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/nightly-review/config`
- Auth: none declared

Create or replace the nightly review config for the current organisation.

## Cookies

- `session` string, nullable

## Request body

- NightlyReviewConfigCreate
  - `schedule_time` string
  - `timezone` string
  - `lookback_hours` integer
  - `min_messages` integer

## 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)
