K8 HQ

Board assessments — K8 HQ Content API

Board assessments 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.

Request, draft, submit and discuss assessments of a task's work.

Optional assessments of a task's or subitem's work: requests binding the exact revision, private drafts sealed to keys of their own, and submitted assessments with per-criterion scores and feedback. Scores never change an item's status, approve code or authorize a deploy.

Base URL

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

Endpoints

Board assessments

List an item's assessment requests

GET/boards/{board}/items/{item}/assessment-requests

Oldest first, each bound to its current revision.

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
requests requiredAssessmentRequest[]

Responses

StatusBodyMeaning
200JSONRequests.
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).

Request an assessment

POST/boards/{board}/items/{item}/assessment-requests

Anyone on the board. Fixes the rubric version (0: the latest now), which must apply to the artifact kind, and binds the exact revision: a task description's saved version (0: the head; its contributors are recorded from who saved versions 1 to it), code's repository and full commit (a branch alone is refused; base and candidate where the assessment covers them), another kind's revision reference. For code and other kinds, contributors are declared (members, or a label for an outside author) and kept as declared by you. Nominated reviewers must be on the board; a nomination grants no access. Sending it again returns it. Metered boards.changes. Scores never change the item's status, approve code or authorize a deploy.

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
attemptinteger
contributorsContributor[]
idstring
kindstring
reviewersstring[]
rubricRubricRef
subjectSubject

Response body (JSON)

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

Responses

StatusBodyMeaning
201AssessmentRequestThe request.
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 a request with this ID exists or the item is in Trash (conflict).
422application/problem+jsonThe device's clock is wrong (clock_wrong), or the item has 50 requests (rejected).
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).

Change an assessment request

PATCH/boards/{board}/items/{item}/assessment-requests/{arq}

Its requester, or someone with boards.review for the board. If-Match is the record's version. A new subject (it must differ from the bound one: the same work is never a new revision, so contributors can't be relabeled on it) is the request's next revision (with contributors and attempt, which otherwise stay): the earlier revision, with its contributors, goes to its history and its assessments stay with it. reviewers replaces the nominations; state closes or reopens it. Metered boards.changes.

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

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
item (path) requiredstringItem ID (itm_…).
arq (path) requiredstringThe assessment request (arq_).
Idempotency-Key (header)stringUp to 255 characters; a retry with the same key gets the first response.
If-Match (header)stringThe contact's opaque etag from a response: change it only if it is still that version. Send it back unchanged. The old quoted <id>-<version> form is accepted and counted only for books that have never been restored; after a restore it returns 412 version_mismatch.

Request body (JSON)

FieldTypeDescription
attemptinteger
contributorsContributor[]
reviewersstring[]
statestring
subjectSubject

Response body (JSON)

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

Responses

StatusBodyMeaning
200AssessmentRequestThe request.
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 request is closed (conflict).
412application/problem+jsonIf-Match named an older version, or the request moved to another revision (version_mismatch): assessment or request is as it is now.
422application/problem+jsonThe request has 100 revisions (rejected).
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).

Say you contributed

POST/boards/{board}/items/{item}/assessment-requests/{arq}/contributors

Adds you, as you're signed in or as your token, to the contributors of the request's current revision (named in the body), source attested. It only adds: nobody removes a contributor, and a later revision of a code or other-kind request keeps its contributors unless new ones are declared with the new work. Since class is worked out when read, this turns your existing and future assessments of that revision self; it can never make one independent. Anyone on the board may attest for themselves only. Again is a no-op. Metered boards.changes.

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

Parameters

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

Request body (JSON)

FieldTypeDescription
revision requiredinteger
reportedReported

Response body (JSON)

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

Responses

StatusBodyMeaning
200AssessmentRequestThe request.
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).
412application/problem+jsonIf-Match named an older version, or the request moved to another revision (version_mismatch): assessment or request is as it is now.
422application/problem+jsonThe revision has 20 contributors (rejected).
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 request's earlier revisions

GET/boards/{board}/items/{item}/assessment-requests/{arq}/history

Oldest first: each bound subject, attempt and contributors, and who replaced it.

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

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
item (path) requiredstringItem ID (itm_…).
arq (path) requiredstringThe assessment request (arq_).

Response body (JSON)

FieldTypeDescription
revisions requiredAssessmentRequestRevision[]

Responses

StatusBodyMeaning
200JSONRevisions.
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).

List an item's assessments

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

