K8 HQ

Schemas — K8 HQ Content API

Data schemas for K8 HQ Content API.

Version 1OpenAPI description (JSON)

Browse operation groups

Schemas

AIClassifyCondition

FieldTypeDescription
includeAutomated requiredboolean
kind required"ai_classify"
labels requiredstring[]
match requiredstring[]
question requiredstring

AckSetting

A ticket board's automatic acknowledgement, in its help desk settings record (plaintext: the cell fills it in and sends it).

FieldTypeDescription
body requiredstring
on requiredboolean
subject requiredstring
version requiredintegerThe help desk settings record's version (0: never saved).
automaticMailboolean
boundAtstring
bystringThe member it sends for (mem_).
canEditboolean
defaultsobject
lastSentobject
maySendboolean
newAccountboolean
pausedWhystringowner_left or no_sending: it turned itself off because that member lost access or rules.sending.
placeholdersstring[]
refusedTodayintegerNot sent today because of a cap or the sending pipeline.
replyRulesobject[]
sentTodayinteger

Assessment

FieldTypeDescription
bytes requiredinteger
class requiredstringself, independent or unverified: worked out from who contributed and who evaluated, never sent.
createdAt requiredstring
evaluator requiredPrincipalThe authenticated member and how they acted; for an external assessment, its submitter.
id requiredstring
item requiredstring
kind requiredstringWhat the evaluator submitted it as: self, reviewer or external.
request requiredstring
revision requiredintegerThe request revision assessed.
rubric requiredRubricRef
state requiredstringdraft or submitted.
updatedAt requiredstring
version requiredinteger
collaboratorsstring[]
contentAssessmentBodyTokens only: the content, opened by K8 HQ's servers.
correctsstring[]
draftKeyintegerA draft's: the number of its key its content is sealed to.
epochintegerA submitted one's board epoch.
keyDraftKeyPeople only, when a draft is made: its key, to seal its content to.
objectstringFramed (meta, body): a draft's sealed to its own key (seal ID <item>|<request>|r<revision>|<assessment>|draft), a submitted one's to the board (<item>|<request>|r<revision>|<assessment>).
originPrincipalA correction's original evaluator: a correction is classed no more independent than the judgment it corrects.
outcomesobjectEach criterion's discussion outcome ("" for the whole assessment): confirmed (an author agreed), disputed (an author's dispute is open), upheld (its evaluator kept the finding) or corrected (a correction changed it). Never changes a score.
previousstring
relationstringcorrection or reassessment.
reportedReportedWhat the client reported about the evaluator: never trusted, display only.
submittedAtstring
supersededAtstring
supersededBystring
unreadablebooleanTokens only: its seal didn't open.
wdekstring

AssessmentBody

FieldTypeDescription
criteria requiredobjectEvery criterion of the rubric version, scored or unassessed (null).
followUpstring
reasonstringA correction's or reassessment's explanation (required for one).
summarystring

AssessmentNote

FieldTypeDescription
assessment requiredstring
at requiredstring
by requiredPrincipal
bytes requiredinteger
epoch requiredinteger
id requiredstring
item requiredstring
kind requiredstringquestion, dispute, confirm, reply or resolve.
object requiredstringFramed (meta, body), seal ID <item>|<assessment>|<note>.
wdek requiredstring
bodyobjectTokens only: the note's text, opened by K8 HQ's servers.
criterionstringThe criterion it is about; absent for the whole assessment.
outcomestringA resolution's: upheld (by the evaluator) or withdrawn (by the dispute's author).
questionstringA structured question on the item (qst_) it links, as its author named it (not checked yet).
replyTostringThe question or dispute (adn_) a reply or resolution answers.
resolvedBystringThe note (adn_) or correction (asm_) that answered or resolved it.
statestringA question's or dispute's: open, answered or resolved.
unreadablebooleanTokens only: its seal didn't open.

AssessmentRequest

FieldTypeDescription
assessed requiredintegerThe latest revision with a submitted assessment (0: none).
attempt requiredinteger
contributors requiredContributor[]
id requiredstring
item requiredstring
kind requiredstringThe artifact kind: code, task-description or your own.
requestedAt requiredstring
requestedBy requiredPrincipal
reviewers requiredstring[]
revision requiredintegerThe subject revision assessments bind to.
rubric requiredRubricRef
state requiredstringopen or closed.
subject requiredSubject
submitted requiredintegerSubmitted assessments, every revision.
version requiredintegerThe record's version: If-Match for changing it.
closedAtstring
closedByPrincipal
revisedAtstring
revisedByPrincipal

AssessmentRequestRevision

FieldTypeDescription
at requiredstring
attempt requiredinteger
by requiredPrincipal
contributors requiredContributor[]
replacedAt requiredstring
replacedBy requiredPrincipal
revision requiredinteger
subject requiredSubject

AssessmentSummary

FieldTypeDescription
awaiting requiredinteger
requests requiredinteger
submitted requiredinteger
descriptioninteger
disputesintegerOpen disputes of submitted assessments' findings.

Attachment

FieldTypeDescription
contentType requiredstring
index requiredinteger
inline requiredboolean
size requiredintegerBytes, decoded.
contentIdstringFor inline parts referenced from the HTML (cid:).
filenamestring

Attribution

What authorized a change (change attribution): the person, their token, an agent (an app, K8 or a rule) or K8 HQ. IDs and a token label snapshot only; names are looked up when shown. Board items, history rows, comments and connection records infer missing attribution on read, marked inferred; inference is never stored. Item creation uses createdBy and its creation source; item updates use only updatedBy, with token kind only when the updater identifies a token write. With hideTokenLabels enabled, other ordinary members receive attribution without tokenLabel; tokenId remains visible. The token's person and organization owners and admins retain the label.

FieldTypeDescription
kind requiredstringperson, token, agent or system.
agentstringFor kind agent: app (an external app), k8 (the K8 assistant) or rule (a rule's agent).
agentIdstringThe rule's agent (agt_).
appIdstringThe external app's registration (app_).
appVersionIdstringThe app's immutable configuration version (acv_).
connectionIdstringThe personal app connection (cnx_); absent for an organization's service identity.
credentialIdstringThe app credential record ID (tok_), also carried as tokenId. Never a k8a1_/k8m1_ secret or hash. Absent before a credential exists.
inferredbooleanTrue when inferred from a legacy record on read. Never stored or resolved from current token records.
memberIdstringThe accountable member (mem_): the person, the person whose token was used, or for whom K8 or an app acted.
onBehalfOfobjectWhose standing authorization a system job or rule ran under.
ruleIdstringThe rule (rul_).
systemstringFor kind system: the K8 HQ actor (sys_…).
tokenIdstringThe token used (tok_).
tokenLabelstringThe token's label when it acted (a snapshot, cleaned, at most 100 bytes).
userIdstringThe accountable user (usr_), only in a person's own scope.

BillingBalance

FieldTypeDescription
available requiredstringpurchased + bonus - pending: moves with every request. Pattern: ^-?\d+(\.\d+)?$.
bonus requiredstringPromotional and courtesy credit. Pattern: ^-?\d+(\.\d+)?$.
currency required"USD"
pending requiredstringUsage not yet posted to the balance: charged usage under a cent or less than a day old, and usage counted but not yet sent to billing (it goes a cent's worth or six hours at a time), priced now. Pattern: ^-?\d+(\.\d+)?$.
purchased requiredstringUS dollars, exact (never a float). Pattern: ^-?\d+(\.\d+)?$.

BillingPayments

FieldTypeDescription
payments requiredobject[]

BillingStanding

FieldTypeDescription
comped requiredbooleanK8 HQ gives this organization its credit: K8 HQ, not its owners, is told when it runs out, and adds more.
sendingPausedForCredit requiredbooleanSending is paused for lack of credit right now: no credit balance exists, or available credit is at or below zero after pending usage and mail in flight, using the sending gate's check. Comped organizations follow the same credit rule. False while the credit gate is off. Every member gets this flag; it reveals no amount.
step requiredok | out_of_credit | no_new_storage | held | readonlyThe step enforced: ok; out_of_credit (day 0, from billing's confirmation: sending and K8 stop; mail still arrives); no_new_storage (day 7: mail apps can't add mail except drafts, new mail isn't indexed for search by meaning, no new domains or inboxes); held (day 30: new mail waits outside the inboxes, GET /held); readonly (day 60: nothing can be changed (writes get 402 read_only; reading and exports still work), new mail is turned away, and nothing more is charged). Back to ok when credit is back.
deletionPendingbooleanK8 HQ has scheduled the organization's deletion because it has been out of credit for months (its last 7 days, read-only; owners can't cancel it). Only adding enough credit to bring the balance over zero stops it. Absent otherwise.
holdUntilstringWhile a card payment's dispute holds the timeline at out_of_credit (design note 0025): the date the hold ends unless the card company decides first (US Eastern). Sending and K8 are stopped; nothing else stops until then.
nextAtstringWhen nextStep takes effect (US Eastern): at the first daily check after the day before has ended. For deletion, early that day (06:00 UTC); once deletionPending, the date it's scheduled for.
nextStepno_new_storage | held | readonly | deletionThe next step, only once it's built and enabled, and never for a comped organization (it stays at out_of_credit).
owedstringWhile out of credit, and only for those who see the organization's billing: what it owes (credit under zero, less usage not yet posted), in US dollars and cents, rounded up. The next credit added pays it first. Pattern: ^\d+\.\d{2}$.
stepSincestringWhen the step enforced began (US Eastern), for steps after out_of_credit: absent when its start isn't recorded (a step set by hand) or the step is held back by the enabled maximum.
zeroSincestringWhen billing confirmed the credit ran out (day 0), while out of credit.

BillingUsage

FieldTypeDescription
amount requiredstringUS dollars, exact (never a float). Pattern: ^-?\d+(\.\d+)?$.
currency required"USD"
from requiredstring
granularity requiredhour | day
rows requiredobject[]
to requiredstring
totals requiredobjectPer meter over the whole range.
bymember | token | inboxPresent when asked for: rows are per member, token or inbox.
perobjectWith by: each member, token or inbox's charges over the range (US dollars, exact).

Board

A task or ticket board (design note 0021). A ticket board is linked to one inbox: its members are the inbox's, and the inbox's mail opens and joins its tickets.

FieldTypeDescription
config requiredBoardConfig
createdAt requiredstring
epoch requiredinteger
epochPub requiredstringThe current epoch's public key (X25519): what the browser seals to.
hideTokenLabels requiredbooleanHide only tokenLabel in board attribution from other ordinary members. Token IDs remain visible. The token's person and organization owners and admins retain full attribution. Does not redact the organization audit log. Member events, feed and webhooks are not yet projected.
id requiredstring
items requiredintegerItems, Trash included.
kind requiredtask | ticket
modseq requiredinteger
name requiredstring
open requiredintegerItems not in a done or closed status, Trash left out.
orgId requiredstring
privacy requiredreadable | zero_access
syncGen requiredinteger
inboxstringA ticket board's inbox (ibx_).
labelMoveobjectThe board's labels are moving to organization tags (POST /boards/{board}/labels/move): each label's tag, and how many item writes the move has made. While it's moving, no label can be added.
labelsMovedbooleanThe board's labels moved to organization tags: it has no labels, and items use tags.
namesobjectTokens only: the config's status and label names, opened by K8 HQ's servers, and in an organization whose tags are readable the names of the tags the board uses, so a script can name a tag as it named a label (a board's labels become organization tags). In a zero-access organization tags is absent: name tags by ID (tag_…).
readyDelegatesBoardReadyDelegates
subjectTokenbooleanA ticket board: replies carry the ticket's number in their subject ("[#142]"), and mail that lost its threading headers joins by it, from the requester or a verified participant only.
suiteHPKESuite
summaryBoardSummary
targetsBoardTargets

BoardAnswer

An answer, bound to one revision of its question.

FieldTypeDescription
at requiredstring
by requiredstringA member (mem_…).
bytes requiredinteger
epoch requiredinteger
id requiredstringThe answer (ans_…), minted by the browser.
object requiredstringFramed (meta, body), seal ID <item>|<question>|r<revision>|<answer>; the meta names the item, question, revision, answer and outcome.
outcome requiredanswered | skip | unknown
question requiredstring
revision requiredintegerThe revision of the question it answers.
state requiredcurrent | superseded | stalecurrent: the answer to the current revision; superseded: its answerer answered again; stale: the question changed after it.
wdek requiredstring
contentBoardAnswerContentTokens only (history): the answer opened by K8 HQ's servers.
endedAtstring
supersededBystring
unreadablebooleanTokens only: the seal didn't open.

BoardAnswerContent

What an answer says (its sealed body part, JSON): its value (absent for skip and unknown) and an optional note.

FieldTypeDescription
notestring
valueanytrue or false (false is an answer), a choice ID, choice IDs, or text.

BoardBlocker

A task blocking another that isn't done.

FieldTypeDescription
item requiredstring
number requiredinteger
status requiredstringIts status (an ID), not in a done or closed category.
trashedbooleanIt's in Trash: it still blocks while its status is open (delete it forever, finish it, or remove the dependency).

BoardClaim

FieldTypeDescription
attention requiredbooleanPotentially abandoned: active but not checked in for 15 minutes, or waiting past waitingUntil. It stays held until it's released or taken over; nothing releases it on its own.
item requiredstring
state requirednone | active | waiting | releasednone: never claimed; active: held and working; waiting: held, waiting for someone's input until waitingUntil; released: not held.
version requiredinteger
checkpointstring
claimstringThe claim's ID (clm_) as last read: it changes whenever the holder changes, so a request naming an old one fails with claim_lost.
claimedAtstring
holderBoardClaimHolder
previousBoardClaimEnd
requestBoardTakeoverRequest
seenAtstringThe holder's last check-in.
waitingSincestring
waitingUntilstringWhen a waiting claim's wait is expected to end. Past it without a renewing check-in, the claim needs attention.

BoardClaimEnd

FieldTypeDescription
by requiredstringThe member who ended it.
claim requiredstring
endedAt requiredstring
holder requiredBoardClaimHolder
how requiredreleased | taken_over | handed_off
checkpointstring
commentstringThe comment (cmt_) giving the reason, if one was given.
forcedbooleanA person released another session's claim.
statusstringThe status ID that ended the claim: a done-category status or a status marked endsClaims on a task board. Names are sealed. The release reason is item moved to <status ID>. Pattern: ^st_.
workstringA claim made by pickup, released while its task stayed In progress because it had recorded a checkpoint: the last checkpoint, the work to resume (the next pickup starts there). Checkpoints are what agents report; K8 HQ doesn't verify them.

BoardClaimHolder

FieldTypeDescription
member requiredstring
via requiredtoken | session
tokenstringThe access token (tok_), when the session is a token's. A web session isn't named.

BoardComment

FieldTypeDescription
at requiredstring
by requiredstring
bytes requiredinteger
epoch requiredinteger
id requiredstring
mentions requiredstring[]
object requiredstringFramed (meta, body), seal ID <item>|<comment>.
wdek requiredstring
bodystringTokens only: the comment's text, opened by K8 HQ's servers.
createdAttributionAttributionWhat authorized adding it. Absent on comments from before it was kept.
editedAtstring
unreadablebooleanTokens only: the comment's seal didn't open.
updatedAttributionAttributionWhat authorized its latest edit; absent if never edited since it was kept.

BoardConfig

FieldTypeDescription
labels requiredBoardLabel[]
statuses requiredBoardStatus[]
version requiredinteger0 until the browser seals names.
completionStatusesstring[]Stable IDs of completion columns. Omitted uses done/closed categories on existing boards; an explicit empty array means no completion columns. An omitted update preserves an existing selection.
epochinteger
objectstringThe sealed names: a framed object (meta, names), seal ID <board>|cfg|v<version>.
wdekstringIts key, wrapped to the board's epoch key.

BoardConnectionBlock

A provider connection a task needs that isn't available now, and how it comes back. Its name, owner and resources stay with the connection.

FieldTypeDescription
connection requiredstringThe connection (pcn_).
recovery requiredautomatic | managerautomatic: a temporary failure that clears on its own; manager: one of its managers has to act (turn it on, set a credential), and nothing else is used meanwhile.
state requirednot_connected | disabled | revoked | expired | deleted | unknown | outage | renewal_failedWhy it isn't available: not_connected (no credential yet), disabled (turned off), revoked (its credential was revoked), expired (its credential expired), deleted (no such connection any more: change the task to name another), outage (the provider is down) or renewal_failed (renewing its credential failed): temporary, recovery automatic; unknown (it can't be checked here).

BoardDependency

A dependency: blocker blocks blocked (both tasks on one board).

FieldTypeDescription
blocked requiredstring
blocker requiredstring

BoardEscalationContact

A task board's escalation contact: the member who gets agents' questions about its tasks when a task's owner isn't on the board. While a board has never had one recorded (version 0), the first holder of boards.ready to configure agent work on it (choose its readiness delegates, or mark a task Ready for agent on the basis of that permission) becomes it (source default); authorizing as a task's owner or a delegate never does. Once set, defaulted or cleared, the default never applies again. Membership is checked when read: a contact who left the board is departed, never replaced on its own.

FieldTypeDescription
schemaVersion requiredinteger1.
state requiredmember | unset | departedmember: on the board; unset: nobody named; departed: named, but no longer on the board.
version requiredintegerCounts changes (0: never recorded): send it back to change it.
memberstringThe contact (mem_). Missing: none (never set, or cleared).
setAtstring
setBystringWho set it (mem_); for default, the member it defaulted to.
sourceset | defaultset: chosen or cleared by a holder of boards.ready; default: the default rule. Missing: never recorded.

BoardEscalationTarget

Who an agent's question about a task goes to: its owner while they're on the board (via owner), else the board's escalation contact while they're on it (via contact), else nobody (target missing, with reason): the work waits for a person. Nothing is reassigned.

FieldTypeDescription
contact requiredBoardEscalationContact
item requiredstringThe task (itm_).
ownerState requiredmember | unset | departedmember: on the board; unset: no owner; departed: no longer on the board.
schemaVersion requiredinteger1.
ownerstringThe task's owner (mem_). Missing: none.
reasonno_contact | contact_departedWhen there's nobody: the owner can't be asked (none, or they left the board) and the board has no contact (no_contact) or its contact left the board (contact_departed).
targetstringWho to ask (mem_). Missing: nobody.
viaowner | contactWhy them: the task's owner, or the board's escalation contact.

BoardFamilyInput

Acknowledges the item version and exact complete descendant ID/version preview from item detail with ?family=true. Stale or incomplete intent returns 412. Family actions resume durably after interruptions; independent Trash is not restored with another group.

FieldTypeDescription
family requiredBoardItemVersion[]
version requiredinteger

BoardHelpdesk

FieldTypeDescription
recipes requiredBoardRecipe[]
schemaVersion requiredinteger
version requiredinteger
canEditbooleanReturned on GET. True when you have full board access and can change these settings.

BoardHistoryRow

A history row: plaintext values for a field change; no text for edits and comments.

FieldTypeDescription
at requiredstring
by requiredstring
seq requiredstring
what requiredcreated | changed | saved | commented | trashed | restored | linked | unlinked | asked | revised | withdrawn | answered | requested | attested | assessed | discussed | issue_linked | issue_unlinked | email | unverified | verified | known | follow_up | bounced | auto_closed | merged | unmerged | target_missed | assigned_new | notified_done
attributionAttributionWhat authorized this change. Absent on rows from before it was kept.
fieldstring
newstring
oldstring
recipestringThe recipe ID. assigned_new means Assign new tickets; notified_done means Notify on Done. Show these as Board automation in history.
sourcestringrecipe for Board automation history.

BoardItem

An item's record: plaintext fields, the head version's key and sealed title; a ticket's addresses and messages too.

FieldTypeDescription
assignees requiredstring[]
bytes requiredinteger
comments requiredinteger
createdAt requiredstring
createdBy requiredstring
head requiredintegerIts current version's number.
headEpoch requiredinteger
headWdek requiredstring
id requiredstring
kind requiredtask | ticket
labels requiredstring[]
links requiredinteger
number requiredinteger
order requiredstringIts fractional index in its column.
priority requiredlow | normal | high | urgent
status requiredstring
titleCt requiredstringThe head version's sealed title part (seal ID <item>|v<head>).
updatedAt requiredstring
updatedBy requiredstring
version requiredintegerThe record's version: If-Match for its fields.
assessmentsAssessmentSummaryIts assessment requests and submitted assessments, for its card: open requests, submitted assessments, open requests whose current revision has none, and the latest description version assessed. Drafts never count. Absent until one is requested.
childrenintegerAll direct child identities, including Trash.
connectionsstring[]The provider connections (pcn_) the task's work needs, set explicitly (Set the connections a task needs). While one isn't available it can't be picked up, and the ready list shows the blocker. Naming one authorizes nobody to use it. Missing: none.
createdAttributionAttributionWhat authorized its creation. Absent on items created before it was kept.
doneAtstringWhen it last moved into a done status; kept when it moves on to a closed status, absent once it's open again, and for items done before it was kept. A ticket Solved 7 days moves to Closed in the board's daily sweep.
duestring
firstReplyAtstringWhen the ticket's first reply went out.
firstReplyBystringThe member (mem_) whose reply from the board was the ticket's first; absent for a reply from a mail app.
formRefobjectOn an item a form's response made: the form (frm_), the response (msg_) in it and its number. Form members can open the response; others can't.
inputNeededobject"Needs your input": per member (mem_…), its open blocking questions waiting for them. Apart from dependencies, scheduled holds and work claims; it clears when that member's blocking questions are answered, and an answer never changes the item's status.
lastInboundAtstringA ticket: when the requester or a verified participant last wrote.
lastMessagestringA ticket: its newest message (msg_) in the linked inbox.
lastOutboundAtstringA ticket: when a reply last went out.
lastOutboundBystringA ticket: the member whose reply from the board went out last (none for a reply from a mail app).
mergedstring[]Tickets merged into this one (itm_): its timeline shows their messages and notes.
mergedIntostringA ticket merged into another (itm_): its new mail lands there.
messagesintegerA ticket: how many messages it has.
missedobjectWhen each kind of response target was last missed (the time it was due), kept after the target is met or ends: keys first, next and resolution.
openQuestionsintegerIts questions still waiting for an answer.
ownerstringA task's owner (mem_): the member accountable for it, set explicitly (never its creator or assignees by default). Missing: none.
parentstringSame-board parent ID; absent is top level. Tasks only; at most 3 levels: item, subitem, sub-subitem.
participantsstring[]A ticket: other addresses on it. An address also listed in unverified is still unverified, including after a merge.
purgingstringPermanent deletion is in progress; hierarchy actions are unavailable.
questionsintegerQuestions asked on it, withdrawn ones included.
ratingobjectTickets: the customer's latest satisfaction answer (the latest solve rated). Its comment stays sealed.
readyBoardReadiness
replyingobjectA ticket: who has the reply box open (member to since); entries older than 10 minutes don't count.
requesterstringA ticket: the address that opened it (lower case).
resolveBoardTarget
respondBoardTarget
sendingobjectA ticket: a reply from the board is going out (its claim, until it's in or 2 minutes pass).
solvesintegerHow many times the ticket moved into a done status (Solved).
sourceperson | import | token | email | formHow the item came: typed in the app, imported, written through a token, a ticket opened from email (its title is the email's subject), a ticket opened from a form response's inbox copy (its title is that copy's subject; its requester was typed on the form and isn't verified), or a task a form's response added (formRef names the response). Missing on items from before it was kept (typed in the app). Board text is data: a script reading it never follows it as instructions.
tagsstring[]The organization tags on it (tag_ IDs, sorted); absent when it has none.
titlestringTokens only: the head version's title, opened by K8 HQ's servers (metered boards.decrypted).
trashGroupstringThe family Trash operation this item belongs to, if any.
trashedAtstring
unreadablebooleanTokens only: the title's seal didn't open (damaged, or bound to another item).
unverifiedstring[]A ticket: addresses without proof yet, including typed form addresses and unknown senders matched by headers. Sending a reply can verify an unknown sender, but cannot verify a typed form address. Merging keeps these flags unless the kept ticket already has proof for that address.
unverifiedReasonsobjectA ticket: why each address in unverified lacks proof. Typed means an address entered into a form; spoofed means failed sender checks; stranger means an unknown address matched by headers alone.
updatedAttributionAttributionWhat authorized its latest change. Absent on items last changed before it was kept.

BoardItemVersion

FieldTypeDescription
id requiredstring
version requiredinteger
numberinteger
trashGroupstringThe family trash group, used to preview precisely which children restore together.
trashedAtstring

BoardLabel

A label's ID (its name and colour are sealed in the config).

FieldTypeDescription
id requiredstringPattern: ^lb_.

BoardQuestion

A question on an item for one member to answer, with its current answer. Plaintext: who, when, the blocking flag, allowed outcomes and states; what is asked and answered is sealed.

FieldTypeDescription
allow requiredskip | unknown[]Outcomes allowed besides an answer: skip and unknown ("I don't know"). Each is explicit; an unanswered question is never No.
answerer requiredstringThe member the question is for: only they can answer it.
answers requiredintegerAnswers ever given, superseded and stale ones included.
askedAt requiredstring
askedBy requiredstringA member (mem_…).
blocking requiredbooleanAn open blocking question holds up work: its item shows "Needs your input" for the answerer (inputNeeded).
bytes requiredinteger
epoch requiredinteger
id requiredstringThe question (qst_…), minted by the browser (or by K8 HQ for a token).
item requiredstring
object requiredstringFramed (meta, body), seal ID <item>|<question>|r<revision>; the meta names the item, question and revision.
revision requiredintegerWhat is asked: a new text, answerer or allowed outcomes is a new revision, and answers are bound to one.
state requiredopen | answered | withdrawn
version requiredintegerThe record's version: If-Match for changing or withdrawing it.
wdek requiredstring
answerBoardAnswer
answerContentBoardAnswerContentTokens only: its current answer, opened by K8 HQ's servers.
answererDepartedbooleanIts answerer is no longer on the board (worked out when read). It waits for no one who can see it: its asker can give it to someone else, or a member holding containers.delete (owners and admins by default) can withdraw it. Their inputNeeded count on the item stays until then.
contentBoardQuestionContentTokens only: what it asks, opened by K8 HQ's servers.
revisedAtstring
revisedBystringA member (mem_…).
unreadablebooleanTokens only: a seal didn't open (damaged, or bound to another question or revision).
withdrawnAtstring
withdrawnBystringA member (mem_…).
withdrawnByAdminbooleanWithdrawn by a member holding containers.delete (owners and admins by default), not its asker (withdrawnBy names who).

BoardQuestionContent

What a question asks (its sealed body part, JSON). Tokens get and send it in plaintext.

FieldTypeDescription
kind requiredboolean | single | multiple | textThe answer wanted: yes or no, one choice, one or more choices, or text.
text requiredstringThe question, up to 2,000 characters.
choicesobject[]Single and multiple choice questions: 2 to 20, each a stable ID (a-z, 0-9, _ and -) and a label.
contextstringWhat the answerer needs to know to choose, up to 8,000 characters.
longbooleanA text question wanting a long answer.
recommendationstringThe asker's recommendation and why, up to 2,000 characters.
recommendedanyThe answer recommended, as an answer's value would be.

BoardQuestionRevision

An earlier revision of a question, as it was asked.

FieldTypeDescription
allow requiredskip | unknown[]Outcomes allowed besides an answer: skip and unknown ("I don't know"). Each is explicit; an unanswered question is never No.
answerer requiredstringA member (mem_…).
at requiredstring
by requiredstringA member (mem_…).
bytes requiredinteger
epoch requiredinteger
object requiredstring
replacedAt requiredstring
replacedBy requiredstringA member (mem_…).
revision requiredinteger
wdek requiredstring
contentBoardQuestionContentTokens only: opened by K8 HQ's servers.
unreadableboolean

BoardReadiness

A task's Ready for agent authorization: who authorized it, on what basis, its scope, and the task as authorized (content revision, parent and owner). current is false once any of those changed (changed says which): it then authorizes nothing until someone authorizes it again. Moving it into a done or closed status does too, and reopening it doesn't restore it; so does moving it into a delivered status (an active status after the board's first, such as Waiting for review or Ready to deploy: a board with one active status has none), and moving it back doesn't restore it. Other status moves, labels, priority, due date, assignees, order, comments and links don't affect it.

FieldTypeDescription
at requiredstring
basis requiredowner | permission | delegateThe task's owner, a holder of boards.ready, or one of the board's readiness delegates.
by requiredstringThe authorizing member (mem_).
current requiredbooleanNothing material changed since: it authorizes pickup (whose authorizer is checked again then).
head requiredintegerThe content revision (title and description, with its acceptance) authorized.
id requiredstringThe authorization (rdy_), new on every authorization.
scope requiredimplementWhat it authorizes: implementing the task. Never publishing, merging or deploying, and never taking over another session's claim.
via requiredsession | tokenHow they signed in: a person in the web app, or an agent's token named as a delegate.
changedcontent | parent | owner | done | delivered | unreadable[]What changed since it was authorized: content, parent or owner, or done (it was moved into a done or closed status: reopening it needs a fresh authorization), or delivered (it was moved into an active status after the board's first, such as Waiting for review or Ready to deploy: moving it back needs a fresh authorization).
ownerstringThe owner as authorized (missing: none).
parentstringThe parent as authorized (missing: none).
tokenstringWith via token: the token (tok_).

BoardReadyDelegates

Who besides a task's owner and holders of boards.ready may mark the board's tasks Ready for agent: members (signed in; their tokens aren't included) and agents' tokens.

FieldTypeDescription
members requiredstring[]
tokens requiredstring[]
version requiredintegerCounts changes: send it back to change them.

BoardReadyEntry

A task marked Ready for agent, with its claim and what stops it being picked up now.

FieldTypeDescription
claim requiredBoardClaim
item requiredBoardItem
blockedclaimed | changed | on_hold | parent_on_hold | done | delivered | trash | blocked | no_owner | owner_left | connectionMissing: it can be picked up (its authorizer is checked again then). claimed: a session holds it; changed: its content, parent or owner changed since it was authorized; on_hold or parent_on_hold: it, or its parent, is in a waiting status; done: done or closed; delivered: in an active status after the board's first (such as Waiting for review or Ready to deploy), so its work was handed on; no_owner or owner_left: it has no owner, or its owner isn't on the board any more (set one before it can be picked up). blocked: a task blocking it isn't done (blockedBy lists them). connection: a provider connection it needs isn't available (connections lists which).
blockedByBoardBlocker[]When blocked is blocked: the tasks blocking it that aren't done, by number.
connectionsBoardConnectionBlock[]The provider connections it needs that aren't available now, claimed or not: a claimed task keeps its claim, owner and checkpoints, and its session pauses work that needs them until they're back. Missing: none.
resumestringUnclaimed and free to pick up, with work at this checkpoint left by a released pickup (agent-reported, unverified): picking it up resumes there when it's a plain <branch>@<commit>.

BoardRecipe

FieldTypeDescription
id requiredstringPattern: ^rcp_[0-9A-Za-z]{10}$.
kind requiredassign-new | notify-done | assign-by-tag
on requiredboolean
boundAtstringWhen that member turned the recipe on.
bystringThe member who turned the recipe on. Saving settings keeps that member while it stays on. Set by the server.
lastRanobjectThe last completed run. Assignment includes the member assigned.
membersstring[]Chosen full members, in assignment order. People who leave, are suspended or lose full access are skipped.
modeturn | sameFor assignment: take turns in members order or always use the first eligible member.
notifyassignees | creator | owner | members[]For notify-done. Creator applies to tasks only. Members uses the chosen members list. A ticket requester is never told.
pausedWhystringowner_left means the member left or lost full board access.
replacebooleanAssign even if someone is already assigned (assign-by-tag only).
statusstringFor notify-done: a status in the done category. Omit to use the first done status.
tagstringThe organization tag for an assign-by-tag line. Pattern: ^tag_[0-9A-HJKMNP-TV-Z]{26}$.
warningstringno_members means nobody chosen still has full board access. Returned when settings are read.

BoardStatus

A status: its ID and category (its name is sealed in the config).

FieldTypeDescription
category requiredtodo | active | waiting | done | closed
id requiredstringPattern: ^st_.
endsClaimsbooleanEnd work claims when a task moves here. Only for non-done statuses on task boards; done statuses always end claims. Omitted means false.

BoardSummary

Unique live identities, excluding Trash. Completion uses configured completion statuses; items/open remain the existing safety counters.

FieldTypeDescription
incompleteSubitemsinteger
incompleteTopLevelinteger
subitemsinteger
topLevelinteger

BoardTakeoverRequest

FieldTypeDescription
at requiredstring
by requiredBoardClaimHolder
comment requiredstring

BoardTarget

A running response target (ticket boards with targets set): the reply a ticket waits for, or its resolution.

FieldTypeDescription
kind requiredfirst | next | resolution
bystringWhen it is due; absent while the ticket waits on the customer (paused).
leftintegerWhile paused: the business minutes that were left.
missedbooleanIt passed without an answer (the people on it were told once).

BoardTargets

A ticket board's response targets, in business minutes (0 or absent: none), and its business hours (absent: around the clock). Plaintext settings. The clock starts when a ticket opens (first response, resolution) and when the customer writes again (the next response), pauses while the ticket waits on the customer, and stops when a reply goes out (internal notes don't count) or, for the resolution, when it's done or closed. Changing them applies to clocks started afterwards.

FieldTypeDescription
firstintegerFirst response, business minutes.
hoursobject
nextintegerEach later response (after the customer writes again), business minutes.
resolutionintegerResolution (done or closed), business minutes.

BoardUsage

FieldTypeDescription
approximate requiredtrueCounts can be cleared by a server restart and cover only the server answering this request.
buckets requiredobject[]
day requiredstring
orgId requiredstring
resetAt requiredstring

BoardUsageKind

FieldTypeDescription
limit requiredinteger
limited requiredboolean
used requiredinteger

BoardVersion

FieldTypeDescription
bytes requiredinteger
n requiredinteger
savedAt requiredstring
savedBy requiredstring
descriptionstringTokens only: the version's description (Markdown).
epochinteger
objectstringFramed (meta, title, body), seal ID <item>|v<n>.
titlestringTokens only: the version's title.
unreadablebooleanTokens only: the version's seal didn't open.
wdekstring

Calendar

FieldTypeDescription
id requiredstring
name requiredstring
orgId requiredstring
privacy required"readable"
tzdataVersion requiredstringVersion of the time zone data the server uses.
zone requiredstringIANA time zone name such as America/New_York, or UTC.

CalendarEntry

FieldTypeDescription
end requiredstringAfter the start and within 31 days of it.
etag requiredstring
id requiredstring
start requiredstring
title requiredstring
version requiredinteger
zone requiredstringIANA time zone name such as America/New_York, or UTC.
descriptionstringPlain text, up to 32 KB.
locationstring

CalendarEntryInput

FieldTypeDescription
end requiredstringAfter the start and within 31 days of it.
start requiredstring
title requiredstring
zone requiredstringIANA time zone name such as America/New_York, or UTC.
descriptionstringPlain text, up to 32 KB.
locationstring

CalendarEntryResult

FieldTypeDescription
end requiredstringAfter the start and within 31 days of it.
etag requiredstring
id requiredstring
start requiredstring
title requiredstring
tzdataVersion requiredstringVersion of the time zone data the server uses.
version requiredinteger
zone requiredstringIANA time zone name such as America/New_York, or UTC.
descriptionstringPlain text, up to 32 KB.
locationstring

Connection

FieldTypeDescription
access requiredConnectionAccess
capabilities requiredstring[]The provider operations it may perform (provider-defined names).
createdAt requiredstring
createdBy requiredstringWho added it (mem_).
credentials requiredbooleanWhether this server keeps credentials for connections (PUT /connections/{connection}/credential and, where documented, rotating and revoking them). The explicit signal to offer credential management, rather than probing a route. Credentials are write-only: no response carries a secret.
id requiredstringThe connection (pcn_).
name requiredstringIts display name.
orgId requiredstring
ownership requiredorganization | personal
provider requiredstringThe provider's kind, e.g. github.
resources requiredConnectionResource[]
status requiredpending | active | expiring | expired | revoked | disabled
updatedAt requiredstring
version requiredintegerSend it back to change it.
createdAttributionAttributionWhat authorized its creation. Inferred from createdBy on legacy records when possible.
credentialConnectionCredential
faultConnectionFault
ownerstringA personal connection's member (mem_).
previousConnectionCredentialThe version a rotation replaced, while it's still usable by reference (until retiresAt).
revokedConnectionRevocation
updatedAttributionAttributionWhat authorized its latest change. Inferred from updatedBy on legacy records when possible; absent if unrecorded.
updatedBystringWho last changed it. Absent on connections last changed before it was kept.

ConnectionAccess

What the caller may do with the connection.

FieldTypeDescription
manage requiredbooleanChange its details, resources and capabilities, turn it off or on, and authorize its use.
remove requiredbooleanDelete it, and take authorizations to use it away.
use requiredbooleanAct through it (never see its credential).

ConnectionCredential

Refers to a connection's credential: never the secret, which no API returns.

FieldTypeDescription
id requiredstringThis stored version (pcr_).
setAt requiredstring
setBy requiredstringWho set it (mem_).
version requiredintegerIts number: 1 for the connection's first.
expiresAtstringWhen the provider stops accepting it; absent if it doesn't expire.
renewalbooleanFor previous: kept for a provider renewal's short grace (5 minutes), not a manager's rotation.
retiresAtstringFor a version a rotation replaced (previous): when its grace period ends.
setAttributionAttributionWhat authorized setting this credential version, including provider renewals. Inferred from setBy on legacy records when possible.

ConnectionFault

A temporary failure K8 HQ's provider adapter met using the connection, for someone allowed to use it: work that needs the connection pauses until it clears (the next operation through its current credential that goes through; a credential stored also clears a failed renewal). The connection stays on and its credential usable; nothing else is used instead.

FieldTypeDescription
kind requiredoutage | renewal_failedoutage: the provider is down; renewal_failed: renewing its short-lived credential failed, so it will expire.
since requiredstring
bystringWhose use met it: the member (mem_) or their token (tok_). Shown to the connection's managers only.
credentialstringThe credential version in use then (pcr_).

ConnectionList

FieldTypeDescription
connections requiredConnection[]

ConnectionPending

A pending choice (board item #251): what a new connection's manager may pick, as the provider confirmed it. It names resources only, never a credential.

FieldTypeDescription
expiresAt requiredstringWhen it lapses (15 minutes): connect again after.
pending requiredstringIts ID (pcp_), for connect/bind.
repositories requiredobject[]

ConnectionProvider

A provider a connection can be added for.

FieldTypeDescription
kind requiredintegrated | tokenintegrated: K8 HQ connects it through the provider's own pages. token: any other service; a manager pastes its token or key.
name requiredstringThe provider's name to show.
helpstringA line on what adding one does.
idstringThe connection's provider for an integrated provider (e.g. github). Absent for token: the person names the service.

ConnectionProviderList

FieldTypeDescription
providers requiredConnectionProvider[]

ConnectionResource

One of the provider's resources a connection was given (a repository, an account): provider-defined.

FieldTypeDescription
id requiredstringThe provider's identifier for it.
type requiredstringIts kind, e.g. repository. Pattern: ^[a-z][a-z0-9_.-]{0,31}$.
namestringA name to show.

ConnectionRevocation

Its credential was revoked: nothing uses the connection until a manager sets one again.

FieldTypeDescription
at requiredstring
by requiredstringWho revoked it (mem_).
credential requiredstringThe version that was current (pcr_), now deleted.
attributionAttributionWhat authorized revoking the credential. Inferred from by on legacy records when possible.

ConnectionUse

An authorization to use a connection: for one member (their sessions, signed in) or one token (that token only).

FieldTypeDescription
connection requiredstringThe connection (pcn_).
createdAt requiredstring
grantedBy requiredstringWho authorized it (mem_).
id requiredstringThe authorization (pcu_).
grantedAttributionAttributionWhat authorized granting this use. Inferred from grantedBy on legacy records when possible.
memberstringThe member (mem_) it authorizes, signed in.
tokenstringThe token (tok_) it authorizes.

ConnectionUseList

FieldTypeDescription
uses requiredConnectionUse[]

Contact

FieldTypeDescription
book requiredstring
emails requiredobject[]Up to 10; stored lowercased.
etag requiredstringThe opaque contact ETag, also returned in the header for single reads and writes. Send it back unchanged as If-Match; do not build it from id or version.
id requiredstringcon_…
names requiredobject
phones requiredobject[]Up to 10, E.164 (+15551234567).
updatedAt requiredstring
version requiredintegerThe contact version at its last change. Use etag for If-Match.
createdAttributionAttribution
deletedboolean
notestring
orgstring
titlestring
updatedAttributionAttribution

ContactInput

FieldTypeDescription
names requiredobject
emailsobject[]Up to 10; stored lowercased.
notestring
orgstring
phonesobject[]Up to 10, E.164 (+15551234567).
titlestring

Container

FieldTypeDescription
id requiredstringibx_… or book_… (later cal_…).
kind requiredinbox | book | board | formboard: a task or ticket board, listed for people only (no {inbox} route serves one). form: a form, listed for people only (never for a token). More kinds come later (calendar); ignore ones you don't know.
orgId requiredstringThe organization (org_) the container belongs to.
privacy requiredPrivacy
role requiredstring
labelstringDisplay name, e.g. the main address.
personalbooleanThe caller's own personal notice inbox: notices from K8 HQ; no address; can't be shared, forwarded or watched by rules.

Content

FieldTypeDescription
attachments requiredAttachment[]
channel requiredemail
flags requiredFlag[]
html requiredstringThe HTML body (empty if none). Untrusted: sanitize before display.
id requiredstring
participants requiredParticipant[]
receivedAt requiredstring
text requiredstringThe plain-text body (empty if none).
emailobjectEmail only.
keywordsstring[]
spamSpam
subjectstring

Contributor

FieldTypeDescription
source requiredstringrecorded (K8 HQ recorded it: a description version's author), declared (by the request's author) or attested (by the contributor, signed in).
claimstring
declaredByPrincipal
harnessstring
kindstringReported: person, agent or team.
labelstring
memberstringAbsent for an outside author K8 HQ can't identify (see label).
modelstring
versionstring
viastring

CriterionFeedback

FieldTypeDescription
score requiredinteger | nullOn the criterion's scale; null is unassessed, never zero.
evidencestring
examplestring
explanationstringWhy it matters.
improvementstringA concrete next step.

DmarcOverview

FieldTypeDescription
aiSummaries requiredbooleanWhether DMARC alerts include K8's one-line summary.
domains requiredstring[]The organization's verified domains.
k8 requiredbooleanWhether the caller may ask K8 to summarize reports.
mayChange requiredbooleanWhether the caller may change aiSummaries (org.settings.change).
receiving requiredbooleanWhether the organization has its DMARC reports inbox (set up with the domain).

DmarcPeriodSummary

FieldTypeDescription
reports requiredintegerReports it covers.
summary requiredstringK8's summary (Markdown: paragraphs and lists; no links); empty when there were no reports.

DmarcReport

FieldTypeDescription
begin requiredstringStart of the period covered.
domain requiredstringThe domain it's about.
end requiredstringEnd of the period covered.
failed requiredintegerHow many failed DMARC.
failingSources requiredintegerDistinct sending addresses among the failures.
id requiredstringThe report's message (msg_) in the organization's reports inbox.
messages requiredintegerMessages the reporter saw claiming the domain.
passed requiredintegerOf those, how many passed DMARC (aligned SPF or DKIM).
policy requiredstringThe published policy then: none, quarantine or reject.
reportId requiredstringThe reporter's ID for it.
reporter requiredstringWho sent it: the report message's From domain (e.g. google.com), or "unknown".
sender requiredpass | fail | unknownWhether the report's own message authenticated when it arrived (DMARC, or DKIM or SPF aligned with its From domain).

DmarcReportDetail

FieldTypeDescription
omitted requiredintegerSources left out (past 200); the full XML has them.
parsedAt requiredstringWhen K8 HQ read the report.
report requiredDmarcReport
sources requiredDmarcSource[]
summarystringK8's summary, when one was made (Markdown: paragraphs and lists).

DmarcReports

FieldTypeDescription
reports requiredDmarcReport[]
nextCursorstringPresent while there are more.

DmarcSettings

FieldTypeDescription
aiSummaries requiredbooleanWhether DMARC alerts include K8's one-line summary.

DmarcSource

FieldTypeDescription
cause requiredok | forwarded | service | unaligned_dkim | unaligned_spf | spoofing | unknownThe likely cause, worked out without AI.
count requiredintegerMessages from it with these results.
disposition requiredstringWhat the receiver did: none, quarantine or reject.
dkim requiredstringAligned DKIM result: pass or fail.
ip requiredstringThe sending address.
likely requiredstringThe cause in plain words.
pass requiredbooleanWhether it passed DMARC.
spf requiredstringAligned SPF result: pass or fail.
dkimResultsobject[]Each DKIM signature's check.
envelopeFromstringThe envelope sender's domain.
headerFromstringThe From header's domain.
ptrstringIts reverse DNS when the report arrived (a label, not proof).
reasonsstring[]Why the receiver overrode the policy (forwarded, mailing_list, local_policy...).
servicestringThe known sending service it looks like, if any.
spfDomainstringThe domain SPF was checked for.
spfResultstringThe SPF check: none, neutral, pass, fail, softfail, temperror or permerror.

DmarcSummary

FieldTypeDescription
cached requiredbooleanMade earlier and kept (not billed again).
summary requiredstringK8's summary (Markdown: paragraphs and lists; no links).

DraftKey

FieldTypeDescription
number requiredinteger
public requiredstring
wrapped requiredstringThe draft key's private key sealed to your user key, bound to the assessment and the key's number (as a board's epoch keys are).
suiteHPKESuite
wrapSuiteanyThe recipient user key's suite, used to open wrapped. The suite field describes the key inside that wrap.

EmptyFolderJob

FieldTypeDescription
createdAt requiredstring
id requiredstringThe job (job_).
kept requiredintegerAlso in another folder: they only left this one.
purged requiredintegerDeleted for good so far.
skipped requiredintegerNot in the folder any more when their turn came (moved, restored or deleted meanwhile).
status requiredqueued | running | waiting | succeeded | failed | cancelledwaiting: a step failed and is retried shortly; failed: stopped for good (for example, the person lost access to the inbox).
total requiredintegerHow many messages the folder held when asked (for a progress bar).
finishedAtstring

Endpoint

FieldTypeDescription
address requiredstringAs written (case kept).
blocked requiredintegerMail refused while it was disabled (counted in bulk, a few minutes behind).
channel requiredemail
id requiredstringept_…
kind requiredaddress | catch_allcatch_all (*@domain) receives mail for every other address at the domain: receive only, to Spam by default, rate-limited.
maySend requiredbooleanWhether the inbox may send as it (never a catch-all or a disabled address).
status requiredactive | disabledA disabled address refuses mail exactly like one that doesn't exist, and never reaches a catch-all.
memberSignaturesbooleanWhether members may use their own signature for this address. Off keeps saved signatures but leaves mySignature out of the endpoints list.
mySignatureSignatureThe signed-in person's own signature, only while they may send from this active address and memberSignatures is on. Tokens and delegated sessions never receive it.
namestringThe sender name, if set: the name in the From header of mail K8 HQ sends as this address for the inbox (automatic replies), and what the web app suggests when writing from it. Mail apps send their own. Absent when not set; catch-alls never have one.
signatureSignature

ErasureFound

FieldTypeDescription
copies requiredobject[]
detach requiredobject[]Tickets a copy joined but didn't open: erasing the copy takes it off the ticket, and the ticket stays.
items requiredobject[]
responses requiredobject[]
searched requiredErasureSearched
unchecked requiredobject[]Tasks a form made on zero-access boards, which K8 HQ can't read: the person's browser opens each one's first version and matches the address there, then names the matches in items.
nextCursorstringMore unchecked responses or inboxes remain. Pass this cursor with the same address to find the next page. Later pages return only unchecked lists and leave inbox searches to the browser; they do not repeat the server search or its audit event.
uncheckedInboxesstring[]Inbox IDs for the browser to search. On the first page these are zero-access inboxes and inboxes whose server body search is unavailable or incomplete. Later pages leave all remaining inboxes to the browser. Name confirmed form copies in copies when erasing. The server checks current form-copy provenance and page eligibility.
uncheckedResponsesobject[]Responses on forms with no reply-to field, and on zero-access forms. Open each response in the browser using its form and response IDs, match the address locally, and name confirmed matches in responses when erasing. Each page holds at most 100 unchecked responses and inboxes together.

ErasureReceipt

FieldTypeDescription
browserMatched requiredintegerItems deleted that the browser matched (tasks on zero-access boards).
copies requiredinteger
detached requiredinteger
foundSince requiredintegerEntries found now that weren't chosen: find again.
items requiredinteger
kept requiredobject[]Chosen items left because they have subitems.
otherMessages requiredobject[]Other messages on erased tickets that stay in each inbox; people can delete them there.
responses requiredinteger
searched requiredErasureSearched
skipped requiredintegerChosen entries no longer found, or changed meanwhile.

ErasureSearched

What was searched: the organization's forms, boards and inboxes, and the items forms made that were checked.

FieldTypeDescription
boards requiredinteger
candidates requiredinteger
forms requiredinteger
inboxes requiredinteger
noReplyTo requiredintegerForms with no reply-to field. Their responses are offered for the browser to check.
bodyInboxesintegerCompatible inboxes searched with the server body index; an incomplete index also leaves the inbox unchecked.
responsesintegerResponse records checked by Reply-To.
uncheckedInboxesintegerInboxes offered to the browser on this page.
uncheckedResponsesintegerResponses offered to the browser on this page.

ErasureSource

A form's response (form and response), or one person by their email address (address), never both.

FieldTypeDescription
addressstring
cursorstringFor a person search, the cursor used to find the page of unchecked responses and inboxes being checked or erased. Omit it for the first page. Use the same cursor when erasing browser matches from that page.
formstringPattern: ^frm_.
responsestringPattern: ^msg_.

Event

A CloudEvents 1.0 event with K8 HQ's attributes.

FieldTypeDescription
actor requiredstringWho acted: a member (mem_), a token (tok_), a rule's agent (agt_) or K8 HQ (sys_…), derived from k8hqattribution. Empty when removed for privacy.
class requiredstring
id requiredstring
scope requiredstringThe organization (org_).
sequence requiredstringIts position in its own stream (the inbox, or the organization).
source requiredstring
time requiredstring
type requiredstring
visibility requiredstring
causationidstring
containeridstringThe container it concerns (an inbox, ibx_…), if any.
correlationidstring
dataobject
dataschemastring
k8hqattributionobjectWhat authorized the change: the person, their token, an agent (an app, K8 or a rule) or K8 HQ. IDs only; names are looked up when shown. An object-valued extension, like k8hqstate (CloudEvents 1.0 extensions are scalars). actor and onbehalfof derive from it. Events recorded before it existed (or whose stored one can no longer be read) carry one inferred from their actor, with inferred true and what can't be inferred (a token's label, the rule) absent. Removed with the actor.
k8hqrootagentobjectRules don't run on mail a connected AI sent without approval.
k8hqstateobjectOn message.* events: the message's labels, flags (neutral names), custom keyword count and tags after the change.
subjectstring

EventType

FieldTypeDescription
class requiredstring
data requiredobject[]The data fields.
dataSchema requiredobjectJSON Schema for the event's data.
description requiredstring
name requiredstring
source requiredstring
status requiredexperimental | stable | deprecated
version requiredinteger
visibility requiredstring
subjectstringWhat the event's subject holds.

Flag

A message flag, by its neutral name: the same vocabulary as events, whatever the channel. Mail apps' IMAP flags map onto it (\Seen is seen, $Junk is junk). Values: seen, answered, flagged, draft, forwarded, junk, not_junk.

Flags

FieldTypeDescription
flags requiredFlag[]

FolderTagStatus

FieldTypeDescription
job requiredstringThe conversion job (job_).
label requiredstringThe folder (lbl_).
messages requiredintegerMessages tagged and moved back to Inbox.
status requiredrunning | done | failed
tag requiredstringThe tag (tag_).
reasonaccess | tag_deleted | zero_access | folder_deleted | rules | tag_limit | not_empty | folder_changedWhy the conversion stopped.

Form

A form as its members see it. Its draft is sealed in the browser (K8 HQ's servers can't read it); what's published is plaintext.

FieldTypeDescription
deliveryInbox requiredobject | null
domains requiredstring[]The organization's verified domains: the form may be embedded on them and their subdomains.
draft requiredobject | null
epoch requiredinteger
epochPub requiredstringThe current epoch's public key: the draft is sealed to it.
folders requiredobjectThe form's folders' label IDs (use them with the inbox routes).
id requiredstringPattern: ^frm_.
live requiredFormDefinition | null
name requiredstring
notifyMe requiredbooleanWhether the person asking is told about new responses.
orgId requiredstring
responsePrice requiredstringA response's price in dollars (an exact decimal string): what releasing a held one costs.
runBy requiredstring | null
settings requiredobject
status requireddraft | live | paused | suspended
today requiredFormDay
url requiredstringIts link to share: on the organization's pages address (https://<slug>.k8hq.page/f/...) when organization pages are on and it has one, else https://k8hq.page/f/... (which works either way).
version requiredintegerHow many times it was published (0: never).
createdAtstring
createdAttributionAttribution
embedUrlstringThe address an embed's iframe uses: always https://k8hq.page/f/... (the sizing script accepts only that origin).
pausedReasonstringWhy it's paused: person (a member).
publishedAtstring
publishedAttributionAttribution
suiteHPKESuite
updatedAttributionAttribution

FormBoardAdd

For task boards, item is required: a fresh itm_ ID and version 1 sealed by the browser using the existing board version format and current board epoch. K8 HQ supplies source, response provenance and the acting member. For ticket boards, omit item: K8 HQ reuses the existing inbox copy or makes one for a compatible form. No route setting or passkey confirmation is needed.

FieldTypeDescription
board requiredstringPattern: ^brd_.
againstringThe item deleted forever. Only replaces that item’s durable response link; a live item is returned as it stands. Pattern: ^itm_.
itemobject

FormBoardAddResult

done includes item and number; existing is true when a live or trashed item already exists. deleted includes the previous item and number: send again with that item ID after it was deleted forever. pending includes op: poll board-operations/{op}. failed includes code. op is omitted when resolve-first finds an existing or deleted item.

FieldTypeDescription
board requiredstring
response requiredstring
state requiredpending | done | deleted | failed
codeinvalid_request | not_found | forbidden | service_disabled | privacy_pairing | response_held | response_unavailable | conflict | sealed_item_required | save_limit | copy_unavailable | copy_deleted | epoch_changed | invalid_item | unavailable | changed | paused | full | full_open | boards_off
existingboolean
itemstring
numberinteger
opstringPattern: ^mop_.

FormBoardBulkEntry

For task boards, item is required: a fresh itm_ ID and version 1 sealed by the browser using the existing board version format and current board epoch. K8 HQ supplies source, response provenance and the acting member. For ticket boards, omit item: K8 HQ reuses the existing inbox copy or makes one for a compatible form. No route setting or passkey confirmation is needed.

FieldTypeDescription
board requiredstringPattern: ^brd_.
response requiredstring
againstringThe item deleted forever. Only replaces that item’s durable response link; a live item is returned as it stands. Pattern: ^itm_.
itemobject

FormDay

A form's counts for a UTC day.

FieldTypeDescription
accepted requiredintegerResponses accepted (not spam, within the daily limit).
date requiredstringThe UTC day (YYYY-MM-DD).
escalated requiredbooleanThe daily limit was reached: extra checks are on and further responses are held.
held requiredintegerResponses past the daily limit, in Held (unbilled until released).
refused requiredintegerAttempts refused (limits, failed checks): K8 HQ's cost, never billed.
spam requiredintegerResponses put in Spam.
started requiredintegerVisits that began answering (a challenge was asked for).
refusedByobjectRefused attempts by reason.

FormDefinition

A form's published definition: plaintext, because it's a publication (design note 0019 section 1.2). At most 50 fields and 32 KB; labels and help are plain text, never HTML or Markdown. A response's values are at most 64 KB in all.

FieldTypeDescription
fields requiredobject[]
thankYou requiredstringShown after sending, 1 to 1,000 characters.
title requiredstring1 to 120 characters on one line.
accentstringPattern: ^#[0-9a-fA-F]{6}$.
descriptionstringUp to 2,000 characters, plain text.
submitLabelstringThe send button's label (default Send).
vintegerThe published version (set by K8 HQ: it counts publishes).

FormSummary

FieldTypeDescription
id requiredstring
name requiredstring
newCount requiredintegerResponses in New.
status requireddraft | live | paused | suspended
today requiredFormDay
url requiredstring
version requiredinteger

Forward

A forwarding target of an inbox.

FieldTypeDescription
createdAt requiredstring
id requiredstringThe forward (fwd_).
memberId requiredstringThe member who set it up (mem_).
status requiredpending | active | pausedpending until someone at the address confirms (the link works for 7 days), then active. paused: the member who set it up lost access to the inbox; someone who manages the inbox resumes it.
to requiredstringWhere the inbox's new mail is forwarded.
confirmedAtstring
mayRemovebooleanIn lists: the caller may remove it (who set it up, or someone who manages the inbox's settings).

HPKESuite

The HPKE IDs for this key: KEM 32 (X25519), KDF 1 (HKDF-SHA256), AEAD 2 (AES-256-GCM). If absent on an older record, use these IDs. Refuse any other suite.

FieldTypeDescription
aead requiredinteger
kdf requiredinteger
kem requiredinteger

HeldMail

FieldTypeDescription
held requiredintegerMessages waiting outside the inboxes.
sendersobject[]Who sent the waiting mail and when, newest first, at most 100 (billing viewers only).

Inbox

InboxClaim

InboxClaimDetails

FieldTypeDescription
attention requiredboolean
item requiredstringThe conversation’s thread ID.
state requirednone | active | waiting | released
version requiredinteger
claimstring
claimedAtstring
heldSincestring
holderInboxClaimHolder
previousInboxClaimEnd
requestInboxClaimRequest
seenAtstring
waitingSincestring
waitingUntilstring

InboxClaimEnd

FieldTypeDescription
by requiredstring
claim requiredstring
endedAt requiredstring
holder requiredInboxClaimHolder
how requiredstring
commentstringPattern: ^[a-z][a-z_]{0,31}$.
forcedboolean
reasonEpochintegerThe version of the inbox key used to seal the written reason.
reasonSealedstringThe sealed written reason, encoded as base64url without padding. A signed-in person who can reply sees it when opening this claim. Pattern: ^[A-Za-z0-9_-]+$.

InboxClaimHolder

FieldTypeDescription
member requiredstring
via requiredmember | token
tokenstring

InboxClaimOnTicketProblem

InboxClaimReasons

FieldTypeDescription
reasons requiredobject[]
revision requiredinteger

InboxClaimRequest

FieldTypeDescription
at requiredstring
by requiredInboxClaimHolder
comment requiredstringPattern: ^[a-z][a-z_]{0,31}$.
id requiredstring

InboxClaimStatus

FieldTypeDescription
item requiredstring
state requirednone | handled

InboxClaimedProblem

InboxClaims

FieldTypeDescription
claims requiredInboxClaim[]
cursorstring

InboxSettings

FieldTypeDescription
explicit requiredstring[]The settings someone set. rulesMaySend and forwardingOff left unset follow the inbox: allowed while one member has access, off once it's shared.
forwardingOff requiredbooleanMembers may not forward this inbox; no forward runs. Off by default. Unset, it follows the inbox: allowed while one member has access, off once it's shared.
k8MayRead requiredbooleanK8 Messages may read this inbox; absent consent means false, with no inherited default.
k8MayReadRevision requiredinteger
mayChange requiredbooleanWhether the caller may change these (inbox.settings.change for this inbox, signed in to the web app; never a personal notice inbox's).
mayDisableK8 requiredboolean
mayEnableK8 requiredboolean
memberRulesOff requiredbooleanOnly the organization's owners and admins create, change, pause, delete and test rules acting on this inbox. Off by default: members with access may.
rulesMaySend requiredbooleanRules may send mail out of K8 HQ from this inbox (automatic replies). Off by default. Unset, it follows the inbox: allowed while one member has access, off once it's shared.
spamAutoDelete requiredbooleanMessages in Spam longer than 30 days are deleted for good, once a day; flagged ones are kept. On by default; turning it back on restarts the 30 days.
trashAutoDelete requiredbooleanMessages in Trash longer than 30 days are deleted for good, once a day; flagged ones are kept. On by default; turning it back on restarts the 30 days.

IntakeIssue

An external issue's projection on a task board: the provider's stable IDs, its number, link and state as last read, its title sealed to the board's epoch key, and the tasks linked to it. Its discussion stays on the provider.

FieldTypeDescription
account requiredstring
board requiredstring
firstSeenAt requiredstring
id requiredstringxis_
issue requiredstringThe provider's stable issue ID (not its number, which a transfer changes).
items requiredstring[]The tasks linked to it (itm_).
matches requiredbooleanIt carried its source's labels when last read.
number requiredinteger
provider requiredstring
providerUpdatedAt requiredstringWhen the provider last changed it, as last read.
repository requiredstring
repositoryName requiredstring
schemaVersion requiredinteger
source requiredstringThe intake source that last read it (xsr_).
state requiredopen | closed | goneAs last read; gone: deleted, transferred or no longer readable through the connection.
syncedAt requiredstring
title requiredobjectThe title sealed with seal v2 to the board's epoch key: one part, title, seal ID <xis>|title|v<n>.
triage requirednew | deferred | dismissed
url requiredstring
version requiredinteger
titleTextstringFor a token: the title, opened by the cell.
triagedAtstring
triagedBystring
unreadablebooleanFor a token: the title couldn't be opened.

IntakeSettings

A task board's intake settings.

FieldTypeDescription
background requiredbooleanIts sources sync in the background (off by default), each under its standing authorization.
schemaVersion requiredinteger
version requiredinteger
setAtstring
setBystring

IntakeSource

A task board's external issue intake source: one connection's repository and the issues of it the board shows.

FieldTypeDescription
account requiredstringThe provider's stable ID of the account the repository is on.
all requiredbooleanEvery open issue, chosen explicitly instead of labels.
board requiredstring
connection requiredstringThe connection it reads through (pcn_).
createdAt requiredstring
createdBy requiredstring
id requiredstringxsr_
labels requiredstring[]Labels every issue must carry.
provider requiredstringThe provider's kind (github).
repository requiredstringThe provider's stable repository ID.
repositoryName requiredstringIts name as last read (owner/name).
schemaVersion requiredinteger
authorizedBystringThe member whose standing authorization background sync reads under, rechecked before every read.
failuresinteger
noticedAtstringThe provider said something changed after the last sync: sync to read it.
pausedstringWhy background sync is paused (board_access, member_gone, suspended, service_off, not_authorized, deleted, disabled, revoked, not_connected, expired, not_readable); absent when it isn't.
pausedAtstring
pollAfterstringNot read before this (a rate limit's reset, or a failing provider's backoff).
syncedAtstring
syncedBystring
urlstring

K8MessagePlan

FieldTypeDescription
filter requiredobject
inboxes requiredstring[]
includeAutomated requiredboolean
schemaVersion required1
window requiredobject
maxMessagesinteger

K8MessageSummary

FieldTypeDescription
amounts requiredobject[]
asks requiredstring[]
confidence requiredlow | medium | high
dates requiredobject[]
people requiredobject[]
schemaVersion required1
summary requiredstring
urls requiredobject[]

K8QuestionResponse

FieldTypeDescription
inboxId requiredstring
messageId requiredstring
producerVersion requiredstring | null
questionResult requiredany
reason requiredautomated | no_text |
schemaVersion required1
status requiredready | skipped
truncated requiredboolean

K8QuestionResult

FieldTypeDescription
answer requiredstring
confidence requiredlow | medium | high
quotes requiredstring[]
schemaVersion required1

K8SummaryResponse

FieldTypeDescription
inboxId requiredstring
messageId requiredstring
producerVersion requiredstring | null
reason requiredautomated | no_text |
schemaVersion required1
status requiredready | skipped
summary requiredany
truncated requiredboolean
labelIdsstring[]The message's folder IDs, including Spam and Trash.
snoozeSnooze

Label

FieldTypeDescription
id requiredstring
name requiredstring
total requiredinteger
unread requiredinteger
convertingbooleanThis folder is being turned into a tag.
specialUse\Sent | \Drafts | \Trash | \Junk | \ArchiveThe label's role, as IMAP names it.

MessageDelivery

FieldTypeDescription
recipients requiredobject[]
salt requiredstringPattern: ^[A-Za-z0-9_-]{22}$.
sentAt requiredstring
rejectedstring

MessageSummary

FieldTypeDescription
channel requiredemail | form | portalLater sms, voice, chat. form: a form's response (design note 0019), in the form or copied to an inbox. portal: a customer's reply from the help desk portal.
flags requiredFlag[]
id requiredstring
modseq requiredintegerThe message version. Changes when its flags or labels change.
participants requiredParticipant[]
receivedAt requiredstring
size requiredintegerBytes.
attachmentsintegerHow many files are attached; absent if they weren't counted (mail stored before K8 HQ counted them). Available in zero-access inboxes too. Images shown within the message do not count unless also attached as files.
automatedbounce | auto-reply | auto-generated | list | bulk | formMail no person wrote, from its headers (received mail only; absent otherwise): a delivery report, an auto-reply (out of office), other machine mail (Auto-Submitted, noreply senders), a mailing list, or bulk/marketing mail. Rules never auto-reply to it. Ignore values you don't know. Rules see it as message.automated ("" for a person's mail). form: a form's response (no automatic reply goes to it).
boardFailedpaused | changed | no_route | full | full_open | boards_off | failedA form's response (or its inbox copy) that its board setting didn't add: paused (the setting was paused, for example because the person who set it up lost access to the board), changed (the setting changed while the response was on its way), no_route (an inbox copy that came without the form's board setting, so it stays mail and opens no ticket), full (the board took as many new items as it may today), full_open (it holds as many items that aren't done as it may), boards_off (the organization turned Boards off), or failed (a task route's task couldn't be made after several tries, or its board setting couldn't be read). Absent otherwise.
boardItemsobject[]On a form's response: the items it made on boards ("Added to Support as #142"): IDs and numbers only. Absent when it made none.
copyFailedbooleanA form's response whose copy in the form's delivery inbox couldn't be made after retries, including when a temporary problem prevented checking the board setting or access. The response stays in the form and its members are told. Absent otherwise.
datestringThe sender's date (email Date header).
deliverynotsent | bounced | delayedProblem marker for outgoing mail in any folder or search. Absent for delivered mail and complaints. Does not change IMAP modseq.
directionin | out
draftobjectPresent for a draft a person's app saved (direction out, flagged draft, not a server-filed copy): what can be edited, replaced and discarded through /inboxes/{inbox}/drafts. A message merely moved into Drafts has none.
keywordsstring[]Custom keywords set by mail apps.
labelIdsstring[]The message's folder IDs, including Spam and Trash.
noticeReaderKindnotice | releaseSet only by K8 HQ when delivering a notice or release note. Absent for mail, saved messages and notices delivered before K8 HQ added this feature.
routedTostringOn a form's response: the task board its setting sent it to when it arrived. With no boardItems and no boardFailed 10 minutes after it arrived, it wasn't added (for example after a failure on the way): show "Not added".
senderVerifiedbooleanWhether the sender passed checks kept when the mail arrived. Available for older mail too when those checks were kept. Absent means unknown, including imported mail.
snoozeSnooze
spamSpam
subjectstring
tagsstring[]Organization tags on it (tag_ IDs, sorted; absent when none). Names are sealed in the organization's tag set (GET /tags).
threadIdstringThe conversation it belongs to, within its inbox: email joins a thread by In-Reply-To and References (else a reply's subject and sender, within 30 days); a form's response is a thread of its own. Absent on a message stored before threads that hasn't been given one yet: treat it as a thread of its own. Pattern: ^thr_[0-9A-HJKMNP-TV-Z]{26}$.
ticketobjectThe ticket this message opened or joined on the inbox's ticket board (design note 0021), shown as "Ticket #142": IDs and the number only. Absent for mail on no ticket; it goes when the ticket is deleted for good.
unsubscribeone-click | email | page | none-uncoveredThe best unsubscribe method checked when the mail arrived. The sender signed the link. none-uncovered means the sender did not sign the link, so offer no method. Absent on older or imported mail: only a page may be offered, with a warning and senderVerified true. One-click and email require this field. The link and its proof are not returned here.

MilestoneFact

A task's milestone, recorded explicitly with its provenance: integrated (into the integration target), promoted (to main), released, deployed. Distinct conditions; none implies another.

FieldTypeDescription
at requiredstring
by requiredstring
item requiredstring
milestone requiredstring
schemaVersion requiredinteger
via requiredstringperson, or the token (tok_).
evidencestringA commit or ref name.

MySignature

FieldTypeDescription
address requiredstring
endpointId requiredstring
hasAddressSignature requiredboolean
inboxId requiredstring
inboxName requiredstring
memberSignatures requiredboolean
mine requiredany
personal requiredboolean
zeroAccess requiredboolean

NewEventType

FieldTypeDescription
description requiredstring
name requiredstringPattern: ^ext\.[a-z][a-z0-9_]*\.[a-z][a-z0-9_]*$.
dataobject[]
versioninteger

OrgPages

FieldTypeDescription
enabled requiredbooleanWhether organization pages are on. While they're off, nothing else is returned and forms stay at https://k8hq.page/f/....
domainstringThe pages domain (k8hq.page).
mayChangebooleanWhether the caller can change it.
prevstringThe address it last changed from, while that still redirects.
prevUntilstringWhen prev stops redirecting and other organizations can take it.
slugstringThe address's first label; empty until one is set (or picked from the organization's name when its first form is published).

OrgSemanticSettings

FieldTypeDescription
default requiredbooleanMailboxes that follow the organization are searchable by meaning.
forbidden requiredbooleanAn owner forbade sending any message text to an AI model: search by meaning is off everywhere, whatever the mailboxes' settings.
mayChangeCap requiredbooleanOwners only.
mayChangeDefault requiredbooleanPeople with org.settings.change, while the forbid is off.
mayForbid requiredbooleanOwners only.
model requiredstring
monthlyCap requiredstringThe most making mailboxes searchable by meaning may cost a month (default $20); embedding pauses at it, and owners are told at 80% and at it.
prices requiredSemanticPrices
spentThisMonth requiredstringSpent on it this UTC month so far.
estimateSemanticEstimate
followingstring[]With estimate: the mailboxes on only because of the default (turning the default off deletes their vectors).
mailboxesintegerMailboxes the default would turn on (with estimate).

OrganizationTag

FieldTypeDescription
createdAt requiredstring
creator requiredstring
epoch requiredinteger
id requiredstringPattern: ^tag_[0-9A-HJKMNP-TV-Z]{26}$.
object requiredstringA frame of two seal v2 parts, meta and names; at most 4 KB sealed.
schemaVersion required1
updatedAt requiredstring
version requiredinteger
wdek requiredstringThe DEK wrapped to the container epoch using the tag seal ID.
creatorLabelstringThe creating token's label, when a token created this tag.
creatorMemberstringThe member whose token created this tag.
keywordstringThe tag's keyword in mail apps (IMAP), while "Show in mail apps" is on: stored in plain text so mail apps can show and set the tag. Absent while it's off.

OrganizationTagInput

FieldTypeDescription
epoch requiredinteger
id requiredstringPattern: ^tag_[0-9A-HJKMNP-TV-Z]{26}$.
object requiredstringA frame of two seal v2 parts, meta and names; at most 4 KB sealed.
wdek requiredstringThe DEK wrapped to the container epoch using the tag seal ID.

OrganizationTagKeywordConversionStatus

FieldTypeDescription
progress requiredobject
status requiredrunning | done | failedrunning until the tag is off everything and deleted (done). failed: it stopped and K8 HQ's staff are alerted; the tag stays hidden and unusable until they finish it.
tag requiredstringThe tag being deleted or merged. Pattern: ^tag_[0-9A-HJKMNP-TV-Z]{26}$.
intostringFor a merge, the tag asked to merge into. If that tag is itself deleted or merged meanwhile, the merge follows it: to the tag it went into, or, once it's deleted, the merged tag is just deleted. Pattern: ^tag_[0-9A-HJKMNP-TV-Z]{26}$.

OrganizationTagRemoval

A tag being deleted or merged: its sealed record, so its name can still be shown while the removal runs.

FieldTypeDescription
createdAt requiredstring
creator requiredstring
epoch requiredinteger
id requiredstringPattern: ^tag_[0-9A-HJKMNP-TV-Z]{26}$.
job requiredstringThe removal's job ID.
object requiredstringA frame of two seal v2 parts, meta and names; at most 4 KB sealed.
schemaVersion required1
updatedAt requiredstring
version requiredinteger
wdek requiredstringThe DEK wrapped to the container epoch using the tag seal ID.
intostringFor a merge, the tag it's merging into. Pattern: ^tag_[0-9A-HJKMNP-TV-Z]{26}$.

OrganizationTagRemovalStatus

FieldTypeDescription
status requiredrunning | done | failedrunning until the tag is off everything and deleted (done). failed: it stopped and K8 HQ's staff are alerted; the tag stays hidden and unusable until they finish it.
tag requiredstringThe tag being deleted or merged. Pattern: ^tag_[0-9A-HJKMNP-TV-Z]{26}$.
intostringFor a merge, the tag asked to merge into. If that tag is itself deleted or merged meanwhile, the merge follows it: to the tag it went into, or, once it's deleted, the merged tag is just deleted. Pattern: ^tag_[0-9A-HJKMNP-TV-Z]{26}$.

OrganizationTagUpdate

FieldTypeDescription
epoch requiredinteger
object requiredstringA frame of two seal v2 parts, meta and names; at most 4 KB sealed.
wdek requiredstringThe DEK wrapped to the container epoch using the tag seal ID.
idstringPattern: ^tag_[0-9A-HJKMNP-TV-Z]{26}$.

OrganizationTags

FieldTypeDescription
canCreate requiredboolean
canManage requiredboolean
canSetCreateMembers requiredboolean
createMembers requiredboolean
epoch requiredinteger
epochPub requiredstring
id requiredstringPattern: ^tgs_.
suite requiredobject
tags requiredOrganizationTag[]
removingOrganizationTagRemoval[]Tags being deleted or merged (POST /tags/{tag}/removal). They're gone from tags at once and can't be added to anything.

OtherInboxClaimConflict

OutboxItem

FieldTypeDescription
author requiredstring
createdAt requiredstring
draftId requiredstring
id requiredstring
kind requiredundo | scheduled
msgId requiredstring
schemaVersion requiredinteger
sendAt requiredstring
size requiredinteger
status requiredheld | sending | failed | unknownheld waits for its send time; sending has been claimed and cannot be cancelled; failed was not sent; unknown could have been sent and is never sent again automatically. Later sending reports can resolve unknown as sent. Failed and unknown items stay for 30 days and count toward storage until removed.
summary requiredOutboxSealed
version requiredinteger
zone requiredstring
answersstring
failureobject
ticketobjectThe ticket reference, last message and version of the send claim.

OutboxSealed

FieldTypeDescription
ciphertext requiredstringThe RFC 5322 message, encrypted with the data key.
draftId requiredstringA random ID per message, or the draft's ID when sending a saved draft (which is then removed); the ciphertext is bound to it. Pattern: ^draft_[A-Za-z0-9_-]{16,64}$.
epoch requiredintegerThe inbox epoch the data key was sealed to (GET /inboxes/{inbox}).
wrappedDek requiredstring

OutwardWrite

One write K8 HQ made (or is making) to a linked issue, with its provenance. Its ID is the hidden marker in the comment, so it's never posted twice.

FieldTypeDescription
bodyHash requiredstringSHA-256 of what was posted (a reply's text isn't kept).
by requiredstring
claimedAt requiredstring
connection requiredstring
id requiredstringxpc_
issue requiredstring
kind requiredmilestone | reply | closure
schemaVersion requiredinteger
state requiredposting | posted | closed
via requiredstring
commentstringThe provider's comment ID.
itemstring
milestonestring
postedAtstring
templateinteger
urlstring

Participant

An identifier in a message. Contacts match on kind and value, never on the display name.

FieldTypeDescription
kind requiredemailLater e164 (phone) and chat handles.
role requiredfrom | to | cc | reply-to
value requiredstringThe address.
namestringDisplay name, if given.

Permission

FieldTypeDescription
danger requiredbooleanCan lead to content or to other people's power: one passkey confirmation per use, and the consequence is spelled out when it's given.
grants requiredstringWhat it lets a member do.
group requiredstring
name requiredstringe.g. billing.view.
peoplePower requiredbooleanGiving it, or changing or removing someone who holds it, needs an owner's approval.
risk requiredlow | medium | high
scopable requiredbooleanMay be held for named inboxes or contact books, or only the ones the member is in, instead of the whole organization.
stepUp requiredbooleanNeeds a passkey used in the last five minutes.
cannotstringWhat it never allows.
impliesstringWhat follows from that.
peopleOnlybooleanNever through a token.
tokenScopestringThe access-token scope it lets a member give their tokens.

PortalSetting

FieldTypeDescription
by requiredstring
form requiredstringThe form the portal's New request button opens (a frm_ ID), or empty: customers are asked to email the board's inbox. Offered only while the form is published and its ticket route to this board is on.
gen requiredinteger
linkLines requiredbooleanWhether acknowledgements fill {portal.link_line} with the request's link while the portal is on (the web app also adds it to replies). On unless turned off.
names requiredobjectWhat customers see for each status category: todo, active, waiting, done and closed, always all five (the defaults Received, In progress, Waiting for you, Solved and Closed where the board hasn't named one). Plaintext: the cell renders them on the portal.
on requiredboolean
version requiredinteger
welcome requiredstringA line at the top of the portal's sign-in and request pages; empty for none. Plaintext.
pausedstringWhile it's on, why sign-in links can't go out: owner_left, no_sending or automatic_mail_off. Only on a read.

Principal

FieldTypeDescription
member requiredstring
claimstringReserved for the work-claim session (board item #172); not set yet.
viastringperson (signed in to K8 HQ), a token's ID (tok_), or absent where it wasn't recorded.

Privacy

readable: K8 HQ's servers can open it (decrypted reads with content:read, IMAP, server rules). zero_access: ciphertext only. Values: readable, zero_access.

Problem

An RFC 9457 problem detail.

FieldTypeDescription
code requiredinvalid | unauthenticated | forbidden | scope_missing | zero_access | not_found | conflict | in_progress | version_mismatch | precondition_required | calendar_closed | org_closed | too_large | rejected | rate_limited | unavailable | sync_reset | step_up_required | k8_unavailable | mcp_binding_unavailable | approval_required | out_of_credit | service_disabled | read_only | clock_wrong | ticket_changed | held | claimed | claim_held | claim_required | claim_lost | claim_reason_unknown | claim_reasons_changed | claim_reason_text_not_allowed | epoch_changed | claim_on_ticket | not_holder | claim_active | not_ready | on_hold | delivered | blocked | dependency_cycle | owner_required | connection_unavailable | connection_not_authorized | plan_changed | confirmation_required | confirmation_invalid | confirmation_expired | confirmation_mismatch | confirmation_used | needs_person | key_changed | key_unverified | key_replaced | container_access_lost | k8_notice_inbox | k8_messages_disabled | k8_inbox_disabled | k8_model_unavailable | k8_output_invalid | k8_cap_reached | k8_member_cap_reached | k8_plan_invalid | k8_ai_classify_disabled | k8_ai_sending_not_allowed | client_outdated | snooze_not_in_inbox | snooze_limit | tags_coming_soon | folder_rules | undo_expired | book_read_only | not_eligible | already_unsubscribed | proof_mismatch | bad_url | consent_required | sender_cap | organization_cap | destination_capStable: branch on this.
status requiredinteger
title requiredstring
type requiredstringDocumentation for the code.
detailstringFor people; may change.

PublicationPlan

What publishing the issue would write now.

FieldTypeDescription
issue requiredstring
planHash requiredstringBinds a publish to this plan: send it to publish, which refuses (plan_changed) if what it would write is no longer this.
policy requiredPublicationPolicy
waiting requiredstring[]Linked tasks (itm_) not at the resolution milestone yet: the closure waits for them.
writes requiredobject[]
closureobject

PublicationPolicy

Which milestones K8 HQ comments on a task board's linked external issues (none by default), and the resolution rule under which it closes them (off by default).

FieldTypeDescription
milestones requiredtracked | integrated | promoted | released | deployed[]
resolution requiredoff | integrated | promoted | released | deployed
schemaVersion requiredinteger
version requiredinteger
setAtstring
setBystring

RecoverableMessage

Reported

FieldTypeDescription
harnessstring
kindstring
labelstring
modelstring
versionstring

ReturnedMessage

FieldTypeDescription
createdAt requiredstringWhen you first snoozed the message. Changing an active snooze's return time keeps this original time.
msgId requiredstring
returnedAt requiredstring
summary requiredMessageSummary
threadId requiredstring

Rubric

FieldTypeDescription
appliesTo requiredstring[]
createdAt requiredstring
criteria requiredRubricCriterion[]
id requiredstring
version requiredinteger
bytesinteger
createdBystring
epochinteger
latestinteger
objectstringA custom version's text: framed (meta, body), seal ID <board>|<rubric>|v<version>.
starterboolean
textRubricTextA starter's text; for a token, a custom version's text opened by K8 HQ's servers.
unreadablebooleanTokens only: the version's seal didn't open.
wdekstring

RubricCriterion

FieldTypeDescription
id requiredstring
max requiredinteger
min requiredinteger

RubricCriterionText

FieldTypeDescription
levels requiredobjectAn anchor for each level, keyed by the level ("1", "2", ...).
name requiredstring
descriptionstring

RubricRef

FieldTypeDescription
id requiredstring
version requiredinteger

RubricText

FieldTypeDescription
criteria requiredobject
name requiredstring
descriptionstring

Rule

FieldTypeDescription
agentId requiredstringThe agent it acts as (agt_…): the actor of every event it causes.
ceiling requiredstringThe agent's frozen permissions, as Cedar policies.
containers requiredstring[]The containers its ceiling covers.
createdAt requiredstringIt acts on events after this, never on history.
creator requiredstringThe member who created it (mem_…).
dailyCap requiredintegerActions a day before the rule pauses itself; -1: no limit.
id requiredstringrul_…
params requiredobject
status requiredactive | paused
summary requiredstringWhat it does, in plain words.
template requiredTemplate
updatedAt requiredstring
version requiredinteger
activeFromstringWhen the rule starts acting (UTC), if set.
activeUntilstringWhen the rule stops acting (UTC), if set.
aiClassifyDailyCapinteger
aiSendingOptInobject | null
createdAttributionAttribution
phaseactive | paused | scheduled | endedHow the rule stands now: active, paused, scheduled (its window hasn't started) or ended (its window has passed).
updatedAttributionAttribution

RuleAction

One thing a rule does. String fields may name a parameter as $name. notifyMembers sends each current inbox member who can open the triggering message a notice, unless the message is spam. Subjects are quoted and shortened, and left out for zero-access inboxes. Copies follow each member's notification routes and leave out the subject; outside copies use the subject New mail in K8 HQ. At most 100 members; above that, no notices are sent and rule.action.failed records member_limit. If a member no longer meets the notice conditions at delivery, their notice is skipped and rule.action.failed records member_condition once per member and triggering event. If the sponsoring app loses authority, the rule pauses with reason authority. Each stored notice counts as one rules.actions unit and against the rule daily limit.

FieldTypeDescription
kind requiredlabel | move | tag | flag | emit | notify | notifyMembers | reply | parse_dmarc_reportSee GET /rule-actions. parse_dmarc_report is K8 HQ's own: only its starter template may use it.
addWebFlag[]flag: flags to set.
bodystringreply: the reply's plain text, or a string parameter ("$name").
dataobjectemit: the type's fields, each a CEL expression.
inboxstringnotify: the inbox (or inbox parameter) a notice is delivered to (up to 100 a day per rule).
labelstringlabel, move: a label ID, a role (inbox, archive, spam, trash, sent, drafts) or a label parameter. Move takes the message out of the label the trigger put it in.
removeWebFlag[]flag: flags to clear.
subjectstringnotify, K8 HQ's starter templates only: a CEL expression for the notice's subject. Other rules' notices are "Rule: <name>".
tagstringtag: an organization tag's ID (tag_) or a tag parameter ($name), live in the organization when the rule is saved (checked again in the transaction that saves it: a tag deleted, or being deleted or merged, meanwhile answers 422). The tag is added through the message's tag write (message.tags_changed, billed as one rules.actions); the message stays in its folders. A tag deleted, or being deleted or merged, since is skipped, as is a message that already has 20 tags; neither records rule.action.failed. Merging the tag switches the rule to the merge's target. Rules made or changed by apps can't add tags yet.
textstringnotify: a CEL expression for the notice's text.
typestringemit: a registered ext.* type (up to 1000 a day per rule).
whenstringA CEL filter set only by K8 HQ's unchanged starter templates. Other customer rules cannot set it. Empty runs the action for every matched event.

RuleActionType

FieldTypeDescription
audience requiredcustomer
description requiredstring
fields requiredobject[]
kind requiredstring
on requiredstringWhat it acts on.
outsideEffects requiredbooleanWhether anything leaves K8 HQ (none of today's actions).
permission requiredstringWhat the rule's agent's ceiling must allow (Cedar action).
triggers requiredstringThe triggers it needs (message.* or any).

RuleInput

FieldTypeDescription
activeFromstringWhen the rule starts acting (RFC 3339 with an offset, e.g. 2026-10-19T09:00:00-07:00); empty for now. On a change, leave it out to keep it, or send "" to clear it.
activeUntilstringWhen the rule stops acting (RFC 3339), after activeFrom; empty for no end. Outside the window the rule stays as it is and lets events pass. On a change, leave it out to keep it, or send "" to clear it.
aiClassifyDailyCapintegerClassifications per UTC day. Zero uses 200 on create or keeps the saved limit on edit.
aiClassifyPreviewbooleanTests only. A person explicitly asks for an AI label distribution. Uses AI and counts toward K8 usage.
aiSendingOptInbooleanAn owner requests bound passkey confirmation to let this AI rule send replies. With status active and no edits, one confirmation of the current version saves the agreement and resumes the paused rule together. False clears that agreement.
cursorstringTests only: a previous test's nextCursor, to test the rest of the window.
dailyCapintegerThe rule's safety breaker: past this many actions in a UTC day it pauses itself and its notice inbox (else its watched inbox) is told. Default 10,000; up to 10,000,000; -1 for no limit (nothing is counted: for rules meant to run at any volume). A test suggests one from real volume (suggestedCap).
limitintegerTests only: matches to list (all are counted; default 100).
paramsobjectA value for every template parameter.
sincestringTests only: start of the window (default 7 days ago).
statusactive | pausedChanges only.
templateTemplate
untilstringTests only: end of the window (default now).

RuleTest

FieldTypeDescription
capped requiredintegerActions the rule's daily limit would have refused (it would have paused itself).
evaluated requiredintegerEvents the rule selected and its filter checked (metered as rules.evaluations).
failed requiredobjectEvents a live run would have recorded as rule.action.failed, by reason (denied, filter_error, invalid, depth).
matched requiredinteger
matches requiredobject[]
notes requiredstring[]What a test can't show.
perDay requiredobjectMatches per UTC day.
scanned requiredintegerEvents read (up to 2000 per call; metered as events.read).
suggestedCap requiredintegerA daily limit with room above the peak day: three times its actions, at least 100.
unknown requiredintegerSelected events whose message is gone.
window requiredobject
aiClassifyobject
horizonstringThe organization's earliest event a test can see.
nextCursorstringMore of the window to test: pass it as cursor.
peakDaystring

SavedDraft

FieldTypeDescription
draftId requiredstring
messageId requiredstringThe message in Drafts holding this version (msg_…); each save makes a new one.

SavedReply

A shared saved reply, kept sealed in the board. The browser opens its name and text.

FieldTypeDescription
bytes requiredinteger
epoch requiredinteger
id requiredstringPattern: ^srp_[0-9A-HJKMNP-TV-Z]{26}$.
object requiredstring
savedAt requiredstring
savedBy requiredstring
schemaVersion required1
version requiredinteger
wdek requiredstring

Sealed

A browser-sealed object: framed seal v2 parts and its key wrapped to the board's epoch key.

FieldTypeDescription
epoch requiredinteger
object requiredstring
wdek requiredstring

SemanticEstimate

What embedding the messages not in the index yet is expected to cost the organization, rounded up to the cent: embedding once, storagePerMonth while the vectors are kept, total the two. Spam isn't embedded. Tokens are estimated from message sizes (on the high side for mail with attachments).

FieldTypeDescription
embedding requiredstringDollars, exact, as a decimal string.
messages requiredinteger
storagePerMonth requiredstringDollars, exact, as a decimal string.
tokens requiredinteger
total requiredstringDollars, exact, as a decimal string.

SemanticPrices

The rates behind the estimate.

FieldTypeDescription
per1000Tokens requiredstringDollars, exact, as a decimal string.
perLoad requiredstringDollars, exact, as a decimal string.
perMessage requiredstringDollars, exact, as a decimal string.
perSearch requiredstringDollars, exact, as a decimal string.

SemanticSettings

FieldTypeDescription
forbidden requiredboolean
mayChange requiredboolean
mode requiredorg | on | offThe mailbox's setting: org follows the organization's default.
model requiredstringThe embedding model.
note requiredstringWhat this means, for people.
off required | off | forbidden | zero_access | removedWhy it isn't on: off (its setting, or the organization's default), forbidden (an owner forbade sending message text to AI models), zero_access, removed; empty when on.
on requiredbooleanWhether the mailbox is searchable by meaning (its mail is embedded as it arrives).
orgDefault requiredboolean
prices requiredSemanticPrices
status requiredSemanticStatus
zeroAccess requiredboolean
estimateSemanticEstimate
estimatePendingbooleanThe mailbox is still loading for the estimate: ask again in a moment.

SemanticStatus

How far the mailbox's semantic index is.

FieldTypeDescription
building requiredbooleanThe mailbox's messages are still being embedded.
indexed requiredintegerMessages in it now.
partial requiredbooleanOnly imported messages that asked for it are in it (the mailbox itself is off).
ready requiredbooleanAn index exists (a build may still be running).
pausedcredit | cap | modelEmbedding waits: the organization is out of credit, has reached its monthly limit (until next month or an owner raises it), or the model is unavailable. Absent when it doesn't.

SenderMove

FieldTypeDescription
before requiredstring
createdAt requiredstring
finishedAt requiredstring
id requiredstring
inboxId requiredstring
moved requiredinteger
skipped requiredinteger
starredKept requiredintegerMatching messages kept because they were starred when counted, separate from messages skipped after a change.
status requiredqueued | running | waiting | succeeded | failed | cancelled
target requiredarchive | trash
total requiredinteger
undoOf requiredstring
reasontoo_many_messages | stopped | too_many_folders
undoJobIdstring
undoUntilstringUndo deadline for committed moves in a succeeded, failed or cancelled job. Absent when no messages moved or Undo has started.

Sent

FieldTypeDescription
sent requiredbooleanFalse for a dry run.
claimstringThe claim ID when a reply was sent with claim: "new". Pattern: ^clm_[0-9A-HJKMNP-TV-Z]{26}$.
dryRunboolean
messageIdstringThe stored Sent copy's K8 HQ message ID, including when a copy was already stored. Absent for a dry run or if the message was sent but its Sent copy could not be stored. Older replayed responses may omit it. Pattern: ^msg_[0-9A-HJKMNP-TV-Z]{26}$.
warningstringShown if K8 HQ sent the message and could not remove the draft.

Signature

Address signature, readable by K8 HQ even in a zero-access inbox. Signatures are stored where K8 HQ can read them, because they're added to mail you send to other people. Don't put anything private in a signature.

FieldTypeDescription
by requiredstring
html requiredstringAt most 10 KB of cleaned HTML. The only image source is cid:k8hq-sig. The literal {sender name} stays in storage.
schemaVersion required1
text requiredstringGenerated on the server from the cleaned HTML, at most 2 KB. Compose adds the -- delimiter.
updatedAt requiredstring
imageSignatureImage

SignatureImage

Uploaded image dimensions on upload; display dimensions and alt text when part of a signature. Image IDs are opaque prefixed ULIDs within one organization; the inbox must also have access.

FieldTypeDescription
bytes requiredinteger
height requiredinteger
imageId requiredstringPattern: ^sig_[0-9A-HJKMNP-TV-Z]{26}$.
sha256 requiredstringPattern: ^[0-9a-f]{64}$.
type requiredimage/png | image/jpeg | image/gif
width requiredinteger
altstring

Snooze

Your own snooze time or returned pin. Absent for other people.

SnoozedMessage

FieldTypeDescription
createdAt requiredstringWhen you first snoozed the message. Changing an active snooze's return time keeps this original time.
msgId requiredstring
summary requiredMessageSummary
threadId requiredstring
until requiredstring

Snoozes

FieldTypeDescription
returned requiredReturnedMessage[]
snoozed requiredSnoozedMessage[]

Spam

The inbound spam scanner's verdict; absent (or null) if the message wasn't scanned (sent copies, older mail). Rules see it as message.spam and message.spamScore.

FieldTypeDescription
flagged requiredbooleanOver the scanner's threshold.
score requirednumberThe scanner's score (rspamd): higher is more likely spam; around 6 and up is flagged.

Subject

FieldTypeDescription
basestringCode: the comparison base's full commit, where assessed.
branchstringCode: display only.
candidatestringCode: the tested integration candidate's full commit or tree, where assessed.
commitstringCode: the full commit assessed (40 or 64 hex digits).
descriptionintegerA task description: the item's saved version.
refstringAnother artifact kind: a revision reference sufficient to reopen it.
repositorystringCode: the repository's identity.

Subscription

FieldTypeDescription
address requiredstringLower-cased From address.
count30 requiredintegerMatching messages received in the last 30 days.
countAll requiredintegerMatching messages received in the last 12 months.
lastAt requiredstring
newest requiredSubscriptionNewest
blockRule
namestringDisplay name on the newest matching message.
recordSubscriptionUnsubscribeRecord

SubscriptionNewest

FieldTypeDescription
id requiredstring
senderVerifiedbooleanWhether the sender passed checks when the message arrived. Absent means unknown.
unsubscribeone-click | email | page | none-uncoveredThe method checked when the message arrived. Absent on older mail. none-uncovered means no signed link is available.

SubscriptionPage

FieldTypeDescription
senders requiredSubscription[]
nextCursorstringOpaque next page cursor, omitted on the last page. Reuse with the same inbox, sort and filter within 15 minutes.

SubscriptionUnsubscribeRecord

FieldTypeDescription
at requiredstring
attempts requiredinteger
by requiredstring
messageId requiredstring
method requiredone-click | email | page
result requiredpending | accepted | sent | failed | refused | page-opened | email-sent
schemaVersion requiredinteger
sender requiredstring
reasonstring
sentMessageIdstring
statusstring
windowStartstring

Suppression

FieldTypeDescription
address requiredstringThe recipient's address, as SES stores it (case kept).
reason requiredbounce | complaint
since requiredstringWhen the last bounce or complaint put it on the list.

Suppressions

FieldTypeDescription
mayRemove requiredbooleanWhether the caller may remove addresses that bounced (a person with org.settings.change).
suppressions requiredSuppression[]
nextCursorstringPresent while there are more.

SurveyAnswer

A customer's satisfaction answer. Its comment is sealed to the board's epoch key (seal v2, one part comment, under sealId); open it in the browser as other sealed board content.

FieldTypeDescription
at requiredstring
changes requiredinteger
firstAt requiredstring
solve requiredintegerThe solve it rates; 0 when no solving reply carried the link (kept, not the ticket's rating).
value requiredgreat | okay | bad
bystringThe member it counts for (mem_): who sent the solving reply, or who asked for the link.
commentstring
commentWdekstring
epochinteger
sealIdstring
surveystringWith solve 0: the link's ID.

SurveySetting

A ticket board's satisfaction survey switch, in its help desk settings record.

FieldTypeDescription
on requiredboolean
version requiredintegerThe help desk settings record's version (0: never saved).

Template

The one format every rule comes from. It names no organization: inboxes and labels are parameters, filled in when it's installed.

FieldTypeDescription
actions requiredRuleAction[]
name requiredstring
templateVersion required1
triggers requiredobject[]
conditionsAIClassifyCondition[]
descriptionstring
filterstringA CEL expression that must be true for the rule to act, over event (type, subject, container, time, actor, data), message for message.* triggers (channel, direction, subject, participants, from, labels, flags, size, endpoints, spam, spamScore) and params. Checked when saved: every field it names must exist. Empty matches every triggering event.
parametersobject[]

ThreadMessages

FieldTypeDescription
count requiredintegerMessages stored in the thread, including ones not listed (held or recoverable).
messages requiredany[]
threadId requiredstringThe conversation ID; empty for a message with no conversation ID.
cursorstringPass back unchanged to load older messages. Absent at the end.

TicketMessage

A message on a ticket (design note 0021 section 5): the browser opens it from the inbox, with the inbox's key.

FieldTypeDescription
at requiredstring
direction requiredin | out
message requiredstringThe message (msg_) in the board's inbox.
automatedstringAutomated mail: bounce, auto_reply, auto_generated, list or bulk.
bouncedpermanent | temporary | suppressedA reply that wasn't delivered to some of its recipients.
channelform | portalform: a form response's inbox copy (show it as a form response, not as an email). portal: a customer's reply sent from the help desk portal (show it as sent from the portal). Absent on email and on form copies from before it was kept.
fromstringMail in: the sender's address.
openedbooleanIt opened the ticket.
unverifiedbooleanMail in that isn't verified: show it with a warning, always (it stays on the message after its sender is verified).
unverifiedWhystranger | spoofed | typedWhy: stranger, an address the ticket hadn't seen, matched by its headers alone (it can be marked known); spoofed, the requester's or a participant's address on a message that failed sender authentication (nothing can vouch for it). Typed means an address entered into a form. Absent on messages from before it was kept.

Transfer

An import into or an export of an inbox, as the person who asked for it sees it. Only they see it.

FieldTypeDescription
createdAt requiredstring
id requiredstringThe job (job_).
kind requiredimport | export
progress requiredobjectCounts so far. Imports: while counting, estMessages and estBytes; then imported, duplicates (already in the folder, skipped), deleted (marked deleted in the file, skipped), failed (not messages, over 40 MB, or refused), notStored (of failed, the ones the store refused after several tries: importing the same files again adds them), filesFailed (files or zipped mailboxes that aren't mbox), bytesDone and bytesTotal (of the uploaded files). Exports: messages, folders, failed (messages that couldn't be read), and size (the zip, once it's ready).
status requiredscanning | scanned | queued | running | waiting | succeeded | failed | cancelledImports first: scanning while their files are counted, scanned once the estimate is ready (start or cancel it). Then queued, running; waiting: an attempt failed and it carries on shortly from where it stopped. failed: it stopped for good; K8 HQ staff are told, and messages imported before it stopped stay.
costSoFarstringStarted imports: what they've been charged so far (the upload and each message stored; storage comes daily, as for all mail).
creditOkbooleanCounted imports: the organization's available credit covers the estimate (else starting it is refused).
estimateobjectImports: what it's expected to cost, from the count, rounded up to the cent: import once (every charge the import makes: the upload, each new message stored and indexed for search, and the check for messages already there), storagePerMonth while the mail is kept, total the two. Messages already in their folders are skipped and cost only that check.
expiresAtstringExports: until when it can be downloaded (7 days after it's ready).
filesstring[]Imports: the uploaded files' names.
finishedAtstring
folderstringImports: the folder their messages go to (empty: INBOX), unless keepFolders.
keepFoldersbooleanImports: each file's (or zipped mailbox's) own name is its folder.
uploadstringImports: their upload (upl_), to start or cancel it.

UnsubscribeProblem

UnsubscribeRecord

The latest request for one sender in this inbox. at and windowStart are UTC dates. by is the member who asked. attempts counts one-click and email attempts in the last 30 days. A stale pending request reads as failed after 60 seconds. No link or proof is kept.

FieldTypeDescription
at requiredstring
attempts requiredinteger
by requiredstring
messageId requiredstring
method requiredone-click | email | page
result requiredpending | accepted | sent | failed | refused | page-opened | email-sent
schemaVersion required1
sender requiredstring
reasonstring
sentMessageIdstring
status2xx | 3xx | 4xx | 5xx
windowStartstring

UnsubscribeResponse

FieldTypeDescription
record requiredany

Upload

An import being uploaded: PUT each part of each file to a part URL, then start it.

FieldTypeDescription
expiresAt requiredstringStart it before then (a part waits a day at most).
files requiredobject[]
id requiredstringThe upload (upl_).
maxBytes requiredintegerThe most one import may upload.

WebFlag

The flags the API can change. Values: seen, flagged, answered.