Archivist AI Quests API

The quests API from Archivist AI — 2 operation(s) for quests.

Operations 5

GET /v1/quests List Quest Entries #
POST /v1/quests Create Quest Entry #
GET /v1/quests/{quest_id} Get Quest Entry #
PATCH /v1/quests/{quest_id} Patch Quest Entry #
DELETE /v1/quests/{quest_id} Delete Quest Entry #

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-quests-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-quests-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Archivist Public Quests API
  description: Public API for Archivist - Tabletop RPG Campaign Management
  version: 1.0.0
tags:
- name: Quests
paths:
  /v1/quests:
    get:
      tags:
      - Quests
      summary: List Quest Entries
      operationId: list_quest_entries_v1_quests_get
      security:
      - HTTPBearer: []
      parameters:
      - name: campaign_id
        in: query
        required: true
        schema:
          type: string
          description: Campaign ID to filter quests
          title: Campaign Id
        description: Campaign ID to filter quests
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Search quests by name, giver, or narrative fields
          title: Search
        description: Search quests by name, giver, or narrative fields
      - name: status
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by quest status
          title: Status
        description: Filter by quest status
      - name: quest_category
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by quest category
          title: Quest Category
        description: Filter by quest category
      - 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:
                $ref: '#/components/schemas/PaginatedResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Quests
      summary: Create Quest Entry
      operationId: create_quest_entry_v1_quests_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/QuestCreate'
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuestRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /v1/quests/{quest_id}:
    get:
      tags:
      - Quests
      summary: Get Quest Entry
      operationId: get_quest_entry_v1_quests__quest_id__get
      security:
      - HTTPBearer: []
      parameters:
      - name: quest_id
        in: path
        required: true
        schema:
          type: string
          title: Quest Id
      - 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/QuestRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - Quests
      summary: Patch Quest Entry
      operationId: patch_quest_entry_v1_quests__quest_id__patch
      security:
      - HTTPBearer: []
      parameters:
      - name: quest_id
        in: path
        required: true
        schema:
          type: string
          title: Quest 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/QuestUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/QuestRead'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - Quests
      summary: Delete Quest Entry
      operationId: delete_quest_entry_v1_quests__quest_id__delete
      security:
      - HTTPBearer: []
      parameters:
      - name: quest_id
        in: path
        required: true
        schema:
          type: string
          title: Quest 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'
components:
  schemas:
    QuestObjectiveUpdate:
      properties:
        text:
          type: string
          maxLength: 1000
          minLength: 1
          title: Text
        status:
          $ref: '#/components/schemas/ObjectiveStatusValue'
          default: pending
        id:
          anyOf:
          - type: string
          - type: 'null'
          title: Id
      type: object
      required:
      - text
      title: QuestObjectiveUpdate
    QuestSessionRef:
      properties:
        id:
          type: string
          title: Id
        number:
          anyOf:
          - type: integer
          - type: 'null'
          title: Number
        title:
          anyOf:
          - type: string
          - type: 'null'
          title: Title
        session_date:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Session Date
      type: object
      required:
      - id
      title: QuestSessionRef
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    QuestObjectiveInput:
      properties:
        text:
          type: string
          maxLength: 1000
          minLength: 1
          title: Text
        status:
          $ref: '#/components/schemas/ObjectiveStatusValue'
          default: pending
      type: object
      required:
      - text
      title: QuestObjectiveInput
    QuestRelatedEntityRefInput:
      properties:
        entity_type:
          $ref: '#/components/schemas/QuestEntityTypeValue'
        entity_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Entity Id
        entity_name_snapshot:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Entity Name Snapshot
        label:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Label
      type: object
      required:
      - entity_type
      title: QuestRelatedEntityRefInput
    QuestCategoryValue:
      type: string
      enum:
      - main
      - side
      - faction
      - personal
      - n/a
      title: QuestCategoryValue
    ObjectiveStatusValue:
      type: string
      enum:
      - pending
      - in-progress
      - completed
      - failed
      - blocked
      title: ObjectiveStatusValue
    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
    QuestUpdate:
      properties:
        quest_name:
          anyOf:
          - type: string
            maxLength: 255
            minLength: 1
          - type: 'null'
          title: Quest Name
        quest_giver:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Quest Giver
        quest_category:
          anyOf:
          - $ref: '#/components/schemas/QuestCategoryValue'
          - type: 'null'
        status:
          anyOf:
          - $ref: '#/components/schemas/QuestStatusValue'
          - type: 'null'
        success_definition:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Success Definition
        failure_conditions:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Failure Conditions
        next_action:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Next Action
        resolution:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Resolution
        objectives:
          anyOf:
          - items:
              $ref: '#/components/schemas/QuestObjectiveUpdate'
            type: array
          - type: 'null'
          title: Objectives
        progress_log:
          anyOf:
          - items:
              anyOf:
              - type: string
              - $ref: '#/components/schemas/QuestProgressEntryInput'
            type: array
          - type: 'null'
          title: Progress Log
        related_characters:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Related Characters
        related_factions:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Related Factions
        related_locations:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Related Locations
        related_items:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Related Items
        related_entity_refs:
          anyOf:
          - items:
              $ref: '#/components/schemas/QuestRelatedEntityRefInput'
            type: array
          - type: 'null'
          title: Related Entity Refs
      additionalProperties: false
      type: object
      title: QuestUpdate
    QuestProgressEntryRead:
      properties:
        id:
          type: string
          title: Id
        text:
          type: string
          title: Text
        order:
          type: integer
          title: Order
        session_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Session Id
        session_number:
          anyOf:
          - type: integer
          - type: 'null'
          title: Session Number
        session_title:
          anyOf:
          - type: string
          - type: 'null'
          title: Session Title
        session_date:
          anyOf:
          - type: string
            format: date-time
          - type: 'null'
          title: Session Date
      type: object
      required:
      - id
      - text
      - order
      title: QuestProgressEntryRead
    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
    QuestEntityTypeValue:
      type: string
      enum:
      - character
      - faction
      - location
      - item
      title: QuestEntityTypeValue
    QuestRead:
      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
        campaign_id:
          type: string
          title: Campaign Id
        order_index:
          type: integer
          title: Order Index
        quest_name:
          type: string
          title: Quest Name
        quest_giver:
          anyOf:
          - type: string
          - type: 'null'
          title: Quest Giver
        quest_giver_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Quest Giver Id
        quest_category:
          $ref: '#/components/schemas/QuestCategoryValue'
        status:
          $ref: '#/components/schemas/QuestStatusValue'
        success_definition:
          anyOf:
          - type: string
          - type: 'null'
          title: Success Definition
        failure_conditions:
          anyOf:
          - type: string
          - type: 'null'
          title: Failure Conditions
        next_action:
          anyOf:
          - type: string
          - type: 'null'
          title: Next Action
        resolution:
          anyOf:
          - type: string
          - type: 'null'
          title: Resolution
        objectives:
          items:
            $ref: '#/components/schemas/QuestObjectiveRead'
          type: array
          title: Objectives
        objective_count:
          type: integer
          title: Objective Count
          default: 0
        completed_objective_count:
          type: integer
          title: Completed Objective Count
          default: 0
        progress_entry_count:
          type: integer
          title: Progress Entry Count
          default: 0
        progress_log:
          items:
            type: string
          type: array
          title: Progress Log
        progress_log_entries:
          items:
            $ref: '#/components/schemas/QuestProgressEntryRead'
          type: array
          title: Progress Log Entries
        related_characters:
          items:
            type: string
          type: array
          title: Related Characters
        related_factions:
          items:
            type: string
          type: array
          title: Related Factions
        related_locations:
          items:
            type: string
          type: array
          title: Related Locations
        related_items:
          items:
            type: string
          type: array
          title: Related Items
        related_entity_refs:
          items:
            $ref: '#/components/schemas/QuestRelatedEntityRefRead'
          type: array
          title: Related Entity Refs
        first_session:
          anyOf:
          - $ref: '#/components/schemas/QuestSessionRef'
          - type: 'null'
        last_session:
          anyOf:
          - $ref: '#/components/schemas/QuestSessionRef'
          - type: 'null'
      type: object
      required:
      - created_at
      - id
      - campaign_id
      - order_index
      - quest_name
      - quest_category
      - status
      title: QuestRead
    QuestStatusValue:
      type: string
      enum:
      - planned
      - in-progress
      - blocked
      - failed
      - done
      - n/a
      title: QuestStatusValue
    QuestProgressEntryInput:
      properties:
        id:
          anyOf:
          - type: string
          - type: 'null'
          title: Id
        text:
          type: string
          maxLength: 2000
          minLength: 1
          title: Text
        session_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Session Id
      additionalProperties: false
      type: object
      required:
      - text
      title: QuestProgressEntryInput
    QuestCreate:
      properties:
        campaign_id:
          type: string
          title: Campaign Id
        quest_name:
          type: string
          maxLength: 255
          minLength: 1
          title: Quest Name
        quest_giver:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Quest Giver
        quest_category:
          $ref: '#/components/schemas/QuestCategoryValue'
          default: n/a
        status:
          $ref: '#/components/schemas/QuestStatusValue'
          default: planned
        success_definition:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Success Definition
        failure_conditions:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Failure Conditions
        next_action:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Next Action
        resolution:
          anyOf:
          - type: string
            maxLength: 2000
          - type: 'null'
          title: Resolution
        objectives:
          items:
            $ref: '#/components/schemas/QuestObjectiveInput'
          type: array
          title: Objectives
        progress_log:
          items:
            type: string
          type: array
          title: Progress Log
        related_characters:
          items:
            type: string
          type: array
          title: Related Characters
        related_factions:
          items:
            type: string
          type: array
          title: Related Factions
        related_locations:
          items:
            type: string
          type: array
          title: Related Locations
        related_items:
          items:
            type: string
          type: array
          title: Related Items
        related_entity_refs:
          items:
            $ref: '#/components/schemas/QuestRelatedEntityRefInput'
          type: array
          title: Related Entity Refs
      additionalProperties: false
      type: object
      required:
      - campaign_id
      - quest_name
      title: QuestCreate
    QuestRelatedEntityRefRead:
      properties:
        id:
          type: string
          title: Id
        entity_type:
          $ref: '#/components/schemas/QuestEntityTypeValue'
        entity_id:
          anyOf:
          - type: string
          - type: 'null'
          title: Entity Id
        entity_name_snapshot:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Entity Name Snapshot
        label:
          anyOf:
          - type: string
            maxLength: 255
          - type: 'null'
          title: Label
        order:
          type: integer
          title: Order
      type: object
      required:
      - id
      - entity_type
      - order
      title: QuestRelatedEntityRefRead
    QuestObjectiveRead:
      properties:
        id:
          type: string
          title: Id
        text:
          type: string
          maxLength: 1000
          minLength: 1
          title: Text
        status:
          $ref: '#/components/schemas/ObjectiveStatusValue'
          default: pending
        order:
          type: integer
          title: Order
      type: object
      required:
      - id
      - text
      - order
      title: QuestObjectiveRead
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer