K8 HQ

Board readiness — K8 HQ Content API

Board readiness operations for K8 HQ Content API. Requests, permissions and responses.

Version 1OpenAPI description (JSON)

Browse operation groups

Before making requests, read the authentication and request requirements.

Mark tasks Ready for agent, set task owners and escalation contacts, and let agents pick tasks up.

Task owners and Ready for agent: an explicit, permission-checked authorization for an agent to pick a task up and implement it, apart from status, labels and editing. See board setup, encryption and synchronization before making requests.

Base URL

Base URLFor
https://api.k8hq.com/v1API tokens and the K8 HQ web app

Endpoints

Board readiness

Read a board's escalation contact

GET/boards/{board}/escalation-contact

Who gets agents' questions about the board's tasks when a task's owner isn't on the board, and whether they're still on it. For anyone on the board, signed in or with boards:read.

For API tokens with boards:read and the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).

Response body (JSON)

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.

Responses

StatusBodyMeaning
200BoardEscalationContactThe escalation contact.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonNo token, or it expired: sign in again (unauthenticated).
403application/problem+jsonThe token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden).
404application/problem+jsonNot found, or not yours (not_found).
426application/problem+jsonK8 HQ has been updated. Reload this page.
429application/problem+jsonToo many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response.
503application/problem+jsonTemporary failure; try again (unavailable).

Set a board's escalation contact

PUT/boards/{board}/escalation-contact

Sets (or, with "", clears) the board's escalation contact, if it's still at version: a member of the board. For a member holding boards.ready on the board, signed in with a passkey used in the last five minutes (otherwise 401 step_up_required: confirm with the passkey and send it again); never a token. Clearing it means none: the default rule doesn't apply again. The same member again changes nothing. Metered as a board change.

For the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
Idempotency-Key (header)stringUp to 255 characters; a retry with the same key gets the first response.

Request body (JSON)

FieldTypeDescription
member requiredstringThe contact (mem_), or "" for none.
version requiredintegerThe contact's version as read (0 if never recorded).

Response body (JSON)

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.

Responses

StatusBodyMeaning
200BoardEscalationContactThe escalation contact.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonNot signed in, or no passkey in the last five minutes (step_up_required).
402application/problem+jsonThe organization is read-only (read_only, design note 0024): it has been out of credit for 60 days, so nothing can be changed until an owner adds credit.
403application/problem+jsonThe token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden).
404application/problem+jsonNot found, or not yours (not_found).
409application/problem+jsonA request with the same Idempotency-Key is still running (in_progress).
412application/problem+jsonThe escalation contact changed since that version (version_mismatch): read it again.
426application/problem+jsonK8 HQ has been updated. Reload this page.
429application/problem+jsonToo many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response.
503application/problem+jsonTemporary failure; try again (unavailable).

Read the connections a task needs

GET/boards/{board}/items/{item}/connections

The provider connections the task's work needs, each with its availability now: the blocker the task shows while one isn't available (its work pauses; a claim on it is kept). IDs and states only: a connection's name, owner, resources and credential stay with the connection. For anyone on the board, signed in or with boards:read.

For API tokens with boards:read and the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
item (path) requiredstringItem ID (itm_…).

Response body (JSON)

FieldTypeDescription
connections requiredobject[]
item requiredstring

Responses

StatusBodyMeaning
200JSONThe task's connections.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonNo token, or it expired: sign in again (unauthenticated).
403application/problem+jsonThe token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden).
404application/problem+jsonNot found, or not yours (not_found).
426application/problem+jsonK8 HQ has been updated. Reload this page.
429application/problem+jsonToo many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response.
503application/problem+jsonTemporary failure; try again (unavailable).

Set the connections a task needs

PUT/boards/{board}/items/{item}/connections

Sets the provider connections (pcn_) the task's work needs, replacing the list ([] for none; at most 10). While one isn't available (turned off, its credential revoked or expired, deleted, not connected yet) the task can't be picked up, the ready list says why, and a session holding its claim keeps it and pauses. Naming a connection authorizes nobody to use it, and leaves a Ready for agent authorization current. Anyone who may edit the task may set them, naming only connections they can see (a token also needs connections:read); removing one needs no access to it. Metered as a board change.

