Kova Journal API

The Journal API from Kova — 9 operation(s) for journal.

GitHub OpenAPI

Operations 10

GET /journal List recent journal entries, archive, or your drafts #
POST /journal/reads Create an authored read; publish immediately on posting intent or save a… #
GET /journal/entries/{uuid} Read an entry without marking it served #
PATCH /journal/entries/{uuid} Edit a draft or publish a revision immediately #
POST /journal/entries/{uuid}/transition Publish a reviewed draft, dismiss a draft, or retract a publication #
POST /journal/entries/{uuid}/responses Acknowledge presentation or record explicit private feedback #
PATCH /journal/preferences Enable or disable recent journal updates #
POST /journal/images Upload a private chart before attaching it to a read #
GET /journal/images/{uuid} Retrieve chart bytes with current journal authorization #
POST /journal/entries/{uuid}/refinements Retired server-side decision refinement #

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/kovatools-com:kovatools-com-journal-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

kovatools-com-journal-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Kovatools Com Journal API
  version: 1.0.0
  description: 'Operations tagged Journal across 2 of this provider''s published API definitions: kovatools-com-openapi.yml, openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://kovatools.com/api/v1
  description: Production
- url: http://localhost:3000/api/v1
  description: Development
security:
- bearerAuth: []
tags:
- name: Journal
paths:
  /journal:
    get:
      summary: List recent journal entries, archive, or your drafts
      tags:
      - Journal
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  journal:
                    $ref: '#/components/schemas/JournalList'
                  meta:
                    $ref: '#/components/schemas/Meta'
                required:
                - journal
                - meta
        '401':
          description: Unauthorized
        '403':
          description: An active subscription or Gigantes membership is required
        '404':
          description: Entry or image not available
        '409':
          description: Stale revision or conflicting request key
        '422':
          description: Invalid parameters or publication content
      parameters:
      - name: view
        in: query
        schema:
          type: string
          enum:
          - recent
          - archive
          - drafts
          default: recent
      - name: before
        in: query
        schema:
          type: string
      operationId: getJournal
      x-operation-id-source: derived
    servers:
    - url: https://kovatools.com/api/v1
      description: Production
    - url: http://localhost:3000/api/v1
      description: Development
  /journal/reads:
    post:
      summary: Create an authored read; publish immediately on posting intent or save a…
      description: A publisher's newly shared entry asynchronously posts only its Kova entry URL in the private Gigantes Slack. Anyone with the link can see a public title, short excerpt, and chart preview; the full entry requires journal access. Private publications and drafts have no public preview and do not notify Slack.
      tags:
      - Journal
      responses:
        '201':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  entry:
                    $ref: '#/components/schemas/JournalEntry'
                  meta:
                    $ref: '#/components/schemas/Meta'
                required:
                - entry
                - meta
        '401':
          description: Unauthorized
        '403':
          description: An active subscription or Gigantes membership is required
        '404':
          description: Entry or image not available
        '409':
          description: Stale revision or conflicting request key
        '422':
          description: Invalid parameters or publication content
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                content:
                  type: string
                  description: Author-approved wording of the read. Exclude private balances, quantities, weights, and account identifiers.
                publication:
                  type: string
                  enum:
                  - publish
                  - draft
                  description: publish when the author instructs posting; draft when they instruct private saving. Never infer posting intent from conversation alone. A publisher's shared publication asynchronously posts only its Kova entry URL in the private Gigantes Slack. Anyone with the link can see a public title, short excerpt, and chart preview; the full entry requires journal access.
                request_key:
                  type: string
                  description: Unique key for this creation; reuse only for an exact retry.
                observed_at:
                  type: string
                  description: ISO 8601 observation date, default now.
                valid_until:
                  type: string
                  description: Optional ISO 8601 expiry.
                image_uuid:
                  type: string
                  description: Optional chart upload UUID.
                image_description:
                  type: string
                  description: Required when attaching a chart.
                strategy_uuid:
                  type: string
                  description: Optional strategy you own.
                previous_entry_uuid:
                  type: string
                  description: Optional earlier published entry by the same author to follow up.
              required:
              - title
              - content
              - publication
              - request_key
              additionalProperties: false
      operationId: postJournalReads
      x-operation-id-source: derived
    servers:
    - url: https://kovatools.com/api/v1
      description: Production
    - url: http://localhost:3000/api/v1
      description: Development
  /journal/entries/{uuid}:
    get:
      summary: Read an entry without marking it served
      tags:
      - Journal
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  entry:
                    $ref: '#/components/schemas/JournalEntry'
                  meta:
                    $ref: '#/components/schemas/Meta'
                required:
                - entry
                - meta
        '401':
          description: Unauthorized
        '403':
          description: An active subscription or Gigantes membership is required
        '404':
          description: Entry or image not available
        '409':
          description: Stale revision or conflicting request key
        '422':
          description: Invalid parameters or publication content
      parameters:
      - name: uuid
        in: path
        required: true
        schema:
          type: string
      - name: include_image
        in: query
        required: false
        schema:
          type: boolean
          default: false
        description: Include the attached chart as base64 in entry.image, if present.
      operationId: getJournalEntriesByUuid
      x-operation-id-source: derived
    patch:
      summary: Edit a draft or publish a revision immediately
      tags:
      - Journal
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  entry:
                    $ref: '#/components/schemas/JournalEntry'
                  meta:
                    $ref: '#/components/schemas/Meta'
                required:
                - entry
                - meta
        '401':
          description: Unauthorized
        '403':
          description: An active subscription or Gigantes membership is required
        '404':
          description: Entry or image not available
        '409':
          description: Stale revision or conflicting request key
        '422':
          description: Invalid parameters or publication content
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                revision:
                  type: integer
                  minimum: 0
                  description: Current entry revision; re-read after a conflict.
                title:
                  type: string
                content:
                  type: string
                image_uuid:
                  type:
                  - string
                  - 'null'
                  minLength: 1
                  description: Owned uploaded chart UUID to attach or replace. Omit to preserve the current chart; null detaches it and makes the old chart author-only. Attaching requires a nonblank resulting image_description.
                image_description:
                  type:
                  - string
                  - 'null'
                  description: What matters in the chart. Omit to preserve; null clears subject to chart/publication validation. Can be edited independently of image_uuid.
                valid_until:
                  type:
                  - string
                  - 'null'
                author_context:
                  type: string
                  minLength: 1
                  maxLength: 10000
                  description: Optional author's explicit explanation or correction for their inferred private decision draft. Requires current publisher access and the edited title and content. Never use model-invented reasoning or editorial instructions. Saves encrypted, dated context synchronously and clears outdated editorial questions; no model call or publication.
              required:
              - revision
              additionalProperties: false
      parameters:
      - name: uuid
        in: path
        required: true
        schema:
          type: string
      description: The calling agent supplies the final edited text. Optional author_context saves the author's own explanation privately for a publisher's inferred decision draft and requires title and content together. Kova does not invoke a model. Author explanations clear obsolete editorial questions. Editing does not publish a draft. Upload a chart first, then supply image_uuid with the current revision to attach or replace it. Omission preserves the chart; null detaches it. Image-only changes advance the revision and published edits are visible immediately. Detached charts remain author-only, with prior publication references retained. For shared publisher entries, new public preview fetches use the updated title, excerpt, and chart; existing Slack previews are not synchronized or deleted.
      operationId: patchJournalEntriesByUuid
      x-operation-id-source: derived
    servers:
    - url: https://kovatools.com/api/v1
      description: Production
    - url: http://localhost:3000/api/v1
      description: Development
  /journal/entries/{uuid}/transition:
    post:
      summary: Publish a reviewed draft, dismiss a draft, or retract a publication
      description: Publishing a publisher's shared draft asynchronously posts only its Kova entry URL in the private Gigantes Slack. Anyone with the link can see a public title, short excerpt, and chart preview; the full entry requires journal access. Dismissal, retraction, and private publication do not notify Slack. Retraction stops new public preview requests but does not delete previously cached Slack previews.
      tags:
      - Journal
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  entry:
                    $ref: '#/components/schemas/JournalEntry'
                  meta:
                    $ref: '#/components/schemas/Meta'
                required:
                - entry
                - meta
        '401':
          description: Unauthorized
        '403':
          description: An active subscription or Gigantes membership is required
        '404':
          description: Entry or image not available
        '409':
          description: Stale revision or conflicting request key
        '422':
          description: Invalid parameters or publication content
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                transition:
                  type: string
                  enum:
                  - publish
                  - dismiss
                  - retract
                revision:
                  type: integer
                  minimum: 0
              required:
              - transition
              - revision
      parameters:
      - name: uuid
        in: path
        required: true
        schema:
          type: string
      operationId: postJournalEntriesByUuidTransition
      x-operation-id-source: derived
    servers:
    - url: https://kovatools.com/api/v1
      description: Production
    - url: http://localhost:3000/api/v1
      description: Development
  /journal/entries/{uuid}/responses:
    post:
      summary: Acknowledge presentation or record explicit private feedback
      tags:
      - Journal
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  entry:
                    $ref: '#/components/schemas/JournalEntry'
                  meta:
                    $ref: '#/components/schemas/Meta'
                required:
                - entry
                - meta
        '401':
          description: Unauthorized
        '403':
          description: An active subscription or Gigantes membership is required
        '404':
          description: Entry or image not available
        '409':
          description: Stale revision or conflicting request key
        '422':
          description: Invalid parameters or publication content
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                response_action:
                  type: string
                  enum:
                  - served
                  - feedback
                  - clear_feedback
                relevance:
                  type: string
                  enum:
                  - relevant
                  - not_relevant
                explanation:
                  type: string
              required:
              - response_action
              additionalProperties: false
      parameters:
      - name: uuid
        in: path
        required: true
        schema:
          type: string
      operationId: postJournalEntriesByUuidResponses
      x-operation-id-source: derived
    servers:
    - url: https://kovatools.com/api/v1
      description: Production
    - url: http://localhost:3000/api/v1
      description: Development
  /journal/preferences:
    patch:
      summary: Enable or disable recent journal updates
      tags:
      - Journal
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  preferences:
                    type: object
                    properties:
                      enabled:
                        type: boolean
                    required:
                    - enabled
                  meta:
                    $ref: '#/components/schemas/Meta'
                required:
                - preferences
                - meta
        '401':
          description: Unauthorized
        '403':
          description: An active subscription or Gigantes membership is required
        '404':
          description: Entry or image not available
        '409':
          description: Stale revision or conflicting request key
        '422':
          description: Invalid parameters or publication content
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                enabled:
                  type: boolean
              required:
              - enabled
              additionalProperties: false
      operationId: patchJournalPreferences
      x-operation-id-source: derived
    servers:
    - url: https://kovatools.com/api/v1
      description: Production
    - url: http://localhost:3000/api/v1
      description: Development
  /journal/images:
    post:
      summary: Upload a private chart before attaching it to a read
      description: Each account can hold at most 20 unattached uploads from the last 24 hours; attaching a chart to an entry frees its slot.
      tags:
      - Journal
      responses:
        '201':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  image:
                    type: object
                    properties:
                      image_uuid:
                        type: string
                      content_type:
                        type: string
                      byte_size:
                        type: integer
                    required:
                    - image_uuid
                    - content_type
                    - byte_size
                  meta:
                    $ref: '#/components/schemas/Meta'
                required:
                - image
                - meta
        '401':
          description: Unauthorized
        '403':
          description: An active subscription or Gigantes membership is required
        '404':
          description: Entry or image not available
        '409':
          description: Stale revision or conflicting request key
        '422':
          description: Invalid parameters or publication content
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                image_data:
                  type: string
                  description: Base64-encoded image bytes.
                content_type:
                  type: string
                  enum:
                  - image/png
                  - image/jpeg
                  - image/webp
              required:
              - image_data
              - content_type
              additionalProperties: false
          multipart/form-data:
            schema:
              type: object
              properties:
                file:
                  type: string
                  format: binary
              required:
              - file
      operationId: postJournalImages
      x-operation-id-source: derived
    servers:
    - url: https://kovatools.com/api/v1
      description: Production
    - url: http://localhost:3000/api/v1
      description: Development
  /journal/images/{uuid}:
    get:
      summary: Retrieve chart bytes with current journal authorization
      tags:
      - Journal
      parameters:
      - name: uuid
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Image bytes; Cache-Control private, no-store
          content:
            image/png:
              schema:
                type: string
                format: binary
            image/jpeg:
              schema:
                type: string
                format: binary
            image/webp:
              schema:
                type: string
                format: binary
        '401':
          description: Unauthorized
        '403':
          description: An active subscription or Gigantes membership is required
        '404':
          description: Image unavailable or unpublished
      operationId: getJournalImagesByUuid
      x-operation-id-source: derived
    servers:
    - url: https://kovatools.com/api/v1
      description: Production
    - url: http://localhost:3000/api/v1
      description: Development
  /journal/entries/{uuid}/refinements:
    post:
      summary: Retired server-side decision refinement
      tags:
      - Journal
      responses:
        '401':
          description: Unauthorized
        '403':
          description: Journal access required
        '410':
          description: journal_refinement_retired in the standard error envelope; use entry update.
      parameters:
      - name: uuid
        in: path
        required: true
        schema:
          type: string
      description: Returns 410 without saving or queuing work. Use PATCH /journal/entries/{uuid} with edited title, content, revision, and optional explicit author_context.
      operationId: refineJournalDecision
      deprecated: true
    servers:
    - url: https://kovatools.com/api/v1
      description: Production
    - url: http://localhost:3000/api/v1
      description: Development
