Archivist AI Beats API

The beats API from Archivist AI — 4 operation(s) for beats.

Operations 7

GET /v1/beats List Beats #
POST /v1/beats Create Beat #
GET /v1/beats/{beat_id} Get Beat #
PATCH /v1/beats/{beat_id} Patch Beat #
DELETE /v1/beats/{beat_id} Delete Beat #
POST /v1/beats/reorder Reorder Beat #
POST /v1/beats/batch-edit Batch Edit Beats #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/myarchivist-ai:myarchivist-ai-beats-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

myarchivist-ai-beats-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Archivist Public Beats API
  description: Public API for Archivist - Tabletop RPG Campaign Management
  version: 1.0.0
tags:
- name: beats
paths:
  /v1/beats:
    get:
      tags:
      - beats
      summary: List Beats
      operationId: list_beats_v1_beats_get
      security:
      - HTTPBearer: []
      parameters:
      - name: campaign_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Campaign ID to filter beats
          title: Campaign Id
        description: Campaign ID to filter beats
      - name: session_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Session ID to filter beats
          title: Session Id
        description: Session ID to filter beats
      - name: include_hierarchy
        in: query
        required: false
        schema:
          type: boolean
          description: Return nested beat tree for session_id
          default: false
          title: Include Hierarchy
        description: Return nested beat tree for session_id
      - name: with_links
        in: query
        required: false
        schema:
          type: boolean
          description: Return descriptions with [[wikilinks]] intact
          default: false
          title: With Links
        description: Return descriptions with [[wikilinks]] intact
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          default: 1
          title: Page
      - name: size
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 20
          title: Size
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - beats
      summary: Create Beat
      operationId: create_beat_v1_beats_post
      security:
      - HTTPBearer: []
      parameters:
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BeatCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BeatRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/beats/{beat_id}:
    get:
      tags:
      - beats
      summary: Get Beat
      operationId: get_beat_v1_beats__beat_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: beat_id
        in: path
        required: true
        schema:
          type: string
          title: Beat Id
      - name: with_links
        in: query
        required: false
        schema:
          type: boolean
          description: Return description with [[wikilinks]] intact
          default: false
          title: With Links
        description: Return description with [[wikilinks]] intact
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BeatRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - beats
      summary: Patch Beat
      operationId: patch_beat_v1_beats__beat_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: beat_id
        in: path
        required: true
        schema:
          type: string
          title: Beat Id
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BeatUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BeatRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - beats
      summary: Delete Beat
      operationId: delete_beat_v1_beats__beat_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: beat_id
        in: path
        required: true
        schema:
          type: string
          title: Beat Id
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      responses:
        '204':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/beats/reorder:
    post:
      tags:
      - beats
      summary: Reorder Beat
      operationId: reorder_beat_v1_beats_reorder_post
      security:
      - HTTPBearer: []
      parameters:
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BeatReorderRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BeatRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/beats/batch-edit:
    post:
      tags:
      - beats
      summary: Batch Edit Beats
      operationId: batch_edit_beats_v1_beats_batch_edit_post
      security:
      - HTTPBearer: []
      parameters:
      - name: x-api-key
        in: header
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: X-Api-Key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BeatBatchEditRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    BeatType:
      type: string
      enum:
      - major
      - minor
      - step
      title: BeatType
    BeatUpdate:
      properties:
        label:
          anyOf:
          - type: string
            maxLength: 255
            minLength: 1
          - type: 'null'
          title: Label
        description:
          anyOf:
          - type: string
            maxLength: 5000
          - type: 'null'
          title: Description
        type:
          anyOf:
          - $ref: '#/components/schemas/BeatType'
          - type: 'null'
        index:
          anyOf:
          - type: integer
          - type: 'null'
          title: Index
        metadata:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Metadata
        parent_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Parent Id
        game_session_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Game Session Id
        game_session_ids:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Game Session Ids
      type: object
      title: BeatUpdate
    PaginatedResponse:
      properties:
        data:
          items: {}
          type: array
          title: Data
        total:
          type: integer
          title: Total
        page:
          type: integer
          title: Page
        size:
          type: integer
          title: Size
        pages:
          type: integer
          title: Pages
      type: object
      required:
      - data
      - total
      - page
      - size
      - pages
      title: PaginatedResponse
    BeatReorderRequest:
      properties:
        beat_id:
          type: string
          title: Beat Id
        campaign_id:
          type: string
          title: Campaign Id
        new_session_id:
          anyOf:
          - type: string
          - type: 'null'
          title: New Session Id
        new_parent_id:
          anyOf:
          - type: string
          - type: 'null'
          title: New Parent Id
        new_index:
          type: integer
          title: New Index
        insert_after_beat_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Insert After Beat Id
      type: object
      required:
      - beat_id
      - campaign_id
      - new_index
      title: BeatReorderRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    BeatBatchEditRequest:
      properties:
        campaign_id:
          type: string
          title: Campaign Id
        beat_ids:
          items:
            type: string
          type: array
          title: Beat Ids
        updates:
          $ref: '#/components/schemas/BeatUpdate'
      type: object
      required:
      - campaign_id
      - beat_ids
      - updates
      title: BeatBatchEditRequest
    BeatCreate:
      properties:
        label:
          type: string
          maxLength: 255
          minLength: 1
          title: Label
        description:
          anyOf:
          - type: string
            maxLength: 5000
          - type: 'null'
          title: Description
        type:
          $ref: '#/components/schemas/BeatType'
          default: major
        index:
          type: integer
          title: Index
          default: 0
        metadata:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Metadata
        parent_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Parent Id
        campaign_id:
          type: string
          title: Campaign Id
        game_session_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Game Session Id
        game_session_ids:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Game Session Ids
      type: object
      required:
      - label
      - campaign_id
      title: BeatCreate
    BeatRead:
      properties:
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Updated At
        id:
          type: string
          title: Id
        label:
          type: string
          maxLength: 255
          minLength: 1
          title: Label
        description:
          anyOf:
          - type: string
            maxLength: 5000
          - type: 'null'
          title: Description
        type:
          $ref: '#/components/schemas/BeatType'
          default: major
        index:
          type: integer
          title: Index
          default: 0
        metadata:
          anyOf:
          - additionalProperties: true
            type: object
          - type: 'null'
          title: Metadata
        parent_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Parent Id
        campaign_id:
          type: string
          title: Campaign Id
        game_session_ids:
          items:
            type: string
          type: array
          title: Game Session Ids
        game_session_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Game Session Id
      type: object
      required:
      - created_at
      - id
      - label
      - campaign_id
      title: BeatRead
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer