Docs Open org

API reference

API schemas

Every type the API sends and accepts.

Accepted

The result of accepting an invitation.

FieldTypeDescription
actor_id requiredstring (uuid)Your new actor.
handle requiredstringYour handle there.
org requiredstringThe org slug.

ActionBody

A task action's body (fields apply per action).

FieldTypeDescription
base_revisioninteger (int64) | nullThe page revision the action was based on.
claim_idstring (uuid) | nullThe claim (claims are idempotent per claim_id; one is minted if absent).
completion_sourceCompletionSourceCompletion attribution (complete, or set_state to done); defaults to performed.
evidencestring | nullEvidence (submit, approve, reject).
keywordstring | nullThe keyword (set_state).
lease_minutesinteger (int32) | nullLease length (1–240 minutes).
notestring | nullA note (release, complete, set_state, note), or the reason (cancel, reopen).
override_claimbooleanA human overriding someone else's claim.
reasonstring | nullThe reason (cancel, reopen).

ActionResponse

An action's result: the task, and what happened.

TaskView & object

ActorStatus

An actor's status.

"active" | "paused" | "revoked"

Agenda

An agenda.

FieldTypeDescription
end requiredstring (date)The last day.
items requiredAgendaLine[]The lines, by day then time.
span requiredstringThe span.
start requiredstring (date)The first day.
today requiredstring (date)Today, in your zone.

AgendaBlock

One block of a command.

FieldTypeDescription
matchstring | nullOrg match syntax.
qstring | nullA query (§9.1).
spanstring | nullagenda blocks: the span.
titlestring | nullIts heading.
type requiredstringagenda, todo, match, stuck or search.

AgendaCommand

An agenda command.

FieldTypeDescription
blocks requiredAgendaBlock[]The blocks.
key requiredstringIts dispatcher key.
page requiredobjectThe page defining it.
settings requiredobjectskip_done, tag_filter, …
title requiredstringTitle.

AgendaEntry

An agenda line's entry.

FieldTypeDescription
ancestors requiredAncestorRef[]Enclosing headings on this page, outermost first, excluding this entry.
categorystring | nullcategory::
keywordstring | nullKeyword.
ownerstring | nullOwner handle.
page requiredobjectThe page.
prioritystring | nullPriority.
short_id requiredstringShort ID.
state_classstring | nullState class.
tags requiredstring[]Tags (with inherited).
title requiredstringTitle.

AgendaLine

One agenda line.

FieldTypeDescription
date requiredstring (date)The day it's shown on.
daysinteger (int64) | nullDays relative to the timestamp.
end_timestring | nullHH:MM.
entry requiredAgendaEntryThe entry.
kind requiredstringscheduled, deadline, appointment, deadline_warning, overdue, preview, habit or anniversary.
orgstring | nullThe hat (cross-hat agenda only).
timestring | nullHH:MM, when timed.
timestamp requiredstringThe timestamp it comes from.

Agent

An agent.

FieldTypeDescription
allow_direct_task_completion requiredbooleanThe human owner permits direct completion when the task's effective review is auto.
client_idstring | nullThe OAuth client that created it.
client_namestring | nullThe OAuth client's name, when a client created it.
created_at requiredstring (date-time)Created.
display_name requiredstringDisplay name.
handle requiredstringHandle.
iconstring | nullIcon.
id requiredstring (uuid)Id.
last_seen_atstring (date-time) | nullWhen it last used a token or did anything audited.
ownernull | AgentOwner
scopes requiredstring[]Scopes it holds through live grants and tokens.
scorecardnull | Scorecard
status requiredActorStatusStatus.

AgentOwner

An agent's owner.

FieldTypeDescription
handle requiredstringIts handle.
id requiredstring (uuid)The owner.
kind requiredstringhuman or team.

AncestorRef

An enclosing heading on the entry's page, for nested task context.

FieldTypeDescription
short_idstring | nullIts short ID, when the heading has one.
title requiredstringIts title without a TODO keyword, priority, tags or cookies.

AncestorView

An ancestor in a context packet.

FieldTypeDescription
properties requiredmap of stringIts own properties.
short_idstring | nullIts short ID.
title requiredstringIts title.

Anchor

A daily anchor.

FieldTypeDescription
day requiredstring (date)The UTC day.
hash requiredstringIts hash, hex.
last_event_id requiredinteger (int64)The day's last event.

Answer

A POST /confirmations/{token} body.

FieldTypeDescription
answer requiredstringThe answer (one of the options, or free text); decline refuses.

Applied

The result of applying.

FieldTypeDescription
pages requiredCommitted[]Pages changed, with their revisions.
replaced requiredintegerMatches replaced.
undo_receiptstring (uuid) | nullThe undo receipt (POST /orgs/{org}/undo reverses it).

ApplySpec

Applying a replacement.

FindSpec & object

AttachmentRef

An attachment reference.

FieldTypeDescription
filename requiredstringThe file name.
short_id requiredstringIts short ID.
url requiredstringThe download link.

AttachmentView

An attachment as the API shows it.

FieldTypeDescription
content_type requiredstringThe sniffed content type.
created_at requiredstring (date-time)When.
created_bystring | nullWho uploaded it.
deleted_atstring (date-time) | nullWhen it was trashed.
download_url requiredstringThe download endpoint (absolute; redirects to a signed URL).
entrystring | nullThe entry's short ID.
filename requiredstringThe file name.
id requiredstring (uuid)Its id.
metadata requiredanyPreviews, page counts, media metadata and diagnostics.
pagestring | nullThe page's short ID.
preview_urlstring | nullThe preview endpoint (absolute), once a thumbnail exists.
quarantined requiredbooleanWhether scanning found malware (downloads are refused).
sha256 requiredstringSHA-256, hex.
short_id requiredstringIts short ID.
size requiredinteger (int64)Bytes.
url requiredstringThe deep link.
version requiredinteger (int32)The current version (from 1).

Attempt

A prior attempt, from the logbook.

FieldTypeDescription
atstring | nullThe logbook timestamp.
by requiredstringThe actor handle.
kind requiredAttemptKindWhat happened.
notestring | nullThe handoff note or feedback.

AttemptKind

What a past attempt was.

"released" | "rejected" | "reopened"

AuditEntry

One audit event as a reader sees it.

FieldTypeDescription
action requiredstringThe action.
actor_idstring (uuid) | nullWho acted.
at requiredstring (date-time)When.
clientstring | nullClient.
conversation_refstring | nullThe agent's conversation reference.
diffobject | nullThe diff (redacted where needed).
hash requiredstringThe event hash, hex.
id requiredinteger (int64)The event id.
ipstring | nullClient IP (admins only).
on_behalf_ofstring (uuid) | nullThe human an agent acted for.
reasonstring | nullThe reason.
redacted requiredbooleanWhether titles were redacted.
request_idstring | nullThe request ID.
resource_idstring (uuid) | nullThe resource.
resource_type requiredstringThe resource type.
short_idstring | nullIts short ID.
space_idstring (uuid) | nullIts space.
summary requiredstringA plain-language summary.
task_idstring (uuid) | nullThe task.
user_agentstring | nullUser agent (admins only).
via requiredstringSurface.

A link to a page.

FieldTypeDescription
context requiredstringText around the link.
entryobject | nullThe linking entry.
page requiredobjectThe linking page.

BatchBody