components:
  schemas:
    JournalRevision:
      type: object
      properties:
        number:
          type: integer
        published_at:
          type: string
          format: date-time
        entry:
          type: object
          properties:
            title:
              type: string
            content:
              type: string
            image_description:
              type:
              - string
              - 'null'
            status:
              type: string
              enum:
              - draft
              - published
              - dismissed
              - retracted
            observed_at:
              type: string
              format: date-time
            valid_until:
              type:
              - string
              - 'null'
              format: date-time
            image_uuid:
              type:
              - string
              - 'null'
          required:
          - title
          - content
          - image_description
          - status
          - observed_at
          - valid_until
          - image_uuid
      required:
      - number
      - published_at
      - entry
    JournalList:
      type: object
      properties:
        entries:
          type: array
          items:
            $ref: '#/components/schemas/JournalEntry'
        next_cursor:
          type:
          - string
          - 'null'
        enabled:
          type: boolean
      required:
      - entries
      - next_cursor
      - enabled
    Meta:
      type: object
      properties:
        request_id:
          type: string
          description: Unique request identifier for debugging
        timestamp:
          type: string
          format: date-time
    JournalEntry:
      type: object
      properties:
        uuid:
          type: string
        kind:
          type: string
          enum:
          - decision
          - read
        status:
          type: string
          enum:
          - draft
          - published
          - dismissed
          - retracted
        title:
          type: string
        content:
          type: string
        observed_at:
          type: string
          format: date-time
        published_at:
          type:
          - string
          - 'null'
          format: date-time
        valid_until:
          type:
          - string
          - 'null'
          format: date-time
        outdated:
          type: boolean
        previous_entry_uuid:
          type:
          - string
          - 'null'
        follow_up_uuids:
          type: array
          items:
            type: string
        image_uuid:
          type:
          - string
          - 'null'
        image_description:
          type:
          - string
          - 'null'
        revision:
          type: integer
          minimum: 0
        served_at:
          type:
          - string
          - 'null'
          format: date-time
        feedback:
          type:
          - object
          - 'null'
          properties:
            relevance:
              type: string
              enum:
              - relevant
              - not_relevant
            explanation:
              type:
              - string
              - 'null'
          required:
          - relevance
          - explanation
        own:
          type: boolean
          description: True when the entry belongs to the current user.
        shared:
          type: boolean
          description: 'True when other journal readers can currently see this entry: a publisher shared it at publication, it is still published, and its author is still a publisher.'
        strategy_uuid:
          type:
          - string
          - 'null'
          description: Author only.
        evidence:
          type:
          - object
          - 'null'
          additionalProperties: true
          description: Private source evidence, returned only to the author.
        revisions:
          type: array
          items:
            $ref: '#/components/schemas/JournalRevision'
          description: Present on show responses.
        editorial:
          type:
          - object
          - 'null'
          description: Author-only editorial judgment and optional question for the agent conversation.
          properties:
            outcome:
              type: string
              enum:
              - skip
              - draft
              - needs_context
            editorial_reason:
              type: string
            question:
              type:
              - string
              - 'null'
          required:
          - outcome
          - editorial_reason
          - question
          additionalProperties: false
        refinement:
          type:
          - object
          - 'null'
          description: Author-only latest saved explanation. New updates record it synchronously with status completed. The field name and historical async states remain for compatibility; new updates do not require polling.
          properties:
            request_key:
              type: string
            status:
              type: string
              enum:
              - queued
              - running
              - completed
              - failed
              - superseded
            error_code:
              type:
              - string
              - 'null'
            author_context:
              type: string
            submitted_at:
              type: string
              format: date-time
          required:
          - request_key
          - status
          - error_code
          - author_context
          - submitted_at
          additionalProperties: false
        contextual_numbers_allowed:
          type: boolean
          description: Author-only; contextual portfolio numbers are permitted only for publisher decisions on an explicitly enabled strategy.
        image:
          type:
          - object
          - 'null'
          description: Only present on show with include_image=true; null when no chart is attached. Base64 data is private and access-checked on every request.
          properties:
            image_uuid:
              type: string
            content_type:
              type: string
            data:
              type: string
              contentEncoding: base64
          required:
          - image_uuid
          - content_type
          - data
          additionalProperties: false
      required:
      - uuid
      - kind
      - status
      - title
      - content
      - observed_at
      - published_at
      - valid_until
      - outdated
      - previous_entry_uuid
      - follow_up_uuids
      - image_uuid
      - image_description
      - revision
      - served_at
      - feedback
      - own
      - shared
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'API token prefixed with `kova_tk_`. Example: `Bearer kova_tk_a3f2b1c4d5e6f7a8b9c0d1e2f3a4b5c6`'
x-refined-from:
- kovatools-com-openapi.yml
- openapi.yaml