For API tokens with boards:write and the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
item (path) requiredstringItem ID (itm_…).
Idempotency-Key (header)stringUp to 255 characters; a retry with the same key gets the first response.

Request body (JSON)

FieldTypeDescription
connections requiredstring[]The connections (pcn_).

Response body (JSON)

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.

Responses

StatusBodyMeaning
200BoardItemThe task.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonNo token, or it expired: sign in again (unauthenticated).
402application/problem+jsonThe organization is read-only (read_only, design note 0024): it has been out of credit for 60 days, so nothing can be changed until an owner adds credit.
403application/problem+jsonThe token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden).
404application/problem+jsonNot found, or not yours (not_found).
409application/problem+jsonA request with the same Idempotency-Key is still running (in_progress), the item is in Trash or isn't a task (conflict), or connections aren't available here.
426application/problem+jsonK8 HQ has been updated. Reload this page.
429application/problem+jsonToo many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response.
503application/problem+jsonTemporary failure; try again (unavailable).

Read a task's escalation target

GET/boards/{board}/items/{item}/escalation-target

Who an agent's question about the task goes to: its owner while they're on the board, else the board's escalation contact while they're on it, else nobody, with the reason. For anyone on the board, signed in or with boards:read.

For API tokens with boards:read and the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
item (path) requiredstringItem ID (itm_…).

Response body (JSON)

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.

Responses

StatusBodyMeaning
200BoardEscalationTargetThe escalation target.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonNo token, or it expired: sign in again (unauthenticated).
403application/problem+jsonThe token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden).
404application/problem+jsonNot found, or not yours (not_found).
426application/problem+jsonK8 HQ has been updated. Reload this page.
429application/problem+jsonToo many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response.
503application/problem+jsonTemporary failure; try again (unavailable).

Set a task's owner

PUT/boards/{board}/items/{item}/owner

Sets (or, with "", clears) the member accountable for the task: a member of the board. For its current owner (handing it on) or a member holding boards.ready, signed in; never a token. A task's Ready for agent authorization stops being current when its owner changes. Metered as a board change.

For the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
item (path) requiredstringItem ID (itm_…).
Idempotency-Key (header)stringUp to 255 characters; a retry with the same key gets the first response.

Request body (JSON)

FieldTypeDescription
owner requiredstringThe new owner (mem_), or "" for none.

Response body (JSON)

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.

Responses

StatusBodyMeaning
200BoardItemThe task.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonNo token, or it expired: sign in again (unauthenticated).
402application/problem+jsonThe organization is read-only (read_only, design note 0024): it has been out of credit for 60 days, so nothing can be changed until an owner adds credit.
403application/problem+jsonThe token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden).
404application/problem+jsonNot found, or not yours (not_found).
409application/problem+jsonA request with the same Idempotency-Key is still running (in_progress), or the item is in Trash (conflict).
426application/problem+jsonK8 HQ has been updated. Reload this page.
429application/problem+jsonToo many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response.
503application/problem+jsonTemporary failure; try again (unavailable).

Pick up a task Ready for agent

POST/boards/{board}/items/{item}/pickup

Claims a task that's Ready for agent for this session, as claiming does (of simultaneous pickups exactly one holds it), after checking that whoever authorized it still may: their board access, permission or delegation, and their token for an agent's authorization. A task another session holds is never taken over. A task in a todo status moves to the board's first active status in the same change. The same session again (the same token or sign-in and secret) gets its claim as it is. Metered as a board change. Releasing a claim made this way (by its session, or forced) while the task is still in the status pickup moved it to sends it back to the To do status it came from, in the release, unless the claim recorded a checkpoint (one cleared by a check-in with checkpoint "" doesn't count): then it stays In progress, previous.work and the ready list's resume name the checkpoint, and the next pickup without a checkpoint starts from it if it's a plain <branch>@<commit>. Only moves between open statuses happen: if a config change made the status it came from done or waiting, the task stays where it is. Checkpoints are agent-reported and unverified. A claim needing attention keeps its task's status until someone releases it or takes it over. A task naming provider connections (connections) is picked up only by a session allowed to use each (an explicit authorization naming its member signed in, or its token with connections:use), and only while each is available.