Oldest first: every submitted one, and the drafts you evaluate or collaborate on (a token, only its own drafts). Each with its class worked out now from its revision's contributors. Tokens (boards:read, task boards in compatible mode) get sealed text opened by K8 HQ's servers with the board's key, metered boards.decrypted and audited like other board reads.

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
assessments requiredAssessment[]

Responses

StatusBodyMeaning
200JSONAssessments.
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).

Begin an assessment

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

Of a request's current revision (a correction: the revision it corrects), as self (a contributor of it), reviewer (a nominated reviewer, or someone with boards.review) or external (feedback from an outside evaluator, by the requester or a reviewer, with reported naming the evaluator; always unverified). For an external assessment the authenticated submitter is recorded as evaluator (they answer for it: they submit, correct and discuss it) and reported is kept apart, never trusted. Collaborators are for people's drafts; a token's draft has none (refused). Contributors declared by the evaluator's own member, through any of its tokens or signed in, make it unverified. A draft gets a key of its own: people get it with the draft (key) and seal its content to it. With submit, the content sealed to the board is submitted at once. previous and relation link a correction (its evaluator, naming the criteria it corrects) or a reassessment (of a later revision). Sending it again returns it. Metered boards.changes. Tokens (boards:write, task boards in compatible mode) send content (an assessment body) in plaintext instead, and K8 HQ's servers check it against the rubric and seal it: a token's draft to the draft's own key, its submission to the board's. Scores never change the item's status, approve code or authorize a deploy.

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
collaboratorsstring[]
contentAssessmentBodyTokens only: the content in plaintext.
correctsstring[]
epochinteger
idstring
kindstring
objectstring
previousstring
relationstring
reportedReported
requeststring
revisioninteger
submitboolean
wdekstring

Response body (JSON)

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

Responses

StatusBodyMeaning
201AssessmentThe assessment (a draft with its key, for people).
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 an assessment with this ID exists, the request is closed, or the one it follows was corrected already (conflict).
412application/problem+jsonIf-Match named an older version, or the request moved to another revision (version_mismatch): assessment or request is as it is now.
413application/problem+jsonThe sealed assessment is too large (too_large).
422application/problem+jsonThe device's clock is wrong (clock_wrong), or the item has 500 assessments (rejected).
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 an assessment

GET/boards/{board}/items/{item}/assessments/{asm}

A submitted one, or a draft you may read (any other draft is not found). Tokens (boards:read, task boards in compatible mode) get sealed text opened by K8 HQ's servers with the board's key, metered boards.decrypted and audited like other board reads.

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

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
item (path) requiredstringItem ID (itm_…).
asm (path) requiredstringThe assessment (asm_).

Response body (JSON)

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

Responses

StatusBodyMeaning
200AssessmentThe assessment.
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).

Discard a draft

DELETE/boards/{board}/items/{item}/assessments/{asm}

Its evaluator only; If-Match is its version. Deletes it and its key. A submitted assessment is kept: correct it with a new one. Metered boards.changes.

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

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
item (path) requiredstringItem ID (itm_…).
asm (path) requiredstringThe assessment (asm_).
Idempotency-Key (header)stringUp to 255 characters; a retry with the same key gets the first response.
If-Match (header)stringThe contact's opaque etag from a response: change it only if it is still that version. Send it back unchanged. The old quoted <id>-<version> form is accepted and counted only for books that have never been restored; after a restore it returns 412 version_mismatch.

Responses

StatusBodyMeaning
204Discarded.
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 it was submitted (conflict).
412application/problem+jsonIf-Match named an older version, or the request moved to another revision (version_mismatch): assessment or request is 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).

Save a draft

PUT/boards/{board}/items/{item}/assessments/{asm}/draft

Its evaluator or a collaborator (signed in); If-Match is its version. Content sealed to the draft's current key; revision rebinds it to the request's current revision (seal it again for that revision). Only its evaluator changes collaborators, reported, corrects or the revision; removing a collaborator moves the draft to a new key (K8 HQ's servers wrap the content's key to it and delete the old key's wrap). Metered boards.changes. Tokens (boards:write, task boards in compatible mode) send content (an assessment body) in plaintext instead, and K8 HQ's servers check it against the rubric and seal it: a token's draft to the draft's own key, its submission to the board's.

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

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
item (path) requiredstringItem ID (itm_…).
asm (path) requiredstringThe assessment (asm_).
Idempotency-Key (header)stringUp to 255 characters; a retry with the same key gets the first response.
If-Match (header)stringThe contact's opaque etag from a response: change it only if it is still that version. Send it back unchanged. The old quoted <id>-<version> form is accepted and counted only for books that have never been restored; after a restore it returns 412 version_mismatch.

Request body (JSON)

FieldTypeDescription
collaboratorsstring[]
contentAssessmentBodyTokens only.
correctsstring[]
epochinteger
objectstring
reportedReported
revisioninteger
wdekstring

Response body (JSON)

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

Responses

StatusBodyMeaning
200AssessmentThe draft.
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 it was submitted (conflict).
412application/problem+jsonIf-Match named an older version, or the request moved to another revision (version_mismatch): assessment or request is as it is now.
413application/problem+jsonThe sealed assessment is too large (too_large).
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).

