Board readiness — K8 HQ Content API
Board readiness operations for K8 HQ Content API. Requests, permissions and responses.
Version 1OpenAPI description (JSON)
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 URL | For |
https://api.k8hq.com/v1 | API tokens and the K8 HQ web app |
Endpoints
Board readiness
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
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
item (path) required | string | Item ID (itm_…). |
Response body (JSON)
| Field | Type | Description |
connections required | object[] | |
item required | string | |
Responses
| Status | Body | Meaning |
| 200 | JSON | The task's connections. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too 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. |
| 503 | application/problem+json | Temporary 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
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
item (path) required | string | Item ID (itm_…). |
Idempotency-Key (header) | string | Up to 255 characters; a retry with the same key gets the first response. |
Request body (JSON)
| Field | Type | Description |
connections required | string[] | The connections (pcn_). |
Response body (JSON)
| Field | Type | Description |
assignees required | string[] | |
bytes required | integer | |
comments required | integer | |
createdAt required | string | |
createdBy required | string | |
head required | integer | Its current version's number. |
headEpoch required | integer | |
headWdek required | string | |
id required | string | |
kind required | task | ticket | |
labels required | string[] | |
links required | integer | |
number required | integer | |
order required | string | Its fractional index in its column. |
priority required | low | normal | high | urgent | |
status required | string | |
titleCt required | string | The head version's sealed title part (seal ID <item>|v<head>). |
updatedAt required | string | |
updatedBy required | string | |
version required | integer | The record's version: If-Match for its fields. |
assessments | AssessmentSummary | Its 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. |
children | integer | All direct child identities, including Trash. |
connections | string[] | 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. |
createdAttribution | Attribution | What authorized its creation. Absent on items created before it was kept. |
doneAt | string | When 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. |
due | string | |
firstReplyAt | string | When the ticket's first reply went out. |
firstReplyBy | string | The member (mem_) whose reply from the board was the ticket's first; absent for a reply from a mail app. |
formRef | object | On 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. |
inputNeeded | object | "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. |
lastInboundAt | string | A ticket: when the requester or a verified participant last wrote. |
lastMessage | string | A ticket: its newest message (msg_) in the linked inbox. |
lastOutboundAt | string | A ticket: when a reply last went out. |
lastOutboundBy | string | A ticket: the member whose reply from the board went out last (none for a reply from a mail app). |
merged | string[] | Tickets merged into this one (itm_): its timeline shows their messages and notes. |
mergedInto | string | A ticket merged into another (itm_): its new mail lands there. |
messages | integer | A ticket: how many messages it has. |
missed | object | When 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. |
openQuestions | integer | Its questions still waiting for an answer. |
owner | string | A task's owner (mem_): the member accountable for it, set explicitly (never its creator or assignees by default). Missing: none. |
parent | string | Same-board parent ID; absent is top level. Tasks only; at most 3 levels: item, subitem, sub-subitem. |
participants | string[] | A ticket: other addresses on it. An address also listed in unverified is still unverified, including after a merge. |
purging | string | Permanent deletion is in progress; hierarchy actions are unavailable. |
questions | integer | Questions asked on it, withdrawn ones included. |
rating | object | Tickets: the customer's latest satisfaction answer (the latest solve rated). Its comment stays sealed. |
ready | BoardReadiness | |
replying | object | A ticket: who has the reply box open (member to since); entries older than 10 minutes don't count. |
requester | string | A ticket: the address that opened it (lower case). |
resolve | BoardTarget | |
respond | BoardTarget | |
sending | object | A ticket: a reply from the board is going out (its claim, until it's in or 2 minutes pass). |
solves | integer | How many times the ticket moved into a done status (Solved). |
source | person | import | token | email | form | How 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. |
tags | string[] | The organization tags on it (tag_ IDs, sorted); absent when it has none. |
title | string | Tokens only: the head version's title, opened by K8 HQ's servers (metered boards.decrypted). |
trashGroup | string | The family Trash operation this item belongs to, if any. |
trashedAt | string | |
unreadable | boolean | Tokens only: the title's seal didn't open (damaged, or bound to another item). |
unverified | string[] | 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. |
unverifiedReasons | object | A 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. |
updatedAttribution | Attribution | What authorized its latest change. Absent on items last changed before it was kept. |
Responses
| Status | Body | Meaning |
| 200 | BoardItem | The task. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 402 | application/problem+json | The 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. |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 409 | application/problem+json | A 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. |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too 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. |
| 503 | application/problem+json | Temporary 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
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
item (path) required | string | Item ID (itm_…). |
Response body (JSON)
| Field | Type | Description |
contact required | BoardEscalationContact | |
item required | string | The task (itm_). |
ownerState required | member | unset | departed | member: on the board; unset: no owner; departed: no longer on the board. |
schemaVersion required | integer | 1. |
owner | string | The task's owner (mem_). Missing: none. |
reason | no_contact | contact_departed | When 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). |
target | string | Who to ask (mem_). Missing: nobody. |
via | owner | contact | Why them: the task's owner, or the board's escalation contact. |
Responses
| Status | Body | Meaning |
| 200 | BoardEscalationTarget | The escalation target. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too 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. |
| 503 | application/problem+json | Temporary 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
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
item (path) required | string | Item ID (itm_…). |
Idempotency-Key (header) | string | Up to 255 characters; a retry with the same key gets the first response. |
Request body (JSON)
| Field | Type | Description |
owner required | string | The new owner (mem_), or "" for none. |
Response body (JSON)
| Field | Type | Description |
assignees required | string[] | |
bytes required | integer | |
comments required | integer | |
createdAt required | string | |
createdBy required | string | |
head required | integer | Its current version's number. |
headEpoch required | integer | |
headWdek required | string | |
id required | string | |
kind required | task | ticket | |
labels required | string[] | |
links required | integer | |
number required | integer | |
order required | string | Its fractional index in its column. |
priority required | low | normal | high | urgent | |
status required | string | |
titleCt required | string | The head version's sealed title part (seal ID <item>|v<head>). |
updatedAt required | string | |
updatedBy required | string | |
version required | integer | The record's version: If-Match for its fields. |
assessments | AssessmentSummary | Its 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. |
children | integer | All direct child identities, including Trash. |
connections | string[] | 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. |
createdAttribution | Attribution | What authorized its creation. Absent on items created before it was kept. |
doneAt | string | When 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. |
due | string | |
firstReplyAt | string | When the ticket's first reply went out. |
firstReplyBy | string | The member (mem_) whose reply from the board was the ticket's first; absent for a reply from a mail app. |
formRef | object | On 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. |
inputNeeded | object | "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. |
lastInboundAt | string | A ticket: when the requester or a verified participant last wrote. |
lastMessage | string | A ticket: its newest message (msg_) in the linked inbox. |
lastOutboundAt | string | A ticket: when a reply last went out. |
lastOutboundBy | string | A ticket: the member whose reply from the board went out last (none for a reply from a mail app). |
merged | string[] | Tickets merged into this one (itm_): its timeline shows their messages and notes. |
mergedInto | string | A ticket merged into another (itm_): its new mail lands there. |
messages | integer | A ticket: how many messages it has. |
missed | object | When 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. |
openQuestions | integer | Its questions still waiting for an answer. |
owner | string | A task's owner (mem_): the member accountable for it, set explicitly (never its creator or assignees by default). Missing: none. |
parent | string | Same-board parent ID; absent is top level. Tasks only; at most 3 levels: item, subitem, sub-subitem. |
participants | string[] | A ticket: other addresses on it. An address also listed in unverified is still unverified, including after a merge. |
purging | string | Permanent deletion is in progress; hierarchy actions are unavailable. |
questions | integer | Questions asked on it, withdrawn ones included. |
rating | object | Tickets: the customer's latest satisfaction answer (the latest solve rated). Its comment stays sealed. |
ready | BoardReadiness | |
replying | object | A ticket: who has the reply box open (member to since); entries older than 10 minutes don't count. |
requester | string | A ticket: the address that opened it (lower case). |
resolve | BoardTarget | |
respond | BoardTarget | |
sending | object | A ticket: a reply from the board is going out (its claim, until it's in or 2 minutes pass). |
solves | integer | How many times the ticket moved into a done status (Solved). |
source | person | import | token | email | form | How 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. |
tags | string[] | The organization tags on it (tag_ IDs, sorted); absent when it has none. |
title | string | Tokens only: the head version's title, opened by K8 HQ's servers (metered boards.decrypted). |
trashGroup | string | The family Trash operation this item belongs to, if any. |
trashedAt | string | |
unreadable | boolean | Tokens only: the title's seal didn't open (damaged, or bound to another item). |
unverified | string[] | 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. |
unverifiedReasons | object | A 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. |
updatedAttribution | Attribution | What authorized its latest change. Absent on items last changed before it was kept. |
Responses
| Status | Body | Meaning |
| 200 | BoardItem | The task. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 402 | application/problem+json | The 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. |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 409 | application/problem+json | A request with the same Idempotency-Key is still running (in_progress), or the item is in Trash (conflict). |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too 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. |
| 503 | application/problem+json | Temporary 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
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
item (path) required | string | Item ID (itm_…). |
Idempotency-Key (header) | string | Up to 255 characters; a retry with the same key gets the first response. |
Request body (JSON)
| Field | Type | Description |
secret required | string | The 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. |
checkpoint | string | A branch, worktree or commit reference (letters, digits and . _ / @ + : -), never free text. |
Response body (JSON)
| Field | Type | Description |
attention required | boolean | Potentially 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 required | string | |
state required | none | active | waiting | released | none: never claimed; active: held and working; waiting: held, waiting for someone's input until waitingUntil; released: not held. |
version required | integer | |
checkpoint | string | |
claim | string | The claim's ID (clm_) as last read: it changes whenever the holder changes, so a request naming an old one fails with claim_lost. |
claimedAt | string | |
holder | BoardClaimHolder | |
previous | BoardClaimEnd | |
request | BoardTakeoverRequest | |
seenAt | string | The holder's last check-in. |
waitingSince | string | |
waitingUntil | string | When a waiting claim's wait is expected to end. Past it without a renewing check-in, the claim needs attention. |
Responses
| Status | Body | Meaning |
| 200 | BoardClaim | The claim, held by this session. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 402 | application/problem+json | The 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. |
| 403 | application/problem+json | Not 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). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 409 | application/problem+json | A 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). |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too 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. |
| 503 | application/problem+json | Temporary 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
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
item (path) required | string | Item ID (itm_…). |
Idempotency-Key (header) | string | Up to 255 characters; a retry with the same key gets the first response. |
Request body (JSON)
| Field | Type | Description |
head required | integer | The task's content revision (head) as you read it. |
Response body (JSON)
| Field | Type | Description |
assignees required | string[] | |
bytes required | integer | |
comments required | integer | |
createdAt required | string | |
createdBy required | string | |
head required | integer | Its current version's number. |
headEpoch required | integer | |
headWdek required | string | |
id required | string | |
kind required | task | ticket | |
labels required | string[] | |
links required | integer | |
number required | integer | |
order required | string | Its fractional index in its column. |
priority required | low | normal | high | urgent | |
status required | string | |
titleCt required | string | The head version's sealed title part (seal ID <item>|v<head>). |
updatedAt required | string | |
updatedBy required | string | |
version required | integer | The record's version: If-Match for its fields. |
assessments | AssessmentSummary | Its 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. |
children | integer | All direct child identities, including Trash. |
connections | string[] | 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. |
createdAttribution | Attribution | What authorized its creation. Absent on items created before it was kept. |
doneAt | string | When 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. |
due | string | |
firstReplyAt | string | When the ticket's first reply went out. |
firstReplyBy | string | The member (mem_) whose reply from the board was the ticket's first; absent for a reply from a mail app. |
formRef | object | On 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. |
inputNeeded | object | "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. |
lastInboundAt | string | A ticket: when the requester or a verified participant last wrote. |
lastMessage | string | A ticket: its newest message (msg_) in the linked inbox. |
lastOutboundAt | string | A ticket: when a reply last went out. |
lastOutboundBy | string | A ticket: the member whose reply from the board went out last (none for a reply from a mail app). |
merged | string[] | Tickets merged into this one (itm_): its timeline shows their messages and notes. |
mergedInto | string | A ticket merged into another (itm_): its new mail lands there. |
messages | integer | A ticket: how many messages it has. |
missed | object | When 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. |
openQuestions | integer | Its questions still waiting for an answer. |
owner | string | A task's owner (mem_): the member accountable for it, set explicitly (never its creator or assignees by default). Missing: none. |
parent | string | Same-board parent ID; absent is top level. Tasks only; at most 3 levels: item, subitem, sub-subitem. |
participants | string[] | A ticket: other addresses on it. An address also listed in unverified is still unverified, including after a merge. |
purging | string | Permanent deletion is in progress; hierarchy actions are unavailable. |
questions | integer | Questions asked on it, withdrawn ones included. |
rating | object | Tickets: the customer's latest satisfaction answer (the latest solve rated). Its comment stays sealed. |
ready | BoardReadiness | |
replying | object | A ticket: who has the reply box open (member to since); entries older than 10 minutes don't count. |
requester | string | A ticket: the address that opened it (lower case). |
resolve | BoardTarget | |
respond | BoardTarget | |
sending | object | A ticket: a reply from the board is going out (its claim, until it's in or 2 minutes pass). |
solves | integer | How many times the ticket moved into a done status (Solved). |
source | person | import | token | email | form | How 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. |
tags | string[] | The organization tags on it (tag_ IDs, sorted); absent when it has none. |
title | string | Tokens only: the head version's title, opened by K8 HQ's servers (metered boards.decrypted). |
trashGroup | string | The family Trash operation this item belongs to, if any. |
trashedAt | string | |
unreadable | boolean | Tokens only: the title's seal didn't open (damaged, or bound to another item). |
unverified | string[] | 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. |
unverifiedReasons | object | A 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. |
updatedAttribution | Attribution | What authorized its latest change. Absent on items last changed before it was kept. |
Responses
| Status | Body | Meaning |
| 200 | BoardItem | The task, ready. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 402 | application/problem+json | The 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. |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 409 | application/problem+json | A 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). |
| 412 | application/problem+json | If-Match named an older version (version_mismatch); item, when present, is the item as it is now. |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too 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. |
| 503 | application/problem+json | Temporary 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
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
item (path) required | string | Item ID (itm_…). |
Idempotency-Key (header) | string | Up to 255 characters; a retry with the same key gets the first response. |
Response body (JSON)
| Field | Type | Description |
assignees required | string[] | |
bytes required | integer | |
comments required | integer | |
createdAt required | string | |
createdBy required | string | |
head required | integer | Its current version's number. |
headEpoch required | integer | |
headWdek required | string | |
id required | string | |
kind required | task | ticket | |
labels required | string[] | |
links required | integer | |
number required | integer | |
order required | string | Its fractional index in its column. |
priority required | low | normal | high | urgent | |
status required | string | |
titleCt required | string | The head version's sealed title part (seal ID <item>|v<head>). |
updatedAt required | string | |
updatedBy required | string | |
version required | integer | The record's version: If-Match for its fields. |
assessments | AssessmentSummary | Its 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. |
children | integer | All direct child identities, including Trash. |
connections | string[] | 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. |
createdAttribution | Attribution | What authorized its creation. Absent on items created before it was kept. |
doneAt | string | When 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. |
due | string | |
firstReplyAt | string | When the ticket's first reply went out. |
firstReplyBy | string | The member (mem_) whose reply from the board was the ticket's first; absent for a reply from a mail app. |
formRef | object | On 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. |
inputNeeded | object | "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. |
lastInboundAt | string | A ticket: when the requester or a verified participant last wrote. |
lastMessage | string | A ticket: its newest message (msg_) in the linked inbox. |
lastOutboundAt | string | A ticket: when a reply last went out. |
lastOutboundBy | string | A ticket: the member whose reply from the board went out last (none for a reply from a mail app). |
merged | string[] | Tickets merged into this one (itm_): its timeline shows their messages and notes. |
mergedInto | string | A ticket merged into another (itm_): its new mail lands there. |
messages | integer | A ticket: how many messages it has. |
missed | object | When 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. |
openQuestions | integer | Its questions still waiting for an answer. |
owner | string | A task's owner (mem_): the member accountable for it, set explicitly (never its creator or assignees by default). Missing: none. |
parent | string | Same-board parent ID; absent is top level. Tasks only; at most 3 levels: item, subitem, sub-subitem. |
participants | string[] | A ticket: other addresses on it. An address also listed in unverified is still unverified, including after a merge. |
purging | string | Permanent deletion is in progress; hierarchy actions are unavailable. |
questions | integer | Questions asked on it, withdrawn ones included. |
rating | object | Tickets: the customer's latest satisfaction answer (the latest solve rated). Its comment stays sealed. |
ready | BoardReadiness | |
replying | object | A ticket: who has the reply box open (member to since); entries older than 10 minutes don't count. |
requester | string | A ticket: the address that opened it (lower case). |
resolve | BoardTarget | |
respond | BoardTarget | |
sending | object | A ticket: a reply from the board is going out (its claim, until it's in or 2 minutes pass). |
solves | integer | How many times the ticket moved into a done status (Solved). |
source | person | import | token | email | form | How 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. |
tags | string[] | The organization tags on it (tag_ IDs, sorted); absent when it has none. |
title | string | Tokens only: the head version's title, opened by K8 HQ's servers (metered boards.decrypted). |
trashGroup | string | The family Trash operation this item belongs to, if any. |
trashedAt | string | |
unreadable | boolean | Tokens only: the title's seal didn't open (damaged, or bound to another item). |
unverified | string[] | 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. |
unverifiedReasons | object | A 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. |
updatedAttribution | Attribution | What authorized its latest change. Absent on items last changed before it was kept. |
Responses
| Status | Body | Meaning |
| 200 | BoardItem | The task, not ready. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 402 | application/problem+json | The 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. |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 409 | application/problem+json | A request with the same Idempotency-Key is still running (in_progress). |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too 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. |
| 503 | application/problem+json | Temporary 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
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
cursor (query) | string | The nextCursor of the previous page. |
Response body (JSON)
| Field | Type | Description |
items required | BoardReadyEntry[] | |
cursor | string | |
Responses
| Status | Body | Meaning |
| 200 | JSON | Ready tasks. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too 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. |
| 503 | application/problem+json | Temporary 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
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
Response body (JSON)
| Field | Type | Description |
members required | string[] | |
tokens required | string[] | |
version required | integer | Counts changes: send it back to change them. |
Responses
| Status | Body | Meaning |
| 200 | BoardReadyDelegates | The delegates. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | No token, or it expired: sign in again (unauthenticated). |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too 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. |
| 503 | application/problem+json | Temporary 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
| Name | Type | Description |
board (path) required | string | Board ID (brd_…). |
Idempotency-Key (header) | string | Up to 255 characters; a retry with the same key gets the first response. |
Request body (JSON)
| Field | Type | Description |
members required | string[] | |
tokens required | string[] | |
version required | integer | |
Response body (JSON)
| Field | Type | Description |
members required | string[] | |
tokens required | string[] | |
version required | integer | Counts changes: send it back to change them. |
Responses
| Status | Body | Meaning |
| 200 | BoardReadyDelegates | The delegates. |
| 400 | application/problem+json | The request is malformed (invalid). |
| 401 | application/problem+json | Not signed in, or no passkey in the last five minutes (step_up_required). |
| 402 | application/problem+json | The 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. |
| 403 | application/problem+json | The token lacks the scope (scope_missing), the container is zero-access (zero_access), or the caller may not use this operation (forbidden). |
| 404 | application/problem+json | Not found, or not yours (not_found). |
| 409 | application/problem+json | A request with the same Idempotency-Key is still running (in_progress). |
| 412 | application/problem+json | The delegates changed since that version (version_mismatch): read them again. |
| 426 | application/problem+json | K8 HQ has been updated. Reload this page. |
| 429 | application/problem+json | Too 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. |
| 503 | application/problem+json | Temporary failure; try again (unavailable). |