For API tokens with boards:write and the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
item (path) requiredstringItem ID (itm_…).
Idempotency-Key (header)stringUp to 255 characters; a retry with the same key gets the first response.

Request body (JSON)

FieldTypeDescription
secret requiredstringThe claim secret: at least 32 random bytes the client made and keeps, base64url without padding. It identifies this session together with the request's token or sign-in; only its SHA-256 is stored, and no response carries it. Send the same secret on retries.
checkpointstringA branch, worktree or commit reference (letters, digits and . _ / @ + : -), never free text.

Response body (JSON)

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.

Responses

StatusBodyMeaning
200BoardClaimThe claim, held by this session.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonNo token, or it expired: sign in again (unauthenticated).
402application/problem+jsonThe organization is read-only (read_only, design note 0024): it has been out of credit for 60 days, so nothing can be changed until an owner adds credit.
403application/problem+jsonNot allowed (forbidden, scope_missing), or this session isn't authorized to use a provider connection the task needs (connection_not_authorized: connections lists their IDs).
404application/problem+jsonNot found, or not yours (not_found).
409application/problem+jsonA request with the same Idempotency-Key is still running (in_progress), another session holds the claim (claimed: pickup never takes one over), the task isn't Ready for agent now (not_ready: not authorized, revoked, changed since, or whoever authorized it can't any more), it or its parent is on hold (on_hold), its work is delivered (delivered: it's in an active status after the board's first, such as Waiting for review or Ready to deploy), it has no owner or its owner left the board (owner_required), a task blocking it isn't done (blocked: blockers lists them), a provider connection it needs isn't available (connection_unavailable: connections lists which and how each comes back), or it's done or in Trash (conflict).
426application/problem+jsonK8 HQ has been updated. Reload this page.
429application/problem+jsonToo many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response.
503application/problem+jsonTemporary failure; try again (unavailable).

Mark a task Ready for agent

POST/boards/{board}/items/{item}/ready

Authorizes an agent to pick the task up and implement it, as of the content revision head you read. For the task's owner or a member holding boards.ready on the board (Owner and Admin by default), signed in, or one of the board's readiness delegates (a member signed in, or a token named as a delegate). Editing access alone (board access, boards:write) never authorizes work. The same authorizer again is a no-op; anyone else eligible replaces it with a new authorization. The task must have an owner who is on the board (owner_required otherwise). On a board that has never had an escalation contact, the first authorization by a holder of boards.ready (basis permission) makes them its contact; one by the task's owner or a delegate doesn't. Not for tickets, items in Trash, done items or delivered ones (delivered: in an active status after the board's first, such as Waiting for review). Metered as a board change.

For API tokens with boards:write and the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
item (path) requiredstringItem ID (itm_…).
Idempotency-Key (header)stringUp to 255 characters; a retry with the same key gets the first response.

Request body (JSON)

FieldTypeDescription
head requiredintegerThe task's content revision (head) as you read it.

Response body (JSON)

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.

Responses

StatusBodyMeaning
200BoardItemThe task, ready.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonNo token, or it expired: sign in again (unauthenticated).
402application/problem+jsonThe organization is read-only (read_only, design note 0024): it has been out of credit for 60 days, so nothing can be changed until an owner adds credit.
403application/problem+jsonThe token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden).
404application/problem+jsonNot found, or not yours (not_found).
409application/problem+jsonA request with the same Idempotency-Key is still running (in_progress), the item is in Trash or done (conflict), or it has no owner on the board (owner_required: set its owner first).
412application/problem+jsonIf-Match named an older version (version_mismatch); item, when present, is the item as it is now.
426application/problem+jsonK8 HQ has been updated. Reload this page.
429application/problem+jsonToo many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response.
503application/problem+jsonTemporary failure; try again (unavailable).

Revoke Ready for agent

DELETE/boards/{board}/items/{item}/ready

Takes the task's Ready for agent authorization away, current or not, for anyone who could authorize it. A claim already held stays held. A task that isn't ready answers as it is. Metered as a board change.

For API tokens with boards:write and the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
item (path) requiredstringItem ID (itm_…).
Idempotency-Key (header)stringUp to 255 characters; a retry with the same key gets the first response.

Response body (JSON)

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.

Responses

StatusBodyMeaning
200BoardItemThe task, not ready.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonNo token, or it expired: sign in again (unauthenticated).
402application/problem+jsonThe organization is read-only (read_only, design note 0024): it has been out of credit for 60 days, so nothing can be changed until an owner adds credit.
403application/problem+jsonThe token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden).
404application/problem+jsonNot found, or not yours (not_found).
409application/problem+jsonA request with the same Idempotency-Key is still running (in_progress).
426application/problem+jsonK8 HQ has been updated. Reload this page.
429application/problem+jsonToo many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response.
503application/problem+jsonTemporary failure; try again (unavailable).

List tasks Ready for agent

GET/boards/{board}/ready

The board's tasks marked Ready for agent (current or not), 500 records a page, urgent first then by number within the page, each with its claim and blocked when it can't be picked up now. Nothing is scheduled: ready tasks wait until a session picks one up. Counts toward boards.listed.

For API tokens with boards:read and the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
cursor (query)stringThe nextCursor of the previous page.

Response body (JSON)

FieldTypeDescription
items requiredBoardReadyEntry[]
cursorstring

Responses

StatusBodyMeaning
200JSONReady tasks.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonNo token, or it expired: sign in again (unauthenticated).
403application/problem+jsonThe token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden).
404application/problem+jsonNot found, or not yours (not_found).
426application/problem+jsonK8 HQ has been updated. Reload this page.
429application/problem+jsonToo many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response.
503application/problem+jsonTemporary failure; try again (unavailable).

Read a board's readiness delegates

GET/boards/{board}/ready-delegates

The members and tokens that may mark the board's tasks Ready for agent besides their owners and holders of boards.ready.

For API tokens with boards:read and the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).

Response body (JSON)

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

Responses

StatusBodyMeaning
200BoardReadyDelegatesThe delegates.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonNo token, or it expired: sign in again (unauthenticated).
403application/problem+jsonThe token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden).
404application/problem+jsonNot found, or not yours (not_found).
426application/problem+jsonK8 HQ has been updated. Reload this page.
429application/problem+jsonToo many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response.
503application/problem+jsonTemporary failure; try again (unavailable).

Choose a board's readiness delegates

PUT/boards/{board}/ready-delegates

Replaces the delegates, if they're still at version. For a member holding boards.ready on the board, signed in with a passkey used in the last five minutes (otherwise 401 step_up_required: confirm with the passkey and send it again); never a token. This API is the only way to manage delegates for now. Members must be on the board; a token must be live, in this organization, belong to someone on the board and have boards:write on it. Naming a member doesn't name their tokens: name an agent's token to let it authorize. Removing a delegate ends their authorizations' effect at pickup. On a board that has never had an escalation contact, the first change makes the caller its contact. Metered as a board change.

For the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
Idempotency-Key (header)stringUp to 255 characters; a retry with the same key gets the first response.

Request body (JSON)

FieldTypeDescription
members requiredstring[]
tokens requiredstring[]
version requiredinteger

Response body (JSON)

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

Responses

StatusBodyMeaning
200BoardReadyDelegatesThe delegates.
400application/problem+jsonThe request is malformed (invalid).
401application/problem+jsonNot signed in, or no passkey in the last five minutes (step_up_required).
402application/problem+jsonThe organization is read-only (read_only, design note 0024): it has been out of credit for 60 days, so nothing can be changed until an owner adds credit.
403application/problem+jsonThe token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden).
404application/problem+jsonNot found, or not yours (not_found).
409application/problem+jsonA request with the same Idempotency-Key is still running (in_progress).
412application/problem+jsonThe delegates changed since that version (version_mismatch): read them again.
426application/problem+jsonK8 HQ has been updated. Reload this page.
429application/problem+jsonToo many requests (rate_limited). The token is paused until midnight UTC if it goes over its daily request or download limit, or reaches its daily recipient limit. A message with more recipients than the token has left today is refused. If the token has some recipients left, you can send to fewer. Too many attempts with a wrong token also return this response.
503application/problem+jsonTemporary failure; try again (unavailable).