A POST /tasks:batch body.

FieldTypeDescription
dry_runbooleanReport what would happen, writing nothing.
import_idstring (uuid) | nullRecord the items in this import (so it can be undone as a unit).
items requiredTaskInput[]The tasks. Items with source and external_id upsert.
sourcestring | nullThe default source for items.

BatchItem

One batch item's result.

FieldTypeDescription
action requiredstringcreated, updated or skipped.
duplicate_ofnull | DuplicateHint
index requiredintegerThe item's index.
short_idstring | nullThe entry.
urlstring | nullIts link.

BatchResult

The batch result.

FieldTypeDescription
dry_run requiredbooleanNothing was written.
import_idstring (uuid) | nullThe import, if any.
items requiredBatchItem[]Per item.
summary requiredobjectCounts.

Billing

Billing status.

FieldTypeDescription
active_seats requiredinteger (int64)Active human members (guests are free).
current_period_endstring (date-time) | nullCurrent period end.
enabled requiredbooleanWhether billing applies.
provider requiredstringnone or stripe.
read_only requiredbooleanRead-only for non-payment.
seatsinteger (int32) | nullPaid seats.
statusstring | nullThe subscription status (trialing, active, …), if any.
trial_ends_atstring (date-time) | nullTrial end.

Blocker

One blocker, as the API returns it (§7.4).

FieldTypeDescription
reason requiredBlockerReasonWhy it blocks.
short_idstring | nullThe blocking entry's short ID.

BlockerReason

Why a task is blocked.

"depends_open" | "depends_cancelled" | "depends_missing" | "child_open" | "earlier_sibling_open"

BlockResult

One block's results.

AgendaBlock & object

Budget

Money, as budget:: gives it (§5.4): £450, $20, 100 EUR.

FieldTypeDescription
amount requirednumber (double)The amount. Whole amounts serialise as integers.
currency requiredstringThe ISO 4217 code.

CalendarItem

A calendar entry.

FieldTypeDescription
date requiredstring (date)Its day.
row requiredstringThe row.
timestring | nullIts time, if any.

Capabilities

What this server offers.

FieldTypeDescription
features requiredobjectFeatures that depend on configuration.
limits requiredobjectLimits.
versions requiredobjectVersions.

CaptureBody

A capture.

