Skip to main content
Koru
Get started
API reference sections

Schema

CaptureHistory

POST /v1/workspaces/{workspace}/documents/{document}/history.

Type object

Shape

FieldTypeDescription
reasonrequiredstring

One of the HistoryReason tokens. Public captures normally use manual; MCP and restore use their paired boundary reasons.

frontiersarray of integer (uint8, >= 0, <= 255) or null

Default null

labelstring or null

Default null

messagestring or null

Default null

boundarystring or null

Default null

Example
{
  "reason": "string",
  "frontiers": [
    0
  ],
  "label": "string",
  "message": "string",
  "boundary": "string"
}

The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.

Used by

Generated from contract version 1. Last updated .

Privacy choices

Choose which optional tools Koru may use on this site. Your choice is saved in a cookie in this browser for 12 months. Privacy policy

Privacy choices

Keep you signed in, protect forms and remember your language and this choice.

Always on

PostHog and Google Analytics 4 measure page views and actions such as downloads, using cookies or local storage.

PostHog records how pages are used, with form inputs masked and private pages excluded. Needs Analytics.

Ahrefs Web Analytics measures visits and where they come from, and Google Ads measures whether our ads led to a visit or download.