Skip to main content
API reference sections

Schema

IssueAuthorityRequest

POST /v1/artifacts/authorities. The run's own workspace, the attempt this token is for, the grant set as the person left it in the modal (D28), and the working scope whose .artifacts/<RunId>/ the tools accept paths from.

Type object

Shape

FieldTypeDescription
runrequiredRunId
workspacerequiredWorkspaceId
generationrequiredAttemptGeneration

Which attempt of a run is current - the fence §7.5 and §7.6 rely on.

A monotonic counter per run, starting at [AttemptGeneration::FIRST]. An event, an MCP call or a session lookup carrying an older generation may not touch status, control or authority; see [crate::AttemptGeneration::admits]. It is a counter rather than an id so "older" is a comparison, not a lookup.

grantsarray of WorkspaceId

Default []

run_workspacerequiredRunWorkspace

The run's working scope on this device. A path is content (standing requirement 7): it is stored so the gateway can resolve Register paths against it, and it is redacted from every Debug rendering.

Example
{
  "run": "00000000-0000-4000-8000-000000000000",
  "workspace": "00000000-0000-4000-8000-000000000000",
  "generation": 0,
  "grants": [],
  "run_workspace": "string"
}

The contract has no example values, so example bodies are generated from each schema: every field is shown with a placeholder of its type.

Used by

Generated from contract version 1. Last updated .

Privacy choices

Choose which optional tools Koru may use on this site. Your choice is saved in a cookie in this browser for 12 months. Privacy policy

Privacy choices

Keep you signed in, protect forms and remember your language and this choice.

Always on

PostHog and Google Analytics 4 measure page views and actions such as downloads, using cookies or local storage.

PostHog records how pages are used, with form inputs masked and private pages excluded. Needs Analytics.

Ahrefs Web Analytics measures visits and where they come from, and Google Ads measures whether our ads led to a visit or download.