FieldTypeDescription
bodystring | null{{body}}.
clipboardstring | null{{clipboard}}.
promptsmap of string{{prompt:Label}} answers.
selectionstring | null{{selection}}.
templatestring | nullA capture template's key (from a ```capture block).
textstring | nullQuick-add text (Call Sam tomorrow 3pm #work !A), used when there's no template.
titlestring | null{{title}}.
urlstring | null{{url}}.

Captured

What a capture made.

FieldTypeDescription
page requiredobjectThe page it went to.
short_idstring | nullThe entry, when it made one.
suggestionsobject | nullJev suggestions for the new entry, when ready (triage runs as a job: read them later on the entry).
url requiredstringThe deep link.

ChainBreak

The first break found, if any.

FieldTypeDescription
at requiredstring (date-time)When it claims to have happened.
id requiredinteger (int64)The event where the chain breaks.
reason requiredstringhash_mismatch, prev_hash_mismatch or head_mismatch.

ChangeActor

The acting actor of an event.

FieldTypeDescription
handle requiredstringIts handle.
id requiredstring (uuid)The actor.
kind requiredstringIts kind.

ChangeEvent

One event in the feed.

FieldTypeDescription
actornull | ChangeActor
created_at requiredstring (date-time)When.
data requiredobjectA small summary.
entity_idstring (uuid) | nullThe entity.
entity_type requiredstringThe entity's type.
id requiredinteger (int64)The event id.
short_idstring | nullIts short ID.
space_idstring (uuid) | nullIts space.
type requiredstringThe type.
urlstring | nullIts deep link.
viastring | nullSurface.

ChangesPage

A page of the feed.

FieldTypeDescription
events requiredChangeEvent[]Events in order.
next_cursor requiredstringPass as since next time. Always set: an empty page returns the same position.

Checklist

Done and total counts for a checklist or child tasks (§7.11).

FieldTypeDescription
done requiredinteger (int32)Done items.
total requiredinteger (int32)All items.

Checkout

A checkout link.

FieldTypeDescription
url requiredstringWhere to send the owner.

ClaimView

A claim in a payload.

FieldTypeDescription
bystring | nullThe claimant's handle.
claim_id requiredstring (uuid)The claim's key.
claimed_atstring (date-time) | nullWhen it was taken.
expired requiredbooleanThe lease has ended (the task is claimable again).
lease_untilstring (date-time) | nullWhen the lease ends.
stale requiredbooleanThe task changed since it was claimed.

ClockRow

A clock table row.

FieldTypeDescription
key requiredstringThe group key: an entry or page short ID, or a handle.
minutes requiredinteger (int64)Minutes in the range (running clocks count up to now).
titlestring | nullIts title (entries and pages).

Clocktable

A clock table.

FieldTypeDescription
end requiredstring (date)Last day.
rows requiredClockRow[]Rows, most time first.
start requiredstring (date)First day.
total requiredinteger (int64)Total minutes.

Column

A board column.

FieldTypeDescription
items requiredstring[]The short IDs in it, in rank order.
key requiredstringThe keyword (or group value).
terminal requiredbooleanTerminal keywords come last.

CommandResults

A command's results, block by block.

FieldTypeDescription
blocks requiredBlockResult[]Its blocks' results, in order.
command requiredAgendaCommandThe command.

CommentView

A comment as the API shows it. Top-level comments carry their thread in replies.

FieldTypeDescription
anchorstring | nullThe Yjs relative positions, base64.
authorstring | nullThe author's handle.
author_kindstring | nullhuman or agent.
body requiredstringThe text (empty once deleted).
created_at requiredstring (date-time)When.
deleted requiredbooleanDeleted (kept as a placeholder while it has replies).
edited_atstring (date-time) | nullWhen the author last edited it.
entrystring | nullThe entry's short ID, when it's on one.
id requiredstring (uuid)Its id.
mentions requiredstring[]The handles it mentions.
page requiredstringThe page's short ID.
parentstring | nullThe thread's first comment (for replies).
quotestring | nullThe quoted text it's anchored to.
replies requiredCommentView[]Replies, oldest first.
resolved_atstring (date-time) | nullWhen its thread was resolved.
resolved_bystring | nullWho resolved it.
short_id requiredstringIts short ID.
url requiredstringThe deep link.

Committed

A committed page change.

FieldTypeDescription
after_rev requiredinteger (int64)The revision after it.
before_rev requiredinteger (int64)The revision before the change.
page_id requiredstring (uuid)The page.

CompletionSource

Whether a completion records the actor's work or its human owner's report.

"performed" | "human_report"

Confirmation

A confirmation request.

FieldTypeDescription
decisionnull | Decision
expires_atstring (date-time) | nullWhen the link expires.
risknumber (float) | nullJev's risk score (0–1). At or above the org's risk_threshold, standing rules don't apply: the human confirms.
tokenstring | nullThe token (for POST /confirmations/{token}).
urlstring | nullThe page the human opens, unless a standing rule already decided.

ContextPacket

The context packet (§15.4).

FieldTypeDescription
ancestors requiredAncestorView[]Ancestors, outermost first.
attachments requiredAttachmentRef[]Attachments.
backlinks requiredLinkedPage[]Pages and entries linking to the task.
decisions requiredDecision[]Decisions on the task.
last_occurrences requiredOccurrence[]The last three completions of a repeating task, newest first.
linked_pages requiredLinkedPage[]Pages the task links to.
prior_attempts requiredAttempt[]Releases, rejections and resets, newest first.
secrets requiredstring[]Names of secrets the task references (never values).
task requiredTaskViewThe task.

ConvertBody

A POST /convert body.

FieldTypeDescription
from requiredstringorg (Org mode) or aegent-md.
source requiredstringThe text to convert.
to requiredstringaegent-md or org.

Converted

A conversion's result.

FieldTypeDescription
details requiredConvertNote[]The same, structured.
diagnostics requiredstring[]Diagnostics as lines (line 3: …).
markdown requiredstringThe converted text (markdown for aegent Markdown, else the Org text).

ConvertNote

A conversion diagnostic.

FieldTypeDescription
code requiredstringunmapped, encrypted, unresolved_id, tag_renamed, property_key, …
line requiredintegerThe 1-based line in the input.
message requiredstringWhat happened.

CoordRev

One task's coordination state around an action.

FieldTypeDescription
after requiredobjectAfter it.
before requiredobjectBefore the action.
entry_id requiredstring (uuid)The entry.

CreateAddress

A new address.

FieldTypeDescription
spacestring | nullThe space captures go to (default: your inbox).
templatestring | nullA capture template key.

CreateAgent

A POST /agents body.

FieldTypeDescription
allow_direct_task_completionbooleanPermit direct completion under auto review (default: false).
display_name requiredstringDisplay name.
handlestring | nullHandle (default: from the name).
iconstring | nullIcon.
ownerstring | nullOwner: a human or team handle (default: you).

CreateComment

A POST …/comments body.

FieldTypeDescription
anchorstring | nullThe Yjs relative-position pair, base64.
body requiredstringThe text; @handle mentions notify people, agents and teams.
entrystring | nullThe entry it's on (short ID or UUID).
parentstring | nullThe comment it replies to (replies join the thread's root).
quotestring | nullThe text it's about.

CreateConfirmation

A POST /tasks/{ref}/confirmations body.

FieldTypeDescription
categorystring | nullThe category, matched against standing rules.
optionsstring[] | nullChoices; free text when absent.
question requiredstringThe question for the human.

CreateFeed

A new feed.

FieldTypeDescription
name requiredstringName.
querystringOnly entries matching this (default: everything you can read).

CreateInvite

A POST /invites body.

FieldTypeDescription
email requiredstringWho.
org_role requiredstringadmin, member or guest.
space_rolenull | Role
spacesstring[]Spaces (slugs or ids) to grant.

CreateOrg

A POST /orgs body.

FieldTypeDescription
handlestring | nullYour handle in the new org (default: your personal handle).
name requiredstringThe name.
slug requiredstringThe slug (2–32 of a-z 0-9 _ -, not reserved).

CreatePage

A POST /pages body. Give space, parent, or both (the parent must be in that space); with neither it's 422.

FieldTypeDescription
external_idstring | nullThe page's id in source.
iconstring | nullIcon.
import_idstring (uuid) | nullThe import batch, undone as a unit.
markdownstring | nullThe text (default: a heading with the title).
parentstring | nullThe parent page (short ID or id).
sourcestring | nullImport provenance (§23.2), with external_id: a repeat updates the page if the text changed and otherwise skips it.
spacestring | nullThe space (slug or id). Required unless parent is given; defaults to the parent's space.
templatestring | nullA template page to copy.
title requiredstringTitle.

CreateRule

A POST /decision-rules body.

FieldTypeDescription
agent requiredstringThe agent's handle.
category requiredstringThe category, e.g. draft.
expires_atstring (date-time) | nullExpiry.
pagestring | nullLimit to a page subtree (short ID or UUID).
spacestring | nullLimit to a space (slug or id).

CreateSecret

A POST /secrets body.

FieldTypeDescription
kind requiredstringKind.
metaobject | nullMetadata (no secret fields).
name requiredstringName.
require_confirmationbooleanReveals need a verified decision.
space requiredstringThe space (slug or id).
value requiredobjectThe value: a JSON object with the kind's fields.

A POST /pages/{ref}/share-links body.

FieldTypeDescription
expires_in_daysinteger (int64) | nullDays until it expires (default 30).
rolestring | nullviewer or commenter.

CreateSpace

A POST /spaces body.

FieldTypeDescription
default_rolenull | Role
humans_onlybooleanDeny agents always.
iconstring | nullIcon.
name requiredstringName.
slug requiredstringSlug.
visibilitynull | Visibility

CreateTeam

A POST /teams body.

FieldTypeDescription
handle requiredstringHandle.
name requiredstringName.
parentstring | nullThe parent team's handle.

CreateWebhook

A POST /webhooks body.

FieldTypeDescription
events requiredstring[]Event types (task.*, page.created, *).
spacesstring[]Only these spaces (slugs or ids).
url requiredstringWhere to deliver (https in production).

Database

A database's schema.

FieldTypeDescription
errors requiredstring[]Problems with the schema.
properties requiredProperty[]The properties, in schema order.
revision requiredinteger (int64)The page's revision.
rows requiredRowsKindWhere rows come from.
short_id requiredstringThe database page's short ID (tasks for the Tasks database).
title requiredstringIts title.
views requiredDbView[]Its views.

DbRow

One row.

FieldTypeDescription
created_atstring (date-time) | nullWhen the row was created.
errorsmap of stringCoercion, formula and rollup errors by property key.
id requiredstringThe row's page or entry short ID (the {row} in the API).
revision requiredinteger (int64)The revision of the page holding the row's values (the row page, or the database page for heading rows): send it as base_revision.
title requiredstringIts title.
updated_atstring (date-time) | nullWhen it last changed.
values requiredmap of anyTyped values by property key (lowercase, spaces as _, §10.1).

DbView

A saved view on a database.

FieldTypeDescription
datestring | nullCalendar and timeline: the date property.
group_bystring | nullBoard: the property to group by.
layoutstringtable (default), list, board, calendar, gallery, timeline.
name requiredstringIts name.
qstringA filter (§9.1).
sortstringtitle, created, updated or a property name, - for descending.

Decision

A decision.

FieldTypeDescription
answer requiredstringThe answer.
categorystring | nullThe category (e.g. spend, reveal_secret).
clientstring | nullThe client.
conversation_refstring | nullThe conversation reference.
created_at requiredstring (date-time)When.
decided_bystring (uuid) | nullWho decided.
entry_idstring (uuid) | nullThe task.
id requiredstring (uuid)Id.
optionsobject | nullThe options offered.
question requiredstringThe question.
recorded_bystring (uuid) | nullWho recorded it.
rule_idstring (uuid) | nullThe standing rule it came from.
short_id requiredstringShort ID.
verification requiredstringagent_reported or verified.

DecisionRule

A standing decision rule.

FieldTypeDescription
agent requiredstringIts handle.
agent_id requiredstring (uuid)The agent.
category requiredstringThe category it pre-authorises.
created_at requiredstring (date-time)Created.
created_bystring (uuid) | nullWho created it.
expires_atstring (date-time) | nullExpiry.
id requiredstring (uuid)Id.
page_idstring (uuid) | nullThe page subtree scope.
space_idstring (uuid) | nullThe space scope.

Deleted

What deleting a row did.

FieldTypeDescription
row requiredstringThe deleted row.
unlinked requiredstring[]Rows in other databases whose relations pointed at it, now updated.

Delivery

One delivery attempt record.

FieldTypeDescription
attempt requiredinteger (int32)Attempts so far.
created_at requiredstring (date-time)Created.
delivered_atstring (date-time) | nullWhen it succeeded.
errorstring | nullThe last error.
event_id requiredinteger (int64)The event.
event_type requiredstringThe event type.
id requiredstring (uuid)Id.
next_attempt_atstring (date-time) | nullWhen the next attempt is due.
response_msinteger (int32) | nullThe last response time.
status_codeinteger (int32) | nullThe last response status.

Detail

summary or full detail.

"summary" | "full"

DuplicateHint

A possible duplicate of a new task (§21 use 4): a hint, never applied.

FieldTypeDescription
score requirednumber (float)How sure: 1 for an identical title, else the classifier's probability.
short_id requiredstringThe existing task's short ID.
title requiredstringIts title.

DuplicatePage

A POST /pages/{ref}/duplicate body.

FieldTypeDescription
titlestring | nullThe copy's title (default: <title> (copy)).

EntryKind

Whether an entry is a heading or an inline task (entries.kind).

"heading" | "inline"

EntryView

Any entry (a heading or a task), for GET /entries/{ref}.

FieldTypeDescription
all_tags requiredstring[]Tags with inheritance.
body requiredstringThe body.
deadlinenull | TimeField
fingerprint requiredFingerprintThe requirements fingerprint.
inherited requiredmap of stringInherited properties.
keywordstring | nullThe keyword, for tasks.
kind requiredEntryKindheading or inline.
level requiredinteger (int32)The outline level.
page requiredPageRefThe page.
parentstring | nullThe parent's short ID.
prioritystring | nullThe priority.
properties requiredmap of stringOwn properties.
revision requiredinteger (int64)The page revision.
schedulednull | TimeField
short_idstring | nullThe entry's short ID.
state_classnull | StateClass
suggestionsobject | nullJev suggestions (§21), by kind: never applied, only offered.
tags requiredstring[]Own tags.
title requiredstringThe title.
url requiredstringThe deep link.

ExportFormat

Export formats.

"jsonl" | "csv"

ExportRequest

POST /orgs/{org}/exports.

FieldTypeDescription
childrenbooleanDocuments: include the page's descendants.
format requiredstringzip-md (the full export) or a document format: html, pdf, docx, odt, epub, revealjs, latex, txt, md.
include_secretsbooleanZip: include secrets, encrypted with passphrase (humans only).
passphrasestring | nullThe passphrase for secrets.json.age (at least 12 characters).
scopestring | nullWhat to export: org (default for zip), a space slug, or a page reference (required for documents).

ExportView

An export.

FieldTypeDescription
content_typestring | nullIts type.
created_at requiredstring (date-time)When it was asked for.
download_urlstring | nullA 5-minute link, once done.
errorstring | nullThe failure, in words.
error_codestring | nullWhy it failed: export_tool_missing, export_failed, export_timeout, not_found.
expires_atstring (date-time) | nullUntil when it can be downloaded.
filenamestring | nullThe file's name.
finished_atstring (date-time) | nullWhen it finished.
format requiredstringThe format.
id requiredstring (uuid)Its id.
scope requiredanyWhat was exported.
sizeinteger (int64) | nullIts size.
status requiredstringqueued, running, done or failed.

FindSpec

What to find.

FieldTypeDescription
case_sensitivebooleanMatch case (default false).
find requiredstringThe text to find (literal).
scopestring | nullLimit to a space slug or page reference.
whole_wordbooleanOnly whole words (default false).

Fingerprint

blake3 requirements fingerprint, b3:<hex>

string

GrantView

A grant.

FieldTypeDescription
created_at requiredstring (date-time)Created.
role requiredRoleThe role.
subject requiredstringThe subject's handle.
subject_id requiredstring (uuid)The subject.
subject_kind requiredstringactor or team.

Group

A board column.

FieldTypeDescription
rows requiredstring[]Row ids in the column.
valuestring | nullThe value (null for rows without one).

Guidance

Agent guidance (§7.9), from agent::, agent_allow::, agent_ask:: and budget::, own or inherited.

FieldTypeDescription
allow requiredstring[]agent_allow::
ask requiredstring[]agent_ask::
budgetnull | Budget
textstring | nullagent::

Hat

One hat (org) the account belongs to (§16.2a).

FieldTypeDescription
actor_id requiredstring (uuid)The account's actor in the org.
colourstring | nullColour.
favourites requiredstring[]Favourite pages and views (short IDs).
handle requiredstringIts handle.
hidden requiredbooleanHidden by the visibility schedule right now.
kind requiredstringpersonal or shared.
name requiredstringThe org name.
org requiredHatOrgThe org.
position requiredinteger (int32)Switcher order.
rolestring | nullThe account's org role.
teams requiredstring[]The actor's teams (handles).
visibility requiredWindow[]Hidden windows.
visible_now requiredbooleanWhether the hat is visible right now.

HatOrg

A hat's org.

FieldTypeDescription
kind requiredstringpersonal or shared.
name requiredstringName.
slug requiredstringSlug.

HatTask

A task in the cross-hat list.

TaskView & object

HitPage

The page a hit belongs to.

FieldTypeDescription
short_id requiredstringIts short ID.
title requiredstringIts title.

HitSpace

A space a hit is in.

FieldTypeDescription
name requiredstringIts name.
slug requiredstringIts slug.

HitType

A kind of search result.

"page" | "entry" | "comment" | "attachment" | "actor"

IcsFeed

A calendar feed.

FieldTypeDescription
created_at requiredstring (date-time)Created.
id requiredstring (uuid)Id.
name requiredstringName.
query requiredstringThe query (§9.1).
urlstring | nullThe subscribe URL (only in the create response: it carries the token).

ImportJob

An import batch.

FieldTypeDescription
created_at requiredstring (date-time)Created.
dry_run requiredbooleanA dry run.
id requiredstring (uuid)Id: pass as import_id to tasks:batch.
source requiredstringThe source (todoist, things, …).
status requiredstringrunning, done or undone.
summary requiredobjectCounts: created, updated, skipped, duplicate.
undone_atstring (date-time) | nullUndone.

InboundAddress

An email-in address.

FieldTypeDescription
address requiredstringThe full address.
created_at requiredstring (date-time)Created.
local_part requiredstringThe part before @.
spacestring | nullWhere captures go (space slug).

Invite

An invitation.

FieldTypeDescription
email requiredstringEmail.
expires_at requiredstring (date-time)Expiry.
id requiredstring (uuid)Id.
org_role requiredstringRole.
space_ids requiredstring (uuid)[]Spaces granted on acceptance.
tokenstring | nullThe token (only in the create response).
urlstring | nullThe accept link (only in the create response).

Jump

Where to jump to within the page: a byte range of its Markdown.

FieldTypeDescription
byte_end requiredintegerOne past the last byte.
byte_start requiredintegerFirst byte.

KekRotated

The result of a KEK rotation.

FieldTypeDescription
kek_version requiredinteger (int32)The new KEK version.
rewrapped requiredinteger (int64)DEKs re-wrapped (values were not re-encrypted).

KillReport

What the kill switch did.

FieldTypeDescription
claims_released requiredinteger (int64)Claims released.
paused requiredstring[]Agents paused.

KillSwitch

A POST /kill-switch body.

FieldTypeDescription
reasonstring | nullWhy.
scopestring | nullorg (owners and admins: every agent) or mine (your agents). Default org.

KindPref

A notification preference.

FieldTypeDescription
channels requiredstring[]in_app, push, email.
kind requiredstringThe kind.

LinkedPage

A linked page or backlink in a context packet.

FieldTypeDescription
short_id requiredstringThe page's (or entry's) short ID.
text requiredstringThe first 500 characters (summary), or everything (full).
title requiredstringIts title.
truncated requiredbooleanWhether text was cut.

Marked

How many were marked.

FieldTypeDescription
marked requiredinteger (int64)Notifications marked read.

MarkRead

A POST /notifications/read body.

FieldTypeDescription
allbooleanOr every notification.
idsstring (uuid)[]These notifications.

Match

One match.

FieldTypeDescription
byte_end requiredintegerOne past its last byte.
byte_start requiredintegerFirst byte of the match.
context requiredstringThe line around the match.
highlight requiredinteger[]The match within context, in code points.
id requiredstring{page short ID}:{byte_start}: pass back in selected.
page requiredstringThe page's short ID.
revision requiredinteger (int64)The page's revision the match was found at.
title requiredstringThe page's title.
writable requiredbooleanWhether the viewer may change this page.

Me

Who /me is.

FieldTypeDescription
account_id requiredstring (uuid)The account.
acting_asstring (uuid) | nullFor agent tokens, the agent the token acts as.
display_namestring | nullDisplay name.
email requiredstringEmail.
handlestring | nullThe personal handle.
locale requiredstringLocale.
preferences requiredPreferencesPreferences.
scopes requiredstring[]The token's scopes (empty for sessions, which hold every scope).
tz requiredstringIANA time zone.

Member

A member (a human actor).

FieldTypeDescription
actor_id requiredstring (uuid)The actor.
created_at requiredstring (date-time)Joined.
display_name requiredstringDisplay name.
emailstring | nullEmail (visible to admins).
handle requiredstringHandle.
org_rolestring | nullOrg role.
status requiredstringactive, paused or revoked.

MovePage

A POST /pages/{ref}/move body.

FieldTypeDescription
afterstring | nullPut it right after this sibling (short ID).
beforestring | nullPut it right before this sibling (short ID).
parentstring | nullThe new parent (short ID), or "" for top level.
spacestring | nullThe new space (slug or id).

NewPushSubscription

A browser push subscription (the PushSubscription JSON).

FieldTypeDescription
endpoint requiredstringThe push service endpoint.
keys requiredPushKeysThe subscription keys.

NotificationPrefs

Notification preferences.

FieldTypeDescription
kinds requiredKindPref[]Per-kind channels; kinds not listed use in-app and push.

NotificationView

A notification.

FieldTypeDescription
created_at requiredstring (date-time)Created.
entity_idstring (uuid) | nullWhat it's about.
entity_typestring | nullWhat it's about.
id requiredstring (uuid)Id.
kind requiredstringKind.
payload requiredobjectSummary.
read_atstring (date-time) | nullRead.

Occurrence

A past occurrence of a repeating task ("last time").

FieldTypeDescription
atstring | nullThe logbook timestamp of the completion.
keyword requiredstringThe done keyword.
notestring | nullThe completion note.
notes requiredstring[]Notes taken between this and the previous completion.

Offboarding

What happens to a removed member's things.

FieldTypeDescription
agents_tostring | nullGive their agents to this human or team (they stay paused).
private_spacesstring | nulltransfer (default) or archive their private spaces.
private_spaces_tostring | nullWho receives transferred private spaces (default: you).
reasonstring | nullWhy (recorded in the audit log).
reassign_tasks_tostring | nullReassign their owned tasks to this actor or team handle; unowned if absent.
revoke_agentsbooleanRevoke their agents instead of pausing them.

OffboardReport

What offboarding did.

FieldTypeDescription
agents requiredinteger (int64)Agents paused (or revoked).
claims_released requiredinteger (int64)Live claims released.
private_spaces requiredinteger (int64)Private spaces transferred or archived.
secrets_flagged requiredinteger (int64)Secrets flagged rotate_recommended.
tasks requiredinteger (int64)Tasks reassigned or unowned.

Org

An org.

FieldTypeDescription
actor_id requiredstring (uuid)The caller's actor.
created_at requiredstring (date-time)Created.
id requiredstring (uuid)Id.
kind requiredstringpersonal or shared.
name requiredstringName.
rolestring | nullThe caller's role (humans).
slug requiredstringSlug.

OrgRole

An org role (humans only).

"owner" | "admin" | "member" | "guest"

OwnerView

An owner in a payload.

FieldTypeDescription
handle requiredstringThe handle, without @.
kindnull | PrincipalKind

Paged_AgendaCommand

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_Agent

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_Anchor

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_AttachmentView

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_AuditEntry

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_CommentView

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_Decision

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_DecisionRule

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_Delivery

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_GrantView

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_Hat

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_HatTask

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredTaskView & object[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_IcsFeed

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_ImportJob

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_InboundAddress

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_Invite

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_Member

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_NotificationView

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_Org

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_PageSummary

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_PageVersion

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_ReminderView

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_SavedView

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_SecretMeta

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_Space

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_TaskView

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_Team

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

Paged_Webhook

A page of items ({items, next_cursor}).

FieldTypeDescription
items requiredobject[]The items.
next_cursorstring | nullPass as cursor for the next page.

PageOp

One edit operation (as in the MCP edit_page).

object | object | object | object | object

PageRef

A page reference.

FieldTypeDescription
short_id requiredstringThe page's short ID.
title requiredstringIts title.

PageRev

One page a receipt touched.

FieldTypeDescription
after_rev requiredinteger (int64)Its revision after.
before_rev requiredinteger (int64)Its revision before (0: the operation created it).
page_id requiredstring (uuid)The page.

PageSummary

A page in a list or tree.

FieldTypeDescription
iconstring | nullIcon.
id requiredstring (uuid)Id.
is_dailystring (date) | nullA daily note's date.
parentstring | nullThe parent's short ID.
position requiredstringSibling order.
properties requiredmap of anyPage-local frontmatter properties, excluding reserved configuration keys.
revision requiredinteger (int64)The revision (also the page's ETag).
short_id requiredstringShort ID.
slug requiredstringSlug.
space requiredstringThe space's slug.
tags requiredstring[]Tags from this page's frontmatter, without leading #.
title requiredstringTitle.
updated_at requiredstring (date-time)Updated.

PageVersion

A version.

FieldTypeDescription
actorstring | nullThe writer's handle.
created_at requiredstring (date-time)When.
markdownstring | nullThe text (single-version reads only).
origin requiredstringws, api, sync or system.
revision requiredinteger (int64)The revision.

PageView

A page with its text.

PageSummary & object

PatchComment

A PATCH /comments/{ref} body.

FieldTypeDescription
anchorstring | nullA new anchor (after the editor re-anchors it), base64.
bodystring | nullThe new text.

PatchPage

A PATCH /pages/{ref} body.

FieldTypeDescription
base_revisioninteger (int64) | nullThe revision the ops were written against.
ops requiredPageOp[]The operations, applied in order.

PatchTask

A PATCH /tasks/{ref} body. Empty strings clear a field.

FieldTypeDescription
acceptancestring | nullacceptance::
base_revisioninteger (int64) | nullThe revision the edit was based on.
bodystring | nullBody.
deadlinestring | nulldeadline::
dependsstring[] | nulldepends:: short IDs.
effortstring | nullEffort (30m; "" clears).
ownerstring | nullowner::
prioritystring | nullPriority letter.
propertiesmap of string | nullOther properties (null removes).
scheduledstring | nullscheduled::
tagsstring[] | nullTags.
titlestring | nullTitle.

Portal

A portal link.

FieldTypeDescription
url requiredstringWhere to send the owner.

Preferences

Account preferences.

FieldTypeDescription
clientobject | nullFree-form client flags (the web and desktop apps' own settings).
conventions_page_idstring (uuid) | nullThe conventions page shown to agents.
daily_digestboolean | nullThe daily agenda digest by email.
keymapstring | nulldefault, vim or emacs.
landingstring | nullThe landing view, default tasks; legacy daily opens Tasks.
quiet_endstring | nullQuiet hours end, HH:MM (default 08:00).
quiet_startstring | nullQuiet hours start, HH:MM (default 22:00).
remind_at_scheduledboolean | nullRemind at a timed scheduled item's time.
strip_locationboolean | nullStrip location (EXIF and XMP GPS) from photos this account uploads. null follows the org's strip_location setting (default on).
themestring | nullsystem, light or dark.
working_hoursobject | nullWorking hours, as weekly windows.

Preview

A preview.

FieldTypeDescription
matches requiredMatch[]Every match, by page then position.
pages requiredintegerHow many pages match.

PrincipalKind

What a handle names (§3, §4.2).

"human" | "agent" | "service" | "system" | "team"

ProblemBody

The RFC 9457 problem every error returns (for OpenAPI).

FieldTypeDescription
code requiredstringA stable snake_case code.
detailstring | nullThis occurrence.
hintstring | nullWhat to do next.
status requiredinteger (int32)The HTTP status.
title requiredstringA short summary.
type requiredstringA URI naming the problem type.

Property

A property definition.

FieldTypeDescription
databasestring | nullrelation: the target database's reference.
exprstring | nullformula: the expression.
fnstring | nullrollup: the function.
formatstring | nullnumber: the format.
key requiredstringThe key in row text (lowercase, spaces as _).
manybooleanrelation: whether it holds several rows.
name requiredstringThe display name.
optionsstring[]select, multi_select: the options.
propertystring | nullrollup: the property of the related rows.
relationstring | nullrollup: the relation property.
type requiredstringThe type (§10.2).

Publication

A publication.

FieldTypeDescription
include_children requiredbooleanChildren included.
slug requiredstringThe slug.
url requiredstringThe public URL.

Publish

A POST /pages/{ref}/publish body.

FieldTypeDescription
include_childrenbooleanPublish the children too.
slugstring | nullThe public slug (default: the page slug).

PushKeys

Subscription keys.

FieldTypeDescription
auth requiredstringAuth secret, base64url.
p256dh requiredstringP-256 public key, base64url.

PushSubscription

A stored subscription.

FieldTypeDescription
id requiredstring (uuid)Its id.
vapid_public_keystring | nullThe VAPID public key the client should use.

PutGrant

A PUT /grants/{subject} body.

FieldTypeDescription
role requiredRoleThe role.

PutMember

A PUT /teams/{handle}/members/{member} body.

FieldTypeDescription
is_managerbooleanWhether the member manages the team.

PutPage

A PUT /pages/{ref} body.

FieldTypeDescription
base_revisioninteger (int64) | nullThe revision it was based on: an older base is merged three ways.
markdown requiredstringThe full new text.

Receipt

A receipt.

FieldTypeDescription
actor_id requiredstring (uuid)Whose.
coord requiredCoordRev[]The coordination rows.
created_at requiredstring (date-time)When.
id requiredstring (uuid)Id.
op requiredstringThe operation (page.updated, task.claim, …).
pages requiredPageRev[]The pages.
undoable requiredbooleanWhether every page is still at its after_rev and every coordination row as the action left it.

RecordDecision

A POST /tasks/{ref}/decisions body (record_decision).

FieldTypeDescription
answer requiredstringThe answer given.
categorystring | nullThe category (e.g. spend).
conversation_refstring | nullThe conversation reference.
optionsobject | nullThe options offered.
question requiredstringThe question asked.

RefileBody

A POST /tasks/{ref}/refile body.

FieldTypeDescription
base_revisioninteger (int64) | nullThe revision of the task's page the move was based on.
headingstring | nullA heading on it (default: the end of the page).
page requiredstringThe target page (short ID, id or title).

ReminderView

A reminder.

FieldTypeDescription
fire_at requiredstring (date-time)When it fires (after any snooze).
id requiredstring (uuid)Id.
kind requiredstringscheduled, before, deadline_warning, deadline or custom.
sent_atstring (date-time) | nullSent.
short_id requiredstringThe entry.
title requiredstringIts title.

Resolved

What a short ID names.

FieldTypeDescription
entity_id requiredstring (uuid)The entity.
entity_type requiredstringThe entity type.
org requiredstringThe org it's in now.
short_id requiredstringIts short ID (in the destination org, if moved).
status requiredstringactive or moved.
url requiredstringThe deep link.

Restriction

One page restriction.

FieldTypeDescription
role requiredRoleThe most it can have on the page and its descendants.
subject requiredstringThe subject's handle (actor or team).

Restrictions

A page's restrictions.

FieldTypeDescription
restrictedbooleanWhether the page is restricted.
restrictions requiredRestriction[]Who may see it.

Revealed

A revealed value.

FieldTypeDescription
expires_atstring (date-time) | nullFor agents: the claim's lease_until. Don't keep the value past it.
short_id requiredstringThe secret's short ID.
value requiredobjectThe value.
version requiredinteger (int32)The value's version.

RevealRequest

A POST /secrets/{ref}/reveal body.

FieldTypeDescription
break_glassbooleanOrg owner only: reveal regardless of access, loudly logged.
claim_idstring (uuid) | nullThe agent's live claim on that task.
reasonstring | nullWhy (required for break-glass).
taskstring | nullThe task the secret is for (required for agents).

ReviewPolicy

A review policy (§7.6).

"auto" | "required" | "none"

ReviewState

task_coord.review_state.

"none" | "pending" | "rejected"

ReviewView

Review state in a payload.

FieldTypeDescription
policy requiredReviewPolicyThe effective review policy.
state requiredReviewStatetask_coord.review_state.

Role

A space role: viewer < commenter < editor < manager.

"viewer" | "commenter" | "editor" | "manager"

RotateSecret

A POST /secrets/{ref}/rotate body.

FieldTypeDescription
value requiredobjectThe new value.

RowInput

A row write: title and values by property name.

FieldTypeDescription
base_revisioninteger (int64) | nullThe database page's revision the write is based on.
titlestring | nullThe row's title (create only; required there).
valuesmap of anyValues by property display name (or key). null clears.

Rows

A view's results.

FieldTypeDescription
calendarCalendarItem[] | nullCalendar: rows by date.
groupsGroup[] | nullBoard: rows by the group property's value, in option order.
rows requiredDbRow[]The rows, filtered and sorted.
viewnull | DbView

RowsKind

Where rows come from.

"pages" | "headings" | "tasks"

RunningClock

A running clock.

FieldTypeDescription
actor requiredstringWhose clock (handle).
entry requiredTitledRefThe entry.
minutes requiredinteger (int64)Minutes so far.
page requiredTitledRefIts page.
started_at requiredstring (date-time)Since.

SavedView

A saved view.

FieldTypeDescription
builtin requiredbooleanBuilt in (read-only).
config requiredobjectLayout options (columns, grouping, …).
layout requiredstringlist, board, calendar, timeline, table, gallery or agenda.
name requiredstringName.
owner_actor_idstring (uuid) | nullThe actor who owns the saved view; built-ins have no owner.
position requiredinteger (int32)Order.
query requiredstringThe query.
short_id requiredstringShort ID (or the built-in's name).
spacestring | nullThe space it belongs to (none: yours).

Scorecard

An agent's track record.

FieldTypeDescription
approvals requiredinteger (int64)Submissions approved.
avg_lead_time_secsnumber (double) | nullAverage time from first claim to first submission, in seconds.
claims requiredinteger (int64)Claims taken.
rejections requiredinteger (int64)Submissions rejected.
stale_claims requiredinteger (int64)Claims that went stale.
submissions requiredinteger (int64)Submissions made.
undos requiredinteger (int64)Undos.

SearchGroup

A count of results in one type and space.

FieldTypeDescription
count requiredinteger (int64)How many results.
spacestring | nullThe space slug (none for actors).
type requiredHitTypeThe type.

SearchHit

One search result (§16.2a). snippet is plain text; highlights are [start, end) ranges into it, in Unicode code points. Never HTML.

FieldTypeDescription
content_typestring | nullAttachments: the content type.
highlights requiredinteger[][]Matches within snippet.
id requiredstring (uuid)Its id.
jumpnull | Jump
org requiredstringThe org's slug.
pagenull | HitPage
score requirednumber (double)The fused, boosted score.
short_idstring | nullIts short ID (none for actors).
snippet requiredstringPlain-text context.
spacenull | HitSpace
title requiredstringIts title (a page or entry title, a file name, a handle).
type requiredHitTypeWhat it is.
url requiredstringIts deep link.

SearchResults

Search results.

FieldTypeDescription
groups requiredSearchGroup[]Results by type and space.
items requiredSearchHit[]This page of results, best first.
next_cursorstring | nullPass as cursor for the next page.
retrievers requiredstring[]Which retrievers ran.
throttled requiredstring[]Retrievers skipped for rate limits (semantic).
total requiredinteger (int64)Every result the viewer may see.
types requiredmap of integer (int64)Results by type.

SecretMeta

A secret's metadata (never its value).

FieldTypeDescription
created_bystring (uuid) | nullWho created it.
id requiredstring (uuid)Id.
kind requiredstringlogin, api_key, card, note, recovery_codes or ssh_key.
meta requiredobjectURL, tags, notes (without the secret), rotate_every.
name requiredstringName.
require_confirmation requiredbooleanReveals need a verified decision.
rotate_recommended requiredbooleanSomeone who could reveal it left.
rotated_atstring (date-time) | nullLast value change.
short_id requiredstringShort ID (reference it in pages as [[s3k]]).
space_id requiredstring (uuid)The space.
updated_at requiredstring (date-time)Updated.
url requiredstringDeep link.
version requiredinteger (int32)The value's version.

SequenceView

A TODO sequence's keywords: active, then terminal (§16.2a).

FieldTypeDescription
active requiredstring[]Keywords before |.
terminal requiredstring[]Keywords after |.

Settings

Org settings: the stored values over the defaults (§4.6).

object

A share link.

FieldTypeDescription
expires_atstring (date-time) | nullExpiry.
id requiredstring (uuid)Id.
role requiredstringRole.
url requiredstringThe URL (only in the create response).

Snooze

A snooze body.

FieldTypeDescription
presetstring | null10m, 1h, evening (18:00) or tomorrow (09:00).
untilstring (date-time) | nullOr an exact time.

Space

A space.

FieldTypeDescription
archived_atstring (date-time) | nullArchived (deleted).
created_at requiredstring (date-time)Created.
default_role requiredRoleThe role members get in an open space.
humans_only requiredbooleanAgents are always denied.
iconstring | nullIcon.
id requiredstring (uuid)Id.
name requiredstringName.
private_owner_idstring (uuid) | nullThe private owner.
rolenull | Role
settings requiredobjectSettings (todo, cancelled_keywords, …).
slug requiredstringSlug.
visibility requiredVisibilityVisibility.

StartImport

A POST /imports body.

FieldTypeDescription
dry_runbooleanA rehearsal.
source requiredstringThe source app.

StateClass

A keyword's state class (§7.1).

"active" | "hold" | "done" | "cancelled"

Status

A task's derived queue status (§7.4).

"ready" | "blocked" | "working" | "review" | "hold" | "done" | "cancelled"

TargetInput

Where a new entry goes.

FieldTypeDescription
datestring (date) | nullFile into the page's date tree on this day (YYYY-MM-DD).
headingstring | nullA heading on it: title, A/B path or short ID.
pagestring | nullA page: short ID, id or title.
spacestring | nullThe space to look the page up in (slug), or whose inbox to use.

TaskInput

A new task (or, with keyword: "", a plain heading).

FieldTypeDescription
bodystring | nullBody (Markdown).
createdstring (date-time) | nullThe original creation time (created::).
deadlinestring | nulldeadline::
dependsstring[]depends:: short IDs.
effortstring | nullEffort (30m, 1:30).
external_idstring | nullexternal_id::, unique per source.
keywordstring | nullThe TODO keyword (default: the first of the page's first sequence; "" for none).
ownerstring | nullowner:: handle.
prioritystring | nullPriority letter.
propertiesmap of stringOther properties.
scheduledstring | nullscheduled:: (a timestamp, date or RFC 3339 instant).
sourcestring | nullImport provenance (source::), for upserts.
tagsstring[]Tags.
targetnull | TargetInput
title requiredstringTitle.

TaskView

The canonical task payload (§16.3).

FieldTypeDescription
acceptancestring | nullacceptance::
all_tags requiredstring[]Tags with inheritance.
ancestorsAncestorRef[]Enclosing headings on this page, outermost first, excluding this task.
blockers requiredBlocker[]What blocks it.
body requiredstringThe body.
checklistnull | Checklist
claimnull | ClaimView
created_at requiredstring (date-time)entries.created_at.
deadlinenull | TimeField
depends requiredstring[]depends:: short IDs.
effort_minutesinteger (int32) | nulleffort:: in minutes.
fingerprint requiredFingerprintThe requirements fingerprint.
guidance requiredGuidanceAgent guidance.
keyword requiredstringThe TODO keyword.
ownernull | OwnerView
page requiredPageRefThe page.
prioritystring | nullThe priority letter.
properties requiredmap of stringOther properties, own and inherited.
review requiredReviewViewThe review policy and state.
revision requiredinteger (int64)The page revision.
schedulednull | TimeField
sequencenull | SequenceView
short_id requiredstringThe entry's short ID.
state_class requiredStateClassIts state class.
status requiredStatusThe queue status.
suggestionsobject | nullJev suggestions (§21), by kind: never applied, only offered.
tags requiredstring[]Own tags.
title requiredstringThe title.
updated_at requiredstring (date-time)entries.updated_at.
url requiredstringThe deep link.

Team

A team.

FieldTypeDescription
created_at requiredstring (date-time)Created.
handle requiredstringHandle.
id requiredstring (uuid)Id.
members requiredTeamMember[]Direct members.
name requiredstringName.
parentstring | nullThe parent team's handle.

TeamMember

A team member.

FieldTypeDescription
actor_id requiredstring (uuid)The actor.
handle requiredstringIts handle.
is_manager requiredbooleanManages the team.
kind requiredstringhuman or agent.

TestDelivery

A queued test delivery.

FieldTypeDescription
delivery_id requiredstring (uuid)The delivery.

TextPage

Extracted text, paginated by characters (MCP read_attachment, GET …/text).

FieldTypeDescription
next_offsetinteger | nullPass as offset for the next page.
offset requiredintegerThe character offset it starts at.
ready requiredbooleanWhether extraction has finished (false: try again shortly).
text requiredstringThe text in this page.
total requiredintegerCharacters in the whole text.

TimeField

A parsed scheduled or deadline value (entries.scheduled and entries.deadline, and the §16.3 payload). at is the instant for timed stamps (floating ones read in the page or org zone). A date-only stamp is a calendar day rather than an instant, so its at is the day's nominal bound in UTC (T00:00:00Z for scheduled, T23:59:59Z for a deadline), which every client reads back as the same date. The sort columns (next_scheduled_at, next_deadline_at) resolve dates in the org zone instead.

FieldTypeDescription
atstring (date-time) | nullThe start instant (see above).
floatingbooleanA timed stamp without a fixed zone (§8.1).
repeaterstring | nullThe repeater, such as +1y.
text requiredstringThe timestamp text as written.
tzstring | nullThe fixed zone (@Zone, or the page tz:).
warningstring | nullThe warning or delay, such as -3d.

TitledRef

A short ID and title.

FieldTypeDescription
short_id requiredstringShort ID.
title requiredstringTitle.

Undone

An undo's result.

FieldTypeDescription
pages requiredPageRev[]The pages, at their new revisions.
receipt requiredReceiptThe receipt that was reversed.

UpdateAgent

A PATCH /agents/{handle} body.

FieldTypeDescription
allow_direct_task_completionboolean | nullPermit direct completion under auto review; effective required review still applies.
display_namestring | nullDisplay name.
iconstring | nullIcon.
ownerstring | nullNew owner handle (human or team).

UpdateAttachment

A rename or move.

FieldTypeDescription
entrystring | nullMove to this entry on the page (null detaches it from its entry).
filenamestring | nullA new file name (sanitised; (2) on a collision). References on the page follow unless update_references is false.
update_referencesboolean | nullRewrite ![[old]] references on the page (default true).

UpdateHat

A PATCH /me/hats/{org} body.

FieldTypeDescription
colourstring | nullColour, e.g. #3b82f6.
positioninteger (int32) | nullSwitcher order.
visibilityWindow[] | nullHidden windows (replaces the schedule).

UpdateMe

A PATCH /me body.

FieldTypeDescription
display_namestring | nullDisplay name.
localestring | nullLocale, e.g. en-GB.
preferencesnull | Preferences
tzstring | nullIANA time zone.

UpdateMember

A PATCH /members/{handle} body.

FieldTypeDescription
org_role requiredOrgRoleThe new org role.

UpdateOrg

A PATCH /orgs/{org} body.

FieldTypeDescription
namestring | nullThe name.

UpdateSecret

A PATCH /secrets/{ref} body.

FieldTypeDescription
metaobject | nullMetadata (replaces it).
namestring | nullName.
require_confirmationboolean | nullReveals need a verified decision.
valueobject | nullA new value (a new version).

UpdateSpace

A PATCH /spaces/{slug} body.

FieldTypeDescription
default_rolenull | Role
humans_onlyboolean | nullDeny agents always (humans only).
iconstring | nullIcon.
namestring | nullName.
settingsobject | nullSettings to merge.
visibilitynull | Visibility

UpdateTeam

A PATCH /teams/{handle} body.

FieldTypeDescription
namestring | nullName.
parentstring | nullNew parent handle; "" makes it top-level.

UpdateWebhook

A PATCH /webhooks/{id} body.

FieldTypeDescription
activeboolean | nullDelivering.
eventsstring[] | nullEvent types.
spacesstring[] | nullSpaces.
urlstring | nullWhere to deliver.

UploadForm

The multipart form of POST /attachments (fields in any order).

FieldTypeDescription
cursorinteger (int64) | nullA byte offset in the page text to insert the reference at.
entrystring | nullAn entry on the page.
file requiredstring (binary)The file (32 MB or less), last.
filenamestring | nullThe file name (default: the file part's name).
insertstring | nullnone, embed (default) or link.
page requiredstringThe page (short ID or UUID).

Verification

How a decision was verified (§15.5).

"agent_reported" | "verified"

VerifyReport

The result of a verification.

FieldTypeDescription
checked requiredinteger (int64)Events checked.
first_breaknull | ChainBreak
first_idinteger (int64) | nullThe first event checked.
last_idinteger (int64) | nullThe last event checked.
ok requiredbooleanWhether the checked range is intact.

VersionView

One kept version.

FieldTypeDescription
content_type requiredstringThe content type.
created_at requiredstring (date-time)When.
created_bystring | nullWho uploaded it.
current requiredbooleanWhether it's the current version.
sha256 requiredstringSHA-256, hex.
size requiredinteger (int64)Bytes.
version requiredinteger (int32)The version number.

ViewBody

A view create or update body.

FieldTypeDescription
configobject | nullLayout options.
layoutstring | nullLayout.
namestring | nullName.
positioninteger (int32) | nullOrder.
querystring | nullThe query.
spacestring | nullShare it in a space (slug); "" makes it personal again.

ViewResults

A view's results, shaped for its layout.

FieldTypeDescription
agendanull | Agenda
columnsColumn[] | nullboard: columns by keyword (or config.group_by property).
items requiredTaskView[]The tasks (every layout but agenda).
layout requiredstringThe layout.
next_cursorstring | nullCursor.

Visibility

Space visibility.

"open" | "members" | "private"

Webhook

A webhook.

FieldTypeDescription
active requiredbooleanDelivering.
created_at requiredstring (date-time)Created.
events requiredstring[]Event types (task.*, *).
id requiredstring (uuid)Id.
secretstring | nullThe signing secret: only in the create response.
space_ids requiredstring (uuid)[]Only these spaces (empty: all).
url requiredstringWhere deliveries go.

Window

A window during which a hat is hidden (or notifications are held), starting on each of days at start and ending at end (the next day when end <= start). No days means every day.

FieldTypeDescription
daysstring[]mon … sun. Empty means every day.
end requiredstringHH:MM, local time; 24:00 is midnight at the end of the day.
start requiredstringHH:MM, local time.

ZipImport

A started zip import.

FieldTypeDescription
id requiredstring (uuid)The import batch (GET /orgs/{org}/imports/{id} for progress, POST …/{id}/undo to undo).
summary requiredanyProgress and, when done, counts and re-minted short IDs.