Get a draft's key

GET/boards/{board}/items/{item}/assessments/{asm}/key

People only, and only those who may read the draft: its current key, its private key sealed to your user key. Tokens read their own drafts through K8 HQ's servers. A draft is never sealed to the board's key.

For the web app.

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
item (path) requiredstringItem ID (itm_…).
asm (path) requiredstringThe assessment (asm_).

Response body (JSON)

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

Responses

StatusBodyMeaning
200DraftKeyThe key.
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).
409application/problem+jsonYou have no encryption key yet, or the assessment was submitted (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).

Read an assessment's discussion

GET/boards/{board}/items/{item}/assessments/{asm}/notes

A submitted assessment's notes, oldest first. Notes are never edited or deleted. Tokens (boards:read, task boards in compatible mode) get sealed text opened by K8 HQ's servers with the board's key, metered boards.decrypted and audited like other board reads.

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

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
item (path) requiredstringItem ID (itm_…).
asm (path) requiredstringThe assessment (asm_).

Response body (JSON)

FieldTypeDescription
notes requiredAssessmentNote[]

Responses

StatusBodyMeaning
200JSONNotes.
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).

Discuss an assessment

POST/boards/{board}/items/{item}/assessments/{asm}/notes

On a submitted assessment: a question (anyone on the board), a dispute or confirm of a finding (the assessed revision's contributors), a reply to a question or dispute (its evaluator or a contributor), or a resolve of a dispute (upheld by its evaluator, withdrawn by the dispute's author). Nobody rewrites an assessment: the evaluator corrects one with a new linked assessment, which marks the criteria it corrects corrected and resolves their disputes. The note's content is sealed to the board (framed meta, body; seal ID <item>|<assessment>|<note>). Sending it again returns it. Metered boards.comments. Tokens send text (up to 8,000 characters) instead; K8 HQ's servers seal it.

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

Parameters

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

Request body (JSON)

FieldTypeDescription
criterionstring
epochinteger
idstring
kindstring
objectstring
outcomestring
questionstring
replyTostring
textstringTokens only.
wdekstring

Response body (JSON)

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

Responses

StatusBodyMeaning
201AssessmentNoteThe note.
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 a note with this ID exists, or the dispute was resolved already (conflict).
413application/problem+jsonThe sealed note is too large (too_large).
422application/problem+jsonThe device's clock is wrong (clock_wrong), or the assessment has 200 notes (rejected).
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).

Submit a draft

POST/boards/{board}/items/{item}/assessments/{asm}/submit

Its evaluator only; If-Match is its version. Names the request revision and rubric version assessed: both must still be the request's (a request that moved on answers 412 with it). People send the content sealed to the board's epoch key; tokens send only revision (required: the request revision they assess, so a request that moved on is refused rather than misbound), and K8 HQ's servers open the draft and seal it to the board. The draft's key is deleted, the assessment it follows is kept and marked superseded, and the item's card counts it. Submitting the same again returns it. Metered boards.changes. Scores never change the item's status, approve code or authorize a deploy.

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

Parameters

NameTypeDescription
board (path) requiredstringBoard ID (brd_…).
item (path) requiredstringItem ID (itm_…).
asm (path) requiredstringThe assessment (asm_).
Idempotency-Key (header)stringUp to 255 characters; a retry with the same key gets the first response.
If-Match (header)stringThe contact's opaque etag from a response: change it only if it is still that version. Send it back unchanged. The old quoted <id>-<version> form is accepted and counted only for books that have never been restored; after a restore it returns 412 version_mismatch.

Request body (JSON)

FieldTypeDescription
revision requiredinteger
epochinteger
objectstring
rubricRubricRef
wdekstring

Response body (JSON)

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

Responses

StatusBodyMeaning
200AssessmentThe submitted assessment.
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 it was submitted already with other content, the request is closed, or the one it follows was corrected already (conflict).
412application/problem+jsonIf-Match named an older version, or the request moved to another revision (version_mismatch): assessment or request is as it is now.
413application/problem+jsonThe sealed assessment is too large (too_large).
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).