---
title: "Create Beat"
method: POST
path: "/v1/beats"
tags: ["beats"]
---

# Create Beat

`POST /v1/beats`

## Request

- Base URL: `https://api.myarchivist.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.myarchivist.ai/v1/beats`
- Auth: HTTP bearer

## Headers

- `x-api-key` string, nullable

## Request body

- BeatCreate
  - `label` string, required
  - `description` string, nullable
  - `type` 'major' | 'minor' | 'step'
  - `index` integer
  - `metadata` object, nullable
  - `parent_id` string, nullable
  - `campaign_id` string, required
  - `game_session_id` string, nullable
  - `game_session_ids` string[], nullable

## Response `201`

Successful Response

- BeatRead
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, nullable
  - `id` string, required
  - `label` string, required
  - `description` string, nullable
  - `type` 'major' | 'minor' | 'step'
  - `index` integer
  - `metadata` object, nullable
  - `parent_id` string, nullable
  - `campaign_id` string, required
  - `game_session_ids` string[]
  - `game_session_id` string, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myarchivist/apis/archivist-public-api.md) · [All operations](https://skmtc.dev/myarchivist/apis/archivist-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/myarchivist/apis/archivist-public-api/revisions/3ea6ca7efc56?raw)
