Skip to main content
API reference sections

Schema

ContextState

The current state of a pinned source. The pin itself never changes.

Type "live" or "in_trash" or "unavailable"

Shape

One of 3 shapes:

  1. Variant 1

    Listed, not in the trash, and the pinned bytes are retained.

    "live"

  2. Variant 2

    In the workspace's trash - its own stamp or an ancestor's. The pinned bytes are still retained; restore makes it live again.

    "in_trash"

  3. Variant 3

    The pinned bytes cannot be opened here: the document was purged (its versions cascade with it), the blob is gone, or the workspace is.

    "unavailable"

Example
"live"

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

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.