Archivist AI Journals API
The journals API from Archivist AI — 2 operation(s) for journals.
The journals API from Archivist AI — 2 operation(s) for journals.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/myarchivist-ai:myarchivist-ai-journals-api"
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.
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: 3.2.0
info:
title: Archivist Public Journals API
description: Public API for Archivist - Tabletop RPG Campaign Management
version: 1.0.0
tags:
- name: Journals
paths:
/v1/journals:
get:
tags:
- Journals
summary: List Journal Entries
operationId: list_journal_entries_v1_journals_get
security:
- HTTPBearer: []
parameters:
- name: campaign_id
in: query
required: true
schema:
type: string
description: World/Campaign ID to list journal entries
title: Campaign Id
description: World/Campaign ID to list journal entries
- name: page
in: query
required: false
schema:
type: integer
minimum: 1
description: Page number
default: 1
title: Page
description: Page number
- name: size
in: query
required: false
schema:
type: integer
maximum: 100
minimum: 1
description: Page size
default: 20
title: Size
description: Page size
- name: with_links
in: query
required: false
schema:
type: boolean
description: Return content with [[wikilinks]] intact
default: false
title: With Links
description: Return content with [[wikilinks]] intact
- name: format
in: query
required: false
schema:
type: string
pattern: ^(text|markdown)$
description: '''markdown'' preserves headings, lists and paragraph breaks; ''text'' (default) flattens them'
default: text
title: Format
description: '''markdown'' preserves headings, lists and paragraph breaks; ''text'' (default) flattens them'
- name: fields
in: query
required: false
schema:
anyOf:
- type: string
- type: 'null'
description: Use 'card' for lightweight list items
title: Fields
description: Use 'card' for lightweight list items
- 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:
- Journals
summary: Create Journal Entry
operationId: create_journal_entry_v1_journals_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/JournalEntryCreate'
responses:
'201':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Create Journal Entry V1 Journals Post
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
put:
tags:
- Journals
summary: Update Journal Entry
operationId: update_journal_entry_v1_journals_put
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/JournalEntryPut'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: object
additionalProperties: true
title: Response Update Journal Entry V1 Journals Put
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Journals
summary: Delete Journal Entry
operationId: delete_journal_entry_v1_journals_delete
security:
- HTTPBearer: []
parameters:
- name: id
in: query
required: true
schema:
type: string
description: Journal entry id
title: Id
description: Journal entry 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: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/v1/journals/{entry_id}:
get:
tags:
- Journals
summary: Get Journal Entry
operationId: get_journal_entry_v1_journals__entry_id__get
security:
- HTTPBearer: []
parameters:
- name: entry_id
in: path
required: true
schema:
type: string
title: Entry Id
- name: with_links
in: query
required: false
schema:
type: boolean
description: Return content with [[wikilinks]] intact
default: false
title: With Links
description: Return content with [[wikilinks]] intact
- name: format
in: query
required: false
schema:
type: string
pattern: ^(text|markdown)$
description: '''markdown'' preserves headings, lists and paragraph breaks; ''text'' (default) flattens them'
default: text
title: Format
description: '''markdown'' preserves headings, lists and paragraph breaks; ''text'' (default) flattens them'
- 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'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
JournalEntryPut:
properties:
id:
type: string
title: Id
title:
anyOf:
- type: string
maxLength: 255
minLength: 1
- type: 'null'
title: Title
summary:
anyOf:
- type: string
- type: 'null'
title: Summary
content:
anyOf:
- type: string
- type: 'null'
title: Content
contentFormat:
anyOf:
- type: string
enum:
- plain
- markdown
- type: 'null'
title: Contentformat
contentRich:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Contentrich
contentMetadata:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Contentmetadata
tags:
anyOf:
- items:
type: string
type: array
- type: 'null'
title: Tags
coverImage:
anyOf:
- type: string
- type: 'null'
title: Coverimage
isPinned:
anyOf:
- type: boolean
- type: 'null'
title: Ispinned
isPublic:
anyOf:
- type: boolean
- type: 'null'
title: Ispublic
status:
anyOf:
- type: string
enum:
- draft
- published
- archived
- type: 'null'
title: Status
publishedAt:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Publishedat
archivedAt:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Archivedat
folderId:
anyOf:
- type: string
- type: 'null'
title: Folderid
permissions:
anyOf:
- $ref: '#/components/schemas/JournalPermissionUpdate'
- type: 'null'
authorId:
anyOf:
- type: string
- type: 'null'
title: Authorid
type: object
required:
- id
title: JournalEntryPut
JournalPermissionAdd:
properties:
userId:
type: string
title: Userid
level:
type: string
enum:
- view
- comment
- edit
- manage
title: Level
default: view
type: object
required:
- userId
title: JournalPermissionAdd
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
JournalEntryCreate:
properties:
worldId:
type: string
title: Worldid
title:
type: string
maxLength: 255
minLength: 1
title: Title
summary:
anyOf:
- type: string
- type: 'null'
title: Summary
content:
anyOf:
- type: string
- type: 'null'
title: Content
contentFormat:
anyOf:
- type: string
enum:
- plain
- markdown
- type: 'null'
title: Contentformat
contentRich:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Contentrich
contentMetadata:
anyOf:
- additionalProperties: true
type: object
- type: 'null'
title: Contentmetadata
tags:
items:
type: string
type: array
title: Tags
coverImage:
anyOf:
- type: string
- type: 'null'
title: Coverimage
isPinned:
type: boolean
title: Ispinned
default: false
isPublic:
type: boolean
title: Ispublic
default: false
status:
anyOf:
- type: string
enum:
- draft
- published
- archived
- type: 'null'
title: Status
publishedAt:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Publishedat
archivedAt:
anyOf:
- type: string
format: date-time
- type: 'null'
title: Archivedat
folderId:
anyOf:
- type: string
- type: 'null'
title: Folderid
type: object
required:
- worldId
- title
title: JournalEntryCreate
JournalPermissionUpdate:
properties:
add:
items:
$ref: '#/components/schemas/JournalPermissionAdd'
type: array
title: Add
remove:
items:
$ref: '#/components/schemas/JournalPermissionRemove'
type: array
title: Remove
type: object
title: JournalPermissionUpdate
JournalPermissionRemove:
properties:
userId:
type: string
title: Userid
type: object
required:
- userId
title: JournalPermissionRemove
securitySchemes:
HTTPBearer:
type: http
scheme: bearer