---
title: "Workspace REST and MCP reference"
description: "Every action you can call on your Workspace over REST or MCP, generated from the action catalog."
url: "https://harnesty.com/en/docs/workspace-reference"
language: "en"
kind: "docs"
---

# Workspace REST and MCP reference

## `access.evaluate@v1`

Answers whether a subject in your Workspace may do an act at a node, for your own enforcement point, over the OpenID AuthZEN Authorization API. The answer names the Mandate that permits the act, or the reason for a deny. Every evaluation is recorded in your workspace audit log, and the answer names its entry.

- **REST:** `POST /api/v1/access/evaluate`
- **MCP tool:** `access_evaluate`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `action: object`, `context: object`, `resource: object`, `subject: object`
- **Output:** `accessRequestExpiresAt: string | null` (optional), `decision: boolean`, `evaluatedAt: string | null` (optional), `mandateId: string | null` (optional), `reason: string | null` (optional)

**Free:** An evaluation is never charged per call. It costs zero Credits on every tier.

## `access.evaluations@v1`

Answers several evaluations in one request, for your own enforcement point, over the OpenID AuthZEN Authorization API. Each evaluation is recorded in your workspace audit log as its own entry, and each answer names it. A batch can stop at the first deny or the first permit.

- **REST:** `POST /api/v1/access/evaluations`
- **MCP tool:** `access_evaluations`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `actionNames: array`, `customerKinds: array | null` (optional), `evaluationsSemantic: string | null` (optional), `resourceIds: array`, `resourceTypes: array`, `subjectIds: array`, `subjectTypes: array`, `unlisted: boolean | null` (optional), `workspaceEnvironments: array`
- **Output:** `evaluations: array`, `unlisted: boolean`

**Free:** A batch is never charged per call. It costs zero Credits on every tier.

## `access.metadata.get@v1`

Answers the AuthZEN metadata of your Workspace: the evaluation and access request endpoints, and the profiles it serves. It needs no credential.

- **REST:** `GET /api/v1/access/metadata/get`
- **MCP tool:** `access_metadata_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `accessEvaluationEndpoint: string`, `accessEvaluationsEndpoint: string`, `accessRequestEndpoint: string`, `capabilities: array`

**Free:** The metadata read is never charged. It costs zero Credits on every tier.

## `access.request.open@v1`

Turns a deny your enforcement point received into a Request for approval, over the AuthZEN Access Request and Approval Profile. Send the evaluation it denied, unchanged, with its evaluation id. Your Workspace owners decide it, and you read the outcome from the task's status.

- **REST:** `POST /api/v1/access/request/open`
- **MCP tool:** `access_request_open`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `action: object`, `context: object`, `denial: object`, `resource: object`, `subject: object`
- **Output:** `id: string`, `status: string`

**Free:** An access request is never charged. Approvals are free on every tier.

## `access.request.status@v1`

Reads the status of a Request your enforcement point raised, over the AuthZEN Access Request and Approval Profile. It answers the status and, once decided, the result, and nothing else of the Request.

- **REST:** `GET /api/v1/access/request/status`
- **MCP tool:** `access_request_status`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `request: string`
- **Output:** `approvalId: string | null` (optional), `approvedAt: string | null` (optional), `approvedUntil: string | null` (optional), `code: string | null` (optional), `id: string`, `mode: string | null` (optional), `status: string`

**Free:** A status read is never charged. It costs zero Credits on every tier.

## `agent.audience.list@v1`

Lists the services your Workspace registered for its agents that you can reach.

- **REST:** `GET /api/v1/agent/audience/list`
- **MCP tool:** `agent_audience_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Listing services costs you nothing, on every plan.

## `agent.audience.register@v1`

Registers an outside service for your Workspace, so each of your agents can ask for an identity assertion to use it. You give the service's resource address, and we read the rest from the service's own metadata. Nothing is saved if we cannot read it. The change goes to the Workspace audit log, with who made it and under what authority.

- **REST:** `POST /api/v1/agent/audience/register`
- **MCP tool:** `agent_audience_register`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `label: string`, `resource: string`
- **Output:** `alg: string`, `aud: string`, `audience: string`, `hasEventsEndpoint: boolean`, `issuer: string`, `label: string`, `resource: string`, `resourceName: string | null` (optional)

**Free:** Registering a service for your agents costs you nothing, on every plan.

## `agent.audience.remove@v1`

Removes a service your Workspace registered for its agents, so no agent can ask for a new identity assertion for it. The change goes to the Workspace audit log, with who made it and under what authority.

- **REST:** `POST /api/v1/agent/audience/remove`
- **MCP tool:** `agent_audience_remove`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `audienceId: string`
- **Output:** `alg: string`, `aud: string`, `audience: string`, `hasEventsEndpoint: boolean`, `issuer: string`, `label: string`, `resource: string`, `resourceName: string | null` (optional)

**Free:** Removing a service costs you nothing, on every plan.

## `agent.compose@v1`

Saves an Agent's draft: the Blocks it is made of, each pinned to one published version, in the order the Agent reads them. The order is part of the Agent's definition. Composing grants the Agent nothing: it reaches an action only where a Mandate permits it. The change is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/agent/compose`
- **MCP tool:** `agent_compose`
- **Stage:** Preview. Not open to every Workspace yet.
- **Effect:** Changes state
- **Input:** `agent: string`, `blocks: array | null` (optional)
- **Output:** `agent: string`, `digest: string`

**Free:** Composing an Agent is never metered. A compose costs zero Credits on every tier.

## `agent.create@v1`

Creates an Agent: a Principal in your Workspace with its own node in your Trust Graph. You become its owner through an ownership Mandate at exactly that node, issued in the same step. The Agent holds no other Mandate until one is granted to it. The create is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/agent/create`
- **MCP tool:** `agent_create`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `workspaceEnvironments: array | null` (optional)
- **Output:** `agent: string`, `node: string`, `ownership: string`, `workspaceEnvironments: array`

**Free:** Creating an Agent is never metered. A create costs zero Credits on every tier.

## `agent.provider.list@v1`

Lists the agent providers that apply to your Workspace: first the providers Harnesty trusts everywhere, then the ones you trusted.

- **REST:** `GET /api/v1/agent/provider/list`
- **MCP tool:** `agent_provider_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Listing agent providers costs you nothing, on every plan.

## `agent.provider.remove@v1`

Removes an agent provider from your Workspace's list, so it registers no new agent here. An agent it already registered can still be ended by the provider. The change is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/agent/provider/remove`
- **MCP tool:** `agent_provider_remove`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `anchorId: string`
- **Output:** `anchor: string | null` (optional), `displayName: string`, `issuer: string`, `jwksUri: string`, `list: string`

**Free:** Removing an agent provider costs you nothing, on every plan.

## `agent.provider.trust@v1`

Trusts an agent provider for your Workspace, so an agent it vouches for can register here. We read the provider's signing keys first, and nothing is saved if we cannot. Trusting a provider you removed before restores it. The change is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/agent/provider/trust`
- **MCP tool:** `agent_provider_trust`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `displayName: string`, `issuer: string`, `jwksUri: string | null` (optional)
- **Output:** `anchor: string | null` (optional), `displayName: string`, `issuer: string`, `jwksUri: string`, `list: string`

**Free:** Trusting an agent provider costs you nothing, on every plan.

## `agent.publish@v1`

Publishes an Agent's draft as its next version. The version never changes, and the draft stays, so you can keep editing it. Autonomy pinned to an earlier version ends, so each such graduated action goes back to approval until the new version earns it again. The publish is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/agent/publish`
- **MCP tool:** `agent_publish`
- **Stage:** Preview. Not open to every Workspace yet.
- **Effect:** Changes state
- **Input:** `agent: string`
- **Output:** `agent: string`, `digest: string`, `version: integer`

**Free:** Publishing an Agent is never metered. A publish costs zero Credits on every tier.

## `agent.settlement.set@v1`

Sets how the model calls of an Agent's turns are charged: per turn, at a known price for each model call, or per token, at measured usage up to a token cap you set. An Agent Session's own setting overrides this one. Neither the Agent nor anyone acting on its authority can change this setting. The change is recorded in your Workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/agent/settlement/set`
- **MCP tool:** `agent_settlement_set`
- **Stage:** Preview. Not open to every Workspace yet.
- **Effect:** Changes state
- **Input:** `agent: string`, `mode: string`, `tokenCap: integer | null` (optional)
- **Output:** `agent: string`, `mode: string`, `tokenCap: integer | null` (optional)

**Free:** Changing how an Agent's model calls are charged is never metered. A change costs zero Credits on every tier.

## `agent.start@v1`

Starts an Agent you stopped, so it can open Agent Sessions again. A stop took away none of the Agent's Mandates, so the Agent can do everything it could do before the stop. An Agent Session the stop closed stays closed. The start is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/agent/start`
- **MCP tool:** `agent_start`
- **Stage:** Preview. Not open to every Workspace yet.
- **Effect:** Changes state
- **Input:** `agent: string`
- **Output:** `agent: string`

**Free:** Starting an Agent costs you nothing, on every plan.

## `agent.stop@v1`

Stops an Agent. The Agent opens no new Agent Session while it is stopped, and every Agent Session it has open closes right after the stop is saved, which ends the Mandates each one issued. The stop takes away none of the Agent's own Mandates, so a start gives back everything it could do before. Stopping an Agent that is already stopped records the new moment and closes any Agent Session still open. The stop and each close are recorded in your workspace audit log with who made them and under what authority.

- **REST:** `POST /api/v1/agent/stop`
- **MCP tool:** `agent_stop`
- **Stage:** Preview. Not open to every Workspace yet.
- **Effect:** Changes state
- **Input:** `agent: string`
- **Output:** `agent: string`, `stoppedAt: string`

**Free:** Stopping an Agent costs you nothing, on every plan.

## `agentsession.settlement.set@v1`

Sets how the model calls of one Agent Session's turns are charged: per turn or per token with a token cap. It overrides the setting of its Agent, for this Agent Session alone. Neither the Agent running in the Agent Session nor anyone acting on its authority can change it. The change is recorded in your Workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/agentsession/settlement/set`
- **MCP tool:** `agentsession_settlement_set`
- **Stage:** Preview. Not open to every Workspace yet.
- **Effect:** Changes state
- **Input:** `agentSession: string`, `mode: string`, `tokenCap: integer | null` (optional)
- **Output:** `agentSession: string`, `mode: string`, `tokenCap: integer | null` (optional)

**Free:** Changing how an Agent's model calls are charged is never metered. A change costs zero Credits on every tier.

## `agreement.accept@v1`

Accepts the current terms. Your acceptance is recorded in this Workspace's audit log with who accepted and under what authority.

- **REST:** `POST /api/v1/agreement/accept`
- **MCP tool:** `agreement_accept`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `version: string`
- **Output:** `version: string`

**Free:** Accepting the terms costs you nothing, on every plan.

## `agreement.status@v1`

Shows the terms you need to accept: the current version, where to read it, the version you accepted and whether you must accept before you continue.

- **REST:** `GET /api/v1/agreement/status`
- **MCP tool:** `agreement_status`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `acceptanceRequired: boolean`, `acceptedVersion: string | null` (optional), `currentVersion: string | null` (optional), `documentUrl: string | null` (optional)

**Free:** Checking your terms costs you nothing, on every plan.

## `anchor.list@v1`

Lists the trust anchors of your Workspace, one page at a time in identity order, with each one's ceiling and key state. An agent provider you trust is not among them: the agent provider list shows it.

- **REST:** `GET /api/v1/anchor/list`
- **MCP tool:** `anchor_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Reading whom your Workspace trusts is never metered. A list costs zero Credits on every tier.

## `anchor.register@v1`

Registers an issuer as a trust anchor of your Workspace, with its public keys and the highest assurance you accept from it. The anchor's authority is a Mandate, so the ceiling is on the record and only a ceiling change moves it.

- **REST:** `POST /api/v1/anchor/register`
- **MCP tool:** `anchor_register`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `issuer: string`, `keySet: string`, `maximumBindingStrength: string`, `methods: array`, `overCeiling: string`
- **Output:** `acceptance: string`, `anchor: string`, `issuer: string`, `keyCount: integer`, `keysSetAt: string`, `maximumBindingStrength: string`, `methods: array`, `overCeiling: string`

**Free:** Deciding whom your Workspace trusts is never metered. Registering a trust anchor costs zero Credits on every tier, and so does a register we refuse.

## `anchor.revoke@v1`

Withdraws a trust anchor. Its Mandate is revoked, so nothing it vouches for is accepted from then on.

- **REST:** `POST /api/v1/anchor/revoke`
- **MCP tool:** `anchor_revoke`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `anchor: string`
- **Output:** `anchor: string`, `revokedAt: string`

**Free:** Taking trust back is never metered. A revoke costs zero Credits on every tier.

## `anchor.setceiling@v1`

Raises or lowers a trust anchor's ceiling, or changes what happens above it. A new Mandate replaces the one that carried the old ceiling, so the change is on the record.

- **REST:** `POST /api/v1/anchor/setceiling`
- **MCP tool:** `anchor_setceiling`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `anchor: string`, `maximumBindingStrength: string`, `methods: array`, `overCeiling: string`
- **Output:** `acceptance: string`, `anchor: string`, `issuer: string`, `keyCount: integer`, `keysSetAt: string`, `maximumBindingStrength: string`, `methods: array`, `overCeiling: string`

**Free:** Deciding whom your Workspace trusts is never metered. A ceiling change costs zero Credits on every tier.

## `audit.export@v1`

Exports a range of the Workspace audit log with every digest, as JSON, as CSV, or as AAS-1 v0.1 Class A records. To check the record away from our systems you also need the Workspace key certificates and the pinned root key document for the environment. We publish neither yet, so that check is not available today. A range that holds too many entries for one export is refused, so export a long log in shorter ranges.

- **REST:** `GET /api/v1/audit/export`
- **MCP tool:** `audit_export`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `format: string | null` (optional), `from: integer | null` (optional), `to: integer | null` (optional)
- **Output:** `aas1: string | null` (optional), `aas1Report: object | null` (optional), `checkpoints: array`, `count: integer`, `csv: string | null` (optional), `entries: array`, `format: string`, `workspace: string`

**Free:** Your record is yours — taking a copy of it never consumes a Credit.

## `audit.receipt@v1`

Asks for the decision receipt of one audit entry: a short proof that the entry is in your Workspace's log, signed under the Workspace checkpoint key. The request returns an Operation at once. It settles once a signed checkpoint covers the entry, and the receipt keeps working after the entry ages out and after the Workspace is gone. An entry outside the log answers errors.audit.receipt-entry-not-found.

- **REST:** `POST /api/v1/audit/receipt`
- **MCP tool:** `audit_receipt`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `entry: string`
- **Result of the Operation:** `certificates: array`, `checkpoint: object | null` (optional), `coseReceipt: string | null` (optional), `entry: string`, `entryHash: string | null` (optional), `keyVersion: integer | null` (optional), `sequence: integer | null` (optional)

**Free:** Proving what happened in your Workspace never consumes a Credit.

## `audit.search@v1`

Searches the Workspace audit log by actor, Mandate, action, Connection operation, outcome, typed subject or time window, or reads every change to one Mandate and to the authority above it. Every answer names the oldest entry the log still holds, so an empty page never reads as proof that nothing happened.

- **REST:** `GET /api/v1/audit/search`
- **MCP tool:** `audit_search`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `act: string | null` (optional), `action: string | null` (optional), `actor: string | null` (optional), `after: string | null` (optional), `authority: string | null` (optional), `authorityChangesOf: string | null` (optional), `from: string | null` (optional), `limit: integer | null` (optional), `operation: string | null` (optional), `outcome: string | null` (optional), `subjectId: string | null` (optional), `subjectKind: string | null` (optional), `to: string | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional), `retainedFrom: object | null` (optional), `truncated: boolean`

**Free:** Reading your own record is part of governing it — a search never consumes a Credit.

## `audit.verify@v1`

Walks a range of the Workspace audit log and returns an integrity verdict. Each entry's digest covers its own content and the previous entry's digest, so a change to an entry, or the removal of one, invalidates everything after it. An entry that ages out whole past the retention window breaks nothing. A range that holds too many entries for one walk is refused, so verify a long log in shorter ranges.

- **REST:** `GET /api/v1/audit/verify`
- **MCP tool:** `audit_verify`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `from: integer | null` (optional), `to: integer | null` (optional)
- **Output:** `anchoredAtGenesis: boolean`, `checked: integer`, `faults: array`, `firstSequence: integer | null` (optional), `intact: boolean`, `lastSequence: integer | null` (optional)

**Free:** Integrity is never a paid feature — you can check the record on every tier, as often as you like.

## `auth.signin.request@v1`

**Deprecated**

Emails a sign-in link to the address you give. You get the same answer whether or not we hold that address, so the answer never tells anyone who has an account.

- **REST:** `POST /api/v1/auth/signin/request`
- **MCP tool:** `auth_signin_request_v1`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `address: string`, `formLocale: string`
- **Output:** `host: string`

## `auth.signin.request@v2`

Emails a sign-in link to the address you give, and can bring you back to a page of this site once you sign in. You get the same answer whether or not we hold that address, so the answer never tells anyone who has an account.

- **REST:** `POST /api/v2/auth/signin/request`
- **MCP tool:** `auth_signin_request`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `address: string`, `formLocale: string`, `returnPath: string | null` (optional)
- **Output:** `host: string`

## `auth.signin.verify@v1`

Checks the sign-in link we emailed you and spends it, so a link works once, on any device, until it expires.

- **REST:** `POST /api/v1/auth/signin/verify`
- **MCP tool:** `auth_signin_verify`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `token: string`
- **Output:** `entryGrant: string | null` (optional), `host: string`, `landing: string | null` (optional), `returnPath: string | null` (optional)

## `billing.account.get@v1`

Reads your Workspace's billing account in one answer: your plan, the current billing period, whether your billing is healthy and why not, how your Workspace is billed, your primary card as display values, and the legal identity your invoices carry. Only an owner can read it, because it shows the card's last four digits and your billing address.

- **REST:** `GET /api/v1/billing/account/get`
- **MCP tool:** `billing_account_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `anchorKind: string | null` (optional), `asOf: string`, `causes: array`, `health: string`, `identity: object | null` (optional), `pendingTier: string | null` (optional), `periodEnd: string | null` (optional), `periodStart: string | null` (optional), `primaryMethod: object | null` (optional), `tier: string`

**Free:** Checking your billing account is never metered. A read costs zero Credits on every tier.

## `billing.balance.get@v1`

Reads your Workspace's Credits: what each pool holds after the usage not yet taken from your Credits, that usage per metered quantity, this period's monthly grant, and when your tier and top-up Credits next expire.

- **REST:** `GET /api/v1/billing/balance/get`
- **MCP tool:** `billing_balance_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `asOf: string`, `draws: array`, `tierGrantExpiresAt: string | null` (optional), `tierGrantMicro: integer`, `tierMicro: integer`, `topupExpiresAt: string | null` (optional), `topupMicro: integer`

**Free:** Checking your Credits is never metered. A read costs zero Credits on every tier.

## `billing.credit.list@v1`

Lists every addition of Credits to your Workspace, newest first, one page at a time: each monthly grant, and each paid top-up with its first-top-up bonus. A refund that took Credits back appears as its own entry. Spending never appears here.

- **REST:** `GET /api/v1/billing/credit/list`
- **MCP tool:** `billing_credit_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `asOf: string`, `items: array`, `next: string | null` (optional)

**Free:** Reading where your Credits came from is never metered. A list costs zero Credits on every tier.

## `billing.invoice.get@v1`

Reads one of your Workspace's invoices in full: every line, the tax, what is due and what is paid, links to the document and its PDF, and the newest credit notes issued against it.

- **REST:** `GET /api/v1/billing/invoice/get`
- **MCP tool:** `billing_invoice_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `invoice: string`
- **Output:** `amountDueCents: integer`, `amountPaidCents: integer`, `created: string`, `creditNotes: object`, `currency: string`, `finalizedAt: string | null` (optional), `hostedUrl: string | null` (optional), `invoice: string`, `lines: array`, `number: string | null` (optional), `paidAt: string | null` (optional), `pdfUrl: string | null` (optional), `periodEnd: string | null` (optional), `periodStart: string | null` (optional), `state: string`, `subtotalCents: integer`, `taxCents: integer`, `totalCents: integer`

**Free:** Reading an invoice costs you nothing, on every plan.

## `billing.invoice.list@v1`

Lists your Workspace's invoices, newest first: every Credit top-up and every plan invoice, including those of a plan you held before, each with links to the invoice document and its PDF.

- **REST:** `GET /api/v1/billing/invoice/list`
- **MCP tool:** `billing_invoice_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `from: string | null` (optional), `limit: integer | null` (optional), `to: string | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Reading your invoices costs you nothing, on every plan.

## `billing.plan.catalog@v1`

Lists every plan with its monthly price, the Credits it grants each month and what it unlocks, with the price of a Credit and the terms of a top-up. It reads our published price list, so it names no Workspace and no person.

- **REST:** `GET /api/v1/billing/plan/catalog`
- **MCP tool:** `billing_plan_catalog`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `asOf: string`, `credit: object`, `currency: string`, `tiers: array`, `topup: object`

**Free:** Reading our price list is free, so you can compare the plans before you choose one.

## `billing.purchase.get@v1`

Reads one credit purchase of the Workspace, with its state and the Credits it added. Read it again after a purchase to see when the Credits land.

- **REST:** `GET /api/v1/billing/purchase/get`
- **MCP tool:** `billing_purchase_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `purchase: string`
- **Output:** `asOf: string`, `purchase: object`

## `billing.purchase.list@v1`

Lists the Workspace's credit purchases, newest first, with the state of each one and the Credits it added.

- **REST:** `GET /api/v1/billing/purchase/list`
- **MCP tool:** `billing_purchase_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional), `origin: string | null` (optional), `state: string | null` (optional)
- **Output:** `asOf: string`, `items: array`, `next: string | null` (optional)

## `billing.topup.purchase@v1`

Buys credit packs for the Workspace and charges the payment method it is billed from. Top-ups open with the paid terms: until then, every purchase is refused and nothing is charged.

- **REST:** `POST /api/v1/billing/topup/purchase`
- **MCP tool:** `billing_topup_purchase`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `packs: integer`
- **Output:** `creditsMicro: integer`, `invoiceLink: string | null` (optional), `packs: integer`, `purchase: string`, `state: string`

## `block.compose@v1`

Saves new content to a Block's draft. A published version never changes, so an Agent that uses one keeps exactly what it was given. The change is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/block/compose`
- **MCP tool:** `block_compose`
- **Stage:** Preview. Not open to every Workspace yet.
- **Effect:** Changes state
- **Input:** `actions: array | null` (optional), `block: string`, `body: string | null` (optional), `target: string | null` (optional)
- **Output:** `block: string`, `digest: string`

**Free:** Editing a Block is never metered. A compose costs zero Credits on every tier.

## `block.create@v1`

Creates a Block: a reusable, versioned piece of an Agent's definition that belongs to your Workspace, with its first draft. You become its owner through an ownership Mandate at the Block's node. A Block states what an Agent needs and grants it nothing: an Agent reaches an action only where a Mandate permits it. The create is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/block/create`
- **MCP tool:** `block_create`
- **Stage:** Preview. Not open to every Workspace yet.
- **Effect:** Changes state
- **Input:** `actions: array | null` (optional), `body: string | null` (optional), `kind: string`, `target: string | null` (optional), `workspaceEnvironments: array | null` (optional)
- **Output:** `block: string`, `digest: string`, `kind: string`, `workspaceEnvironments: array`

**Free:** Authoring a Block is never metered. A create costs zero Credits on every tier.

## `block.publish@v1`

Publishes a Block's draft as its next version. The version never changes, and the draft stays, so you can keep editing it. The publish is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/block/publish`
- **MCP tool:** `block_publish`
- **Stage:** Preview. Not open to every Workspace yet.
- **Effect:** Changes state
- **Input:** `block: string`
- **Output:** `block: string`, `digest: string`, `version: integer`

**Free:** Publishing a Block is never metered. A publish costs zero Credits on every tier.

## `connection.connect.complete@v1`

Finishes a sign-in when the service sends you back, and creates the connection. Its credentials go straight to your workspace's vault, and no answer returns them. If the service refused access, the sign-in records why and nothing is connected. The finish is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/connection/connect/complete`
- **MCP tool:** `connection_connect_complete`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `parameters: array | null` (optional), `resource: string`, `state: string`
- **Output:** `attempt: string`, `connection: string | null` (optional), `failureCode: string | null` (optional), `status: string`

**Free:** Connecting an integration is never metered. A finish costs zero Credits on every tier.

## `connection.connect.get@v1`

Shows how one of your sign-ins stands: still open, completed, failed or expired. The read is recorded in your workspace audit log.

- **REST:** `GET /api/v1/connection/connect/get`
- **MCP tool:** `connection_connect_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `attempt: string`
- **Output:** `connection: string | null` (optional), `expiresAt: string`, `failureCode: string | null` (optional), `status: string`

**Free:** Reading a sign-in is never metered. It costs zero Credits on every tier.

## `connection.connect.start@v1`

Starts the sign-in that connects an integration which uses its own sign-in, and returns the address where you allow access on the service. The sign-in is yours alone and ends after ten minutes. The start is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/connection/connect/start`
- **MCP tool:** `connection_connect_start`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `name: string`, `resource: string`, `workspaceEnvironments: array | null` (optional)
- **Output:** `attempt: string`, `authorizationUrl: string`, `expiresAt: string`

**Free:** Connecting an integration is never metered. A start costs zero Credits on every tier.

## `connection.create@v1`

Creates a connection to an integration and stores its credentials in your workspace's vault. You own the connection, and the integration acts through it under its own Mandate, which can only invoke this connection. A custom connection also needs the right to administer the workspace. The create is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/connection/create`
- **MCP tool:** `connection_create`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `kind: string`, `name: string`, `path: string | null` (optional), `resource: string`, `settings: array | null` (optional), `workspaceEnvironments: array | null` (optional)
- **Output:** `connection: string`, `operationCount: integer`

**Free:** Connecting an integration is never metered. A create costs zero Credits on every tier.

## `connection.get@v1`

Reads one connection by its id: its status and how many operations it has, and never a credential or a settings value. A Mandate at that connection is enough to read it.

- **REST:** `GET /api/v1/connection/get`
- **MCP tool:** `connection_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `connection: string`
- **Output:** `createdAt: string`, `createdBy: string`, `endpointHost: string | null` (optional), `id: string`, `integration: string`, `kind: string`, `name: string`, `operationCount: integer`, `path: string`, `pricePerCall: integer`, `resource: string`, `status: string`, `statusChangedAt: string`, `statusCode: string | null` (optional)

**Free:** Reading a connection is never metered. It costs zero Credits on every tier.

## `connection.invoke.quote@v1`

Prices the act it belongs to before anything runs: the cost breakdown, and a cost id the act verifies. A quote changes nothing.

- **REST:** `POST /api/v1/connection/invoke/quote`
- **MCP tool:** `connection_invoke_quote`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `arguments: string | null` (optional), `connection: string`, `operation: string`
- **Output:** `costId: string`, `lines: array`

**Free:** A quote is free by design — seeing a cost before you commit to it never consumes a Credit.

## `connection.invoke@v1`

Runs one operation of a connection. Its output arrives on the Operation the call returns. Your Mandate at that connection decides the call: a read Mandate covers the operations the integration marks read-only, and every other operation needs write. A call through a tool whose integration is barred is refused. Each call costs the Credits of the integration's kind, is quoted before it runs, and is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/connection/invoke`
- **MCP tool:** `connection_invoke`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `arguments: string | null` (optional), `connection: string`, `operation: string`
- **Result of the Operation:** `result: string`, `warnings: array`

## `connection.list@v1`

Lists your workspace's live connections, one page at a time, oldest first. Each one shows its status and how many operations it has, and never a credential or a settings value. A removed connection is not listed.

- **REST:** `GET /api/v1/connection/list`
- **MCP tool:** `connection_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `kind: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Reading your connections is never metered. A list costs zero Credits on every tier.

## `connection.operation.list@v1`

Lists the operations of one connection, one page at a time, in name order. Each name is one that connection.invoke takes.

- **REST:** `GET /api/v1/connection/operation/list`
- **MCP tool:** `connection_operation_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `connection: string`, `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Reading a connection's operations is never metered. It costs zero Credits on every tier.

## `connection.reauthorize.complete@v1`

Finishes a reconnect when the service sends you back. If you signed in with the account the connection already uses, the new credentials replace the old ones in your workspace's vault and the connection works again. If you used another account, nothing changes. The finish is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/connection/reauthorize/complete`
- **MCP tool:** `connection_reauthorize_complete`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `connection: string`, `parameters: array | null` (optional), `resource: string`, `state: string`
- **Output:** `attempt: string`, `connection: string | null` (optional), `failureCode: string | null` (optional), `status: string`

**Free:** Reconnecting a connection is never metered. A finish costs zero Credits on every tier.

## `connection.reauthorize.start@v1`

Starts a new sign-in for a connection whose service stopped accepting its access, and returns the address where you allow access again. The connection keeps its id, its Mandates, its shares and its operations. The sign-in is yours alone and ends after ten minutes. The start is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/connection/reauthorize/start`
- **MCP tool:** `connection_reauthorize_start`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `connection: string`
- **Output:** `attempt: string`, `authorizationUrl: string`, `expiresAt: string`

**Free:** Reconnecting a connection is never metered. A start costs zero Credits on every tier.

## `connection.receive@v1`

Takes one signed delivery from an external system to one of your webhook receivers. We check the Standard Webhooks v1 signature with the receiver's secret and refuse a delivery whose timestamp is more than five minutes away from ours. A retry of a message we already took, under the same webhook-id, answers as a success and starts nothing again. Each delivery is recorded in your workspace audit log as digests, never its body.

- **REST:** `POST /api/v1/connection/receive`
- **MCP tool:** `connection_receive`
- **Stage:** Preview. Not open to every Workspace yet.
- **Effect:** Changes state
- **Input:** `deliveryId: string`, `payload: string`, `sentAt: string`, `signatures: array`, `webhookSigningSecret: string`
- **Output:** `duplicate: boolean`

**Free:** Taking a delivery costs you nothing, on every plan. The work it starts is metered as itself.

## `connection.receiver.register@v1`

Registers a webhook receiver for a connection, so an external system can send signed deliveries to your Workspace. The answer gives you the receive path and the receiver's signing secret once: give both to the sender, because no later answer returns the secret. The connection's integration receives a Mandate that lets it take deliveries at this receiver and do nothing else. The register is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/connection/receiver/register`
- **MCP tool:** `connection_receiver_register`
- **Stage:** Preview. Not open to every Workspace yet.
- **Effect:** Changes state
- **Input:** `connection: string`
- **Output:** `path: string`, `receiver: string`, `secret: string`

**Free:** Registering a webhook receiver costs you nothing, on every plan.

## `connection.receiver.remove@v1`

Removes a webhook receiver, so its path takes no more deliveries. The Mandate that let the integration take deliveries there is revoked in the same step. The removal is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/connection/receiver/remove`
- **MCP tool:** `connection_receiver_remove`
- **Stage:** Preview. Not open to every Workspace yet.
- **Effect:** Changes state
- **Input:** `receiver: string`
- **Output:** `receiver: string`

**Free:** Removing a webhook receiver costs you nothing, on every plan.

## `connection.refresh@v1`

Asks the integration for this connection's operations again, using its stored settings and credentials, and replaces the connection's list of operations with the answer. The refresh is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/connection/refresh`
- **MCP tool:** `connection_refresh`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `connection: string`
- **Output:** `operationCount: integer`

**Free:** Refreshing a connection is never metered. A refresh costs zero Credits on every tier.

## `connection.remove@v1`

Removes a connection. Every Mandate issued over it is revoked in the same step, together with every grant made from them, and its name is free for a new connection. Its stored credentials stay in your workspace's vault until you delete them separately. The removal is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/connection/remove`
- **MCP tool:** `connection_remove`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `connection: string`
- **Output:** None

**Free:** Removing a connection is never metered. A removal costs zero Credits on every tier.

## `connection.share@v1`

Shares a connection you hold with another Principal, as a Mandate you issue at the connection. The share gives out only the connection actions you name, never more than your own Mandate holds there, and never its ownership. Revoke your own Mandate, or remove the connection, and every share made from it ends too. The share is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/connection/share`
- **MCP tool:** `connection_share`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `connection: string`, `permissions: array`, `subject: string`, `verbs: array`, `workspaceEnvironments: array | null` (optional)
- **Output:** `mandate: object`

**Free:** Sharing a connection is never metered. A share costs zero Credits on every tier.

## `connection.update@v1`

Changes a connection's name or settings. New settings are checked against the integration again, and new credentials replace the ones stored in your workspace's vault. The change is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/connection/update`
- **MCP tool:** `connection_update`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `connection: string`, `name: string | null` (optional), `settings: array | null` (optional)
- **Output:** `operationCount: integer`

**Free:** Changing a connection is never metered. An update costs zero Credits on every tier.

## `credential.client.register@v1`

Registers a client for a Principal you own, so that client can obtain credentials for it. Send exactly one of publicKey, redirectUris or metadataDocumentUrl, the caller class, and the one Workspace Environment its credentials name. The registration is recorded in your Workspace's audit log with who made it, under what authority, and a digest of the key or addresses, never the key itself.

- **REST:** `POST /api/v1/credential/client/register`
- **MCP tool:** `credential_client_register`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `callerClass: string`, `metadataDocumentUrl: string | null` (optional), `principalId: string`, `publicKey: string | null` (optional), `redirectUris: array | null` (optional), `workspaceEnvironment: string`
- **Output:** `clientId: string`, `registrationId: string`

**Free:** Registering a client is never metered. A registration costs zero Credits on every tier.

## `credential.client.revoke@v1`

Revokes one client registration, so that client obtains no new credential. A credential the client already holds keeps working until it expires or you revoke it. The revoke is recorded in your Workspace's audit log with who made it, under what authority, and a digest of the key or addresses. A second revoke of the same registration is refused.

- **REST:** `POST /api/v1/credential/client/revoke`
- **MCP tool:** `credential_client_revoke`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `registrationId: string`
- **Output:** `registrationId: string`, `revokedAt: string`

**Free:** Taking access back is never metered. A revoke costs zero Credits on every tier.

## `credential.list@v1`

Lists the live credentials one Principal holds, so you can review what it can present. A credential that expired, was revoked or was exchanged is not listed. A row never carries the credential itself or its digest.

- **REST:** `GET /api/v1/credential/list`
- **MCP tool:** `credential_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional), `principalId: string`
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Reviewing access is never metered. A list costs zero Credits on every tier.

## `credential.revoke@v1`

Revokes a credential before it expires, so its next call is refused. Set family to end every credential of its refresh family at once. A revoke of a refresh credential that was already exchanged ends the whole family too. Each credential it ends is recorded in your workspace audit log with who ended it and under what authority. A second revoke with the same input changes nothing and answers the first result.

- **REST:** `POST /api/v1/credential/revoke`
- **MCP tool:** `credential_revoke`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `credentialId: string`, `family: boolean`
- **Output:** `credentialId: string`, `endedAt: string`, `familyEnded: boolean`

**Free:** Taking access back is never metered. A revoke costs zero Credits on every tier.

## `directory.binding.rebind@v1`

Moves a person to the new identifier your directory gives them, for example after a tenant migration. The person stays the same Principal, with the same Mandates and the same history. You say how you know it is the same person. The move is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/directory/binding/rebind`
- **MCP tool:** `directory_binding_rebind`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `binding: string`, `continuity: string | null` (optional), `principal: string`, `subjectRef: string`
- **Output:** `binding: string`, `connection: string`, `principal: string`

**Free:** Moving a person to a new identifier costs you nothing, on every plan.

## `directory.connection.create@v1`

Connects your Workspace to an external directory, such as Microsoft Entra ID, and stores the connection's credential in your workspace's vault. A connection grants nobody anything: people it brings in hold only the Mandates you grant them. The connect is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/directory/connection/create`
- **MCP tool:** `directory_connection_create`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `ceiling: string`, `ceilingKind: string`, `credential: string`, `fallback: string`, `readFilter: string | null` (optional), `schedule: string | null` (optional), `source: string`, `trustAnchor: string`
- **Output:** `ceiling: string`, `ceilingKind: string`, `connection: string`, `fallback: string`, `readFilter: string | null` (optional), `schedule: string | null` (optional), `source: string`, `subjectIdentifier: array`, `trustAnchor: string`

**Free:** Connecting a directory costs you nothing. Directory connections come with the Team plan and above.

## `directory.connection.remove@v1`

Removes a directory connection and the identifiers it linked to people. Nobody is barred: a person with another way to sign in keeps working, and a person with none keeps their Mandates and their history. The removal is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/directory/connection/remove`
- **MCP tool:** `directory_connection_remove`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `connectionId: string`
- **Output:** `connection: string`, `unbound: integer`

**Free:** Removing a directory connection costs you nothing, on every plan.

## `enforcement.point.register@v1`

Registers one of your own enforcement points, such as an API gateway or a proxy, as a Principal in your Workspace with its own node in your Trust Graph. You become its owner through an ownership Mandate at exactly that node, issued in the same step. In the same step it takes its own Mandate at your Workspace root for harnesty:access.evaluate, harnesty:access.evaluations and harnesty:access.request.open, derived from a Mandate you hold that grants all three verbs. Revoke your Mandate and its Mandate leaves force too. The register is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/enforcement/point/register`
- **MCP tool:** `enforcement_point_register`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `endpointIdentity: string`, `workspaceEnvironments: array | null` (optional)
- **Output:** `principal: string`, `workspaceEnvironments: array`

**Free:** Registering an enforcement point is never metered. A register costs zero Credits on every tier.

## `file.read@v1`

Checks that you may read one stored file of your Workspace, and returns its details and the byte range you asked for. It returns no file content: the download of the file returns the bytes. You need a Mandate that lets you read this file.

- **REST:** `GET /api/v1/file/read`
- **MCP tool:** `file_read`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `file: string`, `from: integer | null` (optional), `to: integer | null` (optional)
- **Output:** `digest: string`, `file: string`, `mediaType: string`, `name: string | null` (optional), `range: object | null` (optional), `size: integer`

**Free:** Reading the details of a file costs you nothing, on every plan.

## `flow.author@v1`

Saves a Flow and its draft. Send no flow to create one, or a flow to edit its name and draft; publishing is separate.

- **REST:** `POST /api/v1/flow/author`
- **MCP tool:** `flow_author`
- **Stage:** Preview. Not open to every Workspace yet.
- **Effect:** Changes state
- **Input:** `flow: string | null` (optional), `name: string`, `steps: array | null` (optional)
- **Output:** `digest: string`, `flow: string`

## `flow.get@v1`

Reads one Flow: its name, its state, its draft, and one published version — the newest, or the one you name.

- **REST:** `GET /api/v1/flow/get`
- **MCP tool:** `flow_get`
- **Stage:** Preview. Not open to every Workspace yet.
- **Effect:** Reads only
- **Input:** `flow: string`, `version: integer | null` (optional)
- **Output:** `draft: array`, `flow: string`, `name: string`, `state: string`, `version: integer | null` (optional), `versionDigest: string | null` (optional), `versionName: string | null` (optional), `versionPublishedAt: string | null` (optional), `versionSteps: array | null` (optional)

## `flow.list@v1`

Lists the Flows of your Workspace, in identity order, one page at a time.

- **REST:** `GET /api/v1/flow/list`
- **MCP tool:** `flow_list`
- **Stage:** Preview. Not open to every Workspace yet.
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

## `flow.publish@v1`

Publishes a Flow's current draft as its next version. A published version never changes, so an Item that starts on it finishes on it.

- **REST:** `POST /api/v1/flow/publish`
- **MCP tool:** `flow_publish`
- **Stage:** Preview. Not open to every Workspace yet.
- **Effect:** Changes state
- **Input:** `flow: string`
- **Output:** `digest: string`, `flow: string`, `version: integer`, `versionId: string`

## `gate.create@v1`

Creates an approval gate at a tool, a Connection or your whole Workspace. The gate names who approves a held write, how long a Request waits for them, and who decides after that. Every person you name must be able to grant that write themselves, so a gate never names an approver who cannot approve.

- **REST:** `POST /api/v1/gate/create`
- **MCP tool:** `gate_create`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `assignee: string`, `chain: array`, `deadlineSeconds: integer`, `escalationIntervalSeconds: integer`, `node: string | null` (optional), `nodeKind: string | null` (optional), `operations: array | null` (optional)
- **Output:** `assignee: string`, `chain: array`, `deadlineSeconds: integer`, `escalationIntervalSeconds: integer`, `gate: string`, `node: string`, `operations: array | null` (optional)

**Free:** Managing who may act is never metered. Creating a gate costs zero Credits on every tier, and so does a create that is refused.

## `gate.list@v1`

Lists every approval gate in force in your Workspace, one page at a time in identity order. Each says where it stands, which writes it holds, and who decides.

- **REST:** `GET /api/v1/gate/list`
- **MCP tool:** `gate_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

## `gateway.openapi.get@v1`

Returns the OpenAPI 3.1 document of this Workspace, filtered to the operations the caller's bounds reach on this host. A read with no credential lists the operations that need none, and a signed-in caller sees the operations its bounds reach, so a client generated from it carries no method outside them. The same document is served at /openapi.json, never stored by a shared cache, with an ETag for a conditional request.

- **REST:** `GET /api/v1/gateway/openapi/get`
- **MCP tool:** `gateway_openapi_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `document: string`, `eTag: string`

## `graduation.reject@v1`

Rejects an action that ran without asking you. The Mandate you name, and every Mandate that an always-allow approval, or a Policy that counts approvals in a row, issued for that action, stop applying at once, the approval count starts again, and the next action of that kind waits for a person.

- **REST:** `POST /api/v1/graduation/reject`
- **MCP tool:** `graduation_reject`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `mandate: string`
- **Output:** `demotedAt: string`, `mandate: string`

**Free:** Your judgment is the product, so it is never metered. A rejection costs zero Credits on every tier.

## `group.create@v1`

Creates a Group, a Principal that holds members. The Group you name as owner owns the new Group from its first moment, and you do not own it yourself. A Group may hold people, Agents, Machines and other Groups together.

- **REST:** `POST /api/v1/group/create`
- **MCP tool:** `group_create`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `displayName: string`, `owner: string`, `workspaceEnvironments: array | null` (optional)
- **Output:** `displayName: string`, `group: string`, `groupKind: string`, `owner: string`, `workspaceEnvironments: array`

**Free:** Managing who may act is never metered. Creating a Group costs zero Credits on every tier, and so does a create that is refused.

## `group.list@v1`

Lists the members of your Workspace's Groups one page at a time, by Group and then by member. Name a Group to read its members alone, a member to read the Groups it belongs to, or both. Each row says what kind of Principal the member is.

- **REST:** `GET /api/v1/group/list`
- **MCP tool:** `group_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `group: string | null` (optional), `limit: integer | null` (optional), `member: string | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

## `group.member.add@v1`

Adds a member to a Group. The member then acts with everything the Group holds, and the platform records the membership as a Mandate in your workspace audit log, with you as the one who added it. A member can be a person, an Agent, a Machine or another Group.

- **REST:** `POST /api/v1/group/member/add`
- **MCP tool:** `group_member_add`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `group: string`, `member: string`
- **Output:** `group: string`, `mandate: string`, `member: string`

**Free:** Managing who may act is never metered. Adding a member costs zero Credits on every tier.

## `group.member.remove@v1`

Removes a member from a Group. Every membership Mandate between the two ends, with you as the one who ended it in your workspace audit log. Each Mandate the member issued for the Group stays in force with a new issuer in the same change, so what the Group owns keeps working. If you are not in the Group yourself once the member leaves, name a member who stays as the issuer.

- **REST:** `POST /api/v1/group/member/remove`
- **MCP tool:** `group_member_remove`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `group: string`, `issuer: string | null` (optional), `member: string`
- **Output:** `ended: integer`, `group: string`, `handedOn: integer`, `left: integer`, `member: string`

**Free:** Managing who may act is never metered. Removing a member costs zero Credits on every tier.

## `identity.provider.configure@v1`

Connects your Workspace's own identity provider over OpenID Connect, or replaces the one you have. We read and check your provider's discovery document first, and the record starts as draft until one sign-in through it succeeds. The change is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/identity/provider/configure`
- **MCP tool:** `identity_provider_configure`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `clientId: string`, `clientSecret: string | null` (optional), `directoryId: string | null` (optional), `hostedDomain: string | null` (optional), `kind: string`
- **Output:** `authorizationEndpoint: string`, `clientId: string`, `clientSecretSet: boolean`, `hostedDomain: string | null` (optional), `issuer: string`, `jwksUri: string`, `kind: string`, `state: string`, `tokenEndpoint: string`, `updatedAt: string`

**Free:** Connecting an identity provider costs you nothing. Single sign-on comes with the Team plan and above.

## `identity.provider.get@v1`

Reads your Workspace's identity provider, and the redirect URI to register in your provider's console.

- **REST:** `GET /api/v1/identity/provider/get`
- **MCP tool:** `identity_provider_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `provider: object | null` (optional), `redirectUri: string`

**Free:** Reading your identity provider costs you nothing, on every plan.

## `identity.provider.remove@v1`

Removes your Workspace's identity provider. It is refused while a member can sign in only through it. The change is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/identity/provider/remove`
- **MCP tool:** `identity_provider_remove`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** None
- **Output:** `provider: object | null` (optional), `removed: boolean`

**Free:** Removing your identity provider costs you nothing, on every plan.

## `integration.get@v1`

Reads one integration by its id. A deprecated or withdrawn integration still answers, with the one to use instead.

- **REST:** `GET /api/v1/integration/get`
- **MCP tool:** `integration_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `id: string`
- **Output:** `category: string`, `connectMethod: string`, `credentialFields: array | null` (optional), `deprecatedAt: string | null` (optional), `description: string | null` (optional), `displayName: string`, `firstSeenAt: string`, `id: string`, `kind: string`, `operations: array`, `pricePerCall: integer`, `reason: string | null` (optional), `state: string`, `successor: string | null` (optional), `withdrawnAt: string | null` (optional)

**Free:** Reading an integration never consumes a Credit.

## `integration.list@v1`

Lists every integration Harnesty has ever listed, one page at a time in id order, with its current state. A withdrawn integration stays on the list and names the one to use instead.

- **REST:** `GET /api/v1/integration/list`
- **MCP tool:** `integration_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `category: string | null` (optional), `connectMethod: string | null` (optional), `kind: string | null` (optional), `limit: integer | null` (optional), `state: string | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Browsing the integrations never consumes a Credit.

## `mandate.constraint.list@v1`

Lists every constraint of one Mandate, one page at a time in the order the record signs them. Read every page before you rebuild a record whose constraints run past its preview.

- **REST:** `GET /api/v1/mandate/constraint/list`
- **MCP tool:** `mandate_constraint_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional), `mandate: string`
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Reading a Mandate's constraints never consumes a Credit.

## `mandate.get@v1`

Reads one Mandate with its lineage: every Mandate above it, nearest first, up to the one your Workspace itself starts from. Read every page of the lineage, because the lineage is what authorizes the Mandate. Each Mandate carries every signed member, so you can verify the whole chain yourself.

- **REST:** `GET /api/v1/mandate/get`
- **MCP tool:** `mandate_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional), `mandate: string`
- **Output:** `items: array`, `lineageComplete: boolean`, `mandate: object`, `next: string | null` (optional)

**Free:** Seeing why a Mandate applies is never metered. Reading a Mandate and its lineage costs zero Credits on every tier.

## `mandate.issue@v1`

Issues one Mandate by hand, to a Principal at a place in your Workspace. It derives from the Mandate that lets you issue there, so it never grants more than you hold. Send the ownership action harnesty:ownership alone to move ownership of that place to the Principal, or to give an owner back to a place that has none.

- **REST:** `POST /api/v1/mandate/issue`
- **MCP tool:** `mandate_issue`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `constraints: array`, `permissions: array`, `purpose: string | null` (optional), `scope: array`, `subject: string`, `verbs: array`
- **Output:** `mandate: object`, `receipt: object | null` (optional), `repoint: object | null` (optional), `resigned: array | null` (optional)

**Free:** Granting authority is never metered. Issuing a Mandate costs zero Credits on every tier.

## `mandate.list@v1`

Lists the Mandates of your Workspace's Trust Graph, earliest issued first, with the exact count. Filter by the Principal that holds them, by a place in the Workspace, or both. Each Mandate carries every signed member, so you can verify it yourself.

- **REST:** `GET /api/v1/mandate/list`
- **MCP tool:** `mandate_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `endedIn: string | null` (optional), `includeEnded: boolean | null` (optional), `limit: integer | null` (optional), `page: integer | null` (optional), `scope: array | null` (optional), `subject: string | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional), `total: integer`

**Free:** Seeing who may do what is never metered. Reading the Trust Graph costs zero Credits on every tier.

## `mandate.revoke@v1`

Revokes one Mandate by hand, and every Mandate derived beneath it ends in the same write. A role ends when you revoke the role or when the member leaves, and a Policy when you revoke the Policy. When you revoke a Group membership, each Mandate the member issued for the Group passes to a member who stays.

- **REST:** `POST /api/v1/mandate/revoke`
- **MCP tool:** `mandate_revoke`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `issuer: string | null` (optional), `mandate: string`
- **Output:** `mandate: object`, `repoint: object | null` (optional)

**Free:** Taking authority back is never metered. Revoking a Mandate costs zero Credits on every tier.

## `member.binding.add@v1`

Binds the subject a trust anchor asserts to one person in your Workspace, so a sign-in from that identity provider can answer that person's assurance checks. One subject at one trust anchor binds one person only. Only a person can be bound, and the change is recorded in your Workspace's audit log with who made it and under what authority.

- **REST:** `POST /api/v1/member/binding/add`
- **MCP tool:** `member_binding_add`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `anchorId: string`, `principalId: string`, `subject: string`
- **Output:** `bindingId: string`

**Free:** Managing who may act is never metered. A binding costs zero Credits on every plan.

## `member.binding.list@v1`

Lists the bindings added to one person, one page at a time: each one's trust anchor, subject and the moment it was added. A binding that a directory or a single sign-on wrote is not shown.

- **REST:** `GET /api/v1/member/binding/list`
- **MCP tool:** `member_binding_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional), `principalId: string`
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Seeing who may act is never metered. A list costs zero Credits on every plan.

## `member.binding.remove@v1`

Removes one binding that was added to a person, so that subject no longer answers the person's assurance checks. The change is recorded in your Workspace's audit log with who made it and under what authority. To change a person's subject, remove the binding and add a new one.

- **REST:** `POST /api/v1/member/binding/remove`
- **MCP tool:** `member_binding_remove`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `bindingId: string`
- **Output:** `bindingId: string`, `principalId: string`

**Free:** Managing who may act is never metered. A remove costs zero Credits on every plan.

## `member.directory@v1`

Lists the people of your Workspace one page at a time, in the order they joined: each person's name where they set one, whether they are a member now, their email address while they are, when they joined, their status and whether they are barred. Every member can read it.

- **REST:** `GET /api/v1/member/directory`
- **MCP tool:** `member_directory`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional), `principals: array | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Seeing who is in your Workspace costs you nothing, on every plan.

## `member.invitation.pending@v1`

Lists the invitations of your Workspace that are still waiting, one page at a time, oldest first: each one's email address, role, who sent it, when, and when it expires. An expired invitation is left out.

- **REST:** `GET /api/v1/member/invitation/pending`
- **MCP tool:** `member_invitation_pending`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Seeing who you invited costs you nothing, on every plan.

## `member.invitation.revoke@v1`

Withdraws a pending invitation, so the person can no longer join with it. The change is recorded in your Workspace's audit log with who made it and under what authority. A revoke of an invitation that is unknown or already ended succeeds and changes nothing, so a retry is always safe.

- **REST:** `POST /api/v1/member/invitation/revoke`
- **MCP tool:** `member_invitation_revoke`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `invitation: string`
- **Output:** `addressDigest: string | null` (optional), `deleted: boolean`, `invitation: string`

**Free:** Managing who may act is never metered. A revoke costs zero Credits on every tier.

## `member.invite@v1`

Invites a person to your Workspace by email address, with a role. The invitation shows in the pending list, and the person receives one invitation email with a sign-in link. When they join, they hold the role at once, under a Mandate you issue, so the role can never grant more than you hold. An invitation for someone who is already a member, or for an address that already has an invitation waiting, is refused. A retry under the same Idempotency-Key sends no second email.

- **REST:** `POST /api/v1/member/invite`
- **MCP tool:** `member_invite`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `address: string`, `role: string`, `workspaceEnvironments: array | null` (optional)
- **Output:** `addressDigest: string`, `endedInvitation: string | null` (optional), `expiresAt: string`, `invitation: string`, `invitedAt: string`, `role: string`, `workspaceEnvironments: array`

**Free:** Managing who may act is never metered. An invite costs zero Credits on every tier, and so does its email.

## `member.profile.set@v1`

Sets or clears your own display name in this Workspace. Until you set one, every surface shows your email address. The change is recorded in your Workspace's audit log with who made it and under what authority, and the log never stores the name itself.

- **REST:** `POST /api/v1/member/profile/set`
- **MCP tool:** `member_profile_set`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `displayName: string | null` (optional)
- **Output:** `displayName: string | null` (optional), `principal: string`

**Free:** Setting your name costs you nothing, on every plan.

## `member.role.assign@v1`

Gives a person, a team or an agent a role. One Mandate issues with the role's actions and permissions, and it can never grant more than you hold. Someone who already holds a role keeps it until you revoke it.

- **REST:** `POST /api/v1/member/role/assign`
- **MCP tool:** `member_role_assign`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `principal: string`, `role: string`
- **Output:** `issuedAt: string`, `mandate: string`, `principal: string`, `role: string`

**Free:** Managing who may act is never metered. An assign costs zero Credits on every tier.

## `member.role.definable@v1`

Lists the actions you can put into a role of your own, and whether you hold each one with read, write, or both. A role holds nothing you do not hold yourself, so this is the set a define accepts from you. The three agreement actions are always listed and marked mandatory. Where one reads false for a permission, no role you define can grant that permission.

- **REST:** `GET /api/v1/member/role/definable`
- **MCP tool:** `member_role_definable`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `actions: array`

## `member.role.define@v1`

Defines a role of your own: a name, the actions it grants, and read or write. It holds the three agreement actions and nothing you do not hold yourself. A second define of the same name writes its next version. A role is a template, so the define gives nobody anything.

- **REST:** `POST /api/v1/member/role/define`
- **MCP tool:** `member_role_define`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `name: string`, `permissions: array`, `verbs: array`
- **Output:** `definitionDigest: string`, `holders: integer`, `kind: string`, `name: string`, `permissions: array`, `verbs: array`, `version: integer | null` (optional)

**Free:** Managing who may act is never metered. Defining a role costs zero Credits on every tier, and so does a define that is refused.

## `member.role.list@v1`

Lists the roles of your Workspace one page at a time in name order: the three the platform provides, builder, approver and member, beside every role your Workspace defined. Each one says what it grants and how many Principals hold it.

- **REST:** `GET /api/v1/member/role/list`
- **MCP tool:** `member_role_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

## `member.role.retire@v1`

Retires a role your Workspace defined, once nobody holds it. A define of the same name later writes its next version.

- **REST:** `POST /api/v1/member/role/retire`
- **MCP tool:** `member_role_retire`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `name: string`
- **Output:** `definitionDigest: string`, `holders: integer`, `kind: string`, `name: string`, `permissions: array`, `verbs: array`, `version: integer | null` (optional)

**Free:** Managing who may act is never metered. A retire costs zero Credits on every tier.

## `member.role.revoke@v1`

Takes a role away from a person, a team or an agent. The role's Mandate ends, and so does every Mandate that came from it.

- **REST:** `POST /api/v1/member/role/revoke`
- **MCP tool:** `member_role_revoke`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `issuer: string | null` (optional), `principal: string`
- **Output:** `act: string | null` (optional), `kept: integer`, `moved: integer`, `principal: string`, `recordedAt: string | null` (optional), `revokedAt: string`, `role: string`

**Free:** Managing who may act is never metered. A revoke costs zero Credits on every tier.

## `model.connection.create@v1`

Starts a connection from a route to your own model account. It answers the external ID to write into your account's trust, and on an AWS route the platform role ARN that trust names. The connection serves no call until its grant is bound and checked.

- **REST:** `POST /api/v1/model/connection/create`
- **MCP tool:** `model_connection_create`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `route: string`, `workspaceEnvironments: array | null` (optional)
- **Output:** `externalId: string`, `id: string`, `platformRoleArn: string | null` (optional)

**Free:** Connecting your own model account is never metered. A create costs zero Credits on every tier.

## `model.connection.get@v1`

Reads one of your Workspace's own model connections by its identifier. A removed connection still answers, and it does not serve.

- **REST:** `GET /api/v1/model/connection/get`
- **MCP tool:** `model_connection_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `id: string`
- **Output:** `externalId: string`, `failureCode: string | null` (optional), `grantBound: boolean`, `id: string`, `jurisdiction: string`, `model: string`, `removedAt: string | null` (optional), `route: string`, `serves: boolean`, `verification: string`

**Free:** Reading a model connection never consumes a Credit.

## `model.connection.list@v1`

Lists your Workspace's own model connections, one page at a time in identifier order, removed connections included.

- **REST:** `GET /api/v1/model/connection/list`
- **MCP tool:** `model_connection_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Reading your model connections never consumes a Credit.

## `model.connection.remove@v1`

Removes one of your Workspace's own model connections and ends every Mandate over it in the same act. The connection stays readable, and it never serves again.

- **REST:** `POST /api/v1/model/connection/remove`
- **MCP tool:** `model_connection_remove`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `id: string`
- **Output:** `externalId: string`, `failureCode: string | null` (optional), `grantBound: boolean`, `id: string`, `jurisdiction: string`, `model: string`, `removedAt: string | null` (optional), `route: string`, `serves: boolean`, `verification: string`

**Free:** Removing a model connection is never metered. A remove costs zero Credits on every tier.

## `model.connection.update@v1`

Binds an IAM role of your AWS account to one of your Workspace's own model connections, and starts a check of that role. The connection serves no call until the check passes.

- **REST:** `POST /api/v1/model/connection/update`
- **MCP tool:** `model_connection_update`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `id: string`, `roleArn: string`
- **Output:** `id: string`, `operation: string`, `verification: string`

**Free:** Binding a role is never metered, and its check calls no model. A bind costs zero Credits on every tier.

## `model.get@v1`

Reads one model by its identifier. A deprecated or withdrawn model still answers, with the one to use instead.

- **REST:** `GET /api/v1/model/get`
- **MCP tool:** `model_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `id: string`
- **Output:** `displayName: string`, `id: string`, `routes: array`, `state: string | null` (optional), `successor: string | null` (optional), `tier: string`

**Free:** Reading a model never consumes a Credit.

## `model.list@v1`

Lists every model Harnesty offers, with its tier, its state and each route that serves it. A withdrawn model stays on the list and names the one to use instead. The list is the same on every host, and it holds nothing of your Workspace.

- **REST:** `GET /api/v1/model/list`
- **MCP tool:** `model_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `entries: array`

**Free:** Browsing the models never consumes a Credit.

## `newsletter.preferences.self@v1`

Shows which of our newsletters you receive, one state for each kind, for the person you are signed in as. With no record of your consent, every kind reads unsubscribed.

- **REST:** `GET /api/v1/newsletter/preferences/self`
- **MCP tool:** `newsletter_preferences_self`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `kinds: array`

**Free:** Reading your newsletter preferences costs you nothing, on every plan.

## `object.create@v1`

Creates a governed object: a secret, a config key, a symmetric key or a signing key. You become its owner through an ownership Mandate at the object's node, issued in the same step. A secret's value goes to your Workspace's vault, and only a reveal returns it. A symmetric key is made inside that vault and never leaves it, so you use it only through encrypt, decrypt and mac. A signing key is made in the same vault, of the key type you name, and its private key never leaves it, so you use it only through sign and verify, and a read returns its public key. Any other kind of object is refused, because each one has its own create. The create is recorded in the workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/object/create`
- **MCP tool:** `object_create`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `keyName: string | null` (optional), `keyType: string | null` (optional), `kind: string`, `material: string | null` (optional), `value: string | null` (optional), `workspaceEnvironments: array | null` (optional)
- **Output:** `summary: object`, `workspaceEnvironments: array`

## `object.decrypt@v1`

Decrypts data with the key of one object your Mandates reach, and records the call in the workspace audit log. The key never leaves the store. Only a symmetric key (harnesty:symmetric-key) takes this operation, so any other kind of object is refused. An object your Mandates do not reach answers as one that does not exist.

- **REST:** `POST /api/v1/object/decrypt`
- **MCP tool:** `object_decrypt`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `ciphertext: string`, `objectId: string`
- **Output:** `plaintext: string`, `summary: object`

## `object.delete@v1`

Deletes one governed object your Mandates reach. The object is destroyed, and a secret's or a connection's value is erased in the same step, so nobody can read or use it again. The delete is recorded in the workspace audit log. It does not revoke any Mandate. Only an owner, or a Mandate a person granted for it, deletes an object. A Workspace Environment is refused: change the list of Workspace Environments instead. An object your Mandates do not reach answers as one that does not exist.

- **REST:** `POST /api/v1/object/delete`
- **MCP tool:** `object_delete`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `objectId: string`
- **Output:** `summary: object`

## `object.encrypt@v1`

Encrypts data with the key of one object your Mandates reach, and records the call in the workspace audit log. The key never leaves the store. Only a symmetric key (harnesty:symmetric-key) takes this operation, so any other kind of object is refused. An object your Mandates do not reach answers as one that does not exist.

- **REST:** `POST /api/v1/object/encrypt`
- **MCP tool:** `object_encrypt`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `objectId: string`, `plaintext: string`
- **Output:** `ciphertext: string`, `summary: object`

## `object.list@v1`

Lists the governed objects your Mandates reach, including the ones you reach through a Team, one page at a time in identity order. It returns no value and no digest: read an object for what its kind discloses.

- **REST:** `GET /api/v1/object/list`
- **MCP tool:** `object_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

## `object.mac@v1`

Computes a message authentication code over data with the key of one object your Mandates reach, and records the call in the workspace audit log. The key never leaves the store. Only a symmetric key (harnesty:symmetric-key) takes this operation, so any other kind of object is refused. An object your Mandates do not reach answers as one that does not exist.

- **REST:** `POST /api/v1/object/mac`
- **MCP tool:** `object_mac`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `data: string`, `objectId: string`
- **Output:** `code: string`, `summary: object`

## `object.read@v1`

Reads one governed object your Mandates reach. A config key answers its value and a secret its digest. A signing key answers its public key, and never its private key. A read never answers a secret's value, and a certificate or a connection answers no material. An object your Mandates do not reach answers as one that does not exist.

- **REST:** `GET /api/v1/object/read`
- **MCP tool:** `object_read`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `objectId: string`
- **Output:** `certificate: string | null` (optional), `digest: string | null` (optional), `disclosure: string`, `publicKey: string | null` (optional), `summary: object`, `value: string | null` (optional)

## `object.reveal@v1`

Reveals the value of one secret your Mandates reach, and records the reveal in the workspace audit log. Only an owner, or a Mandate a person granted for it, reveals a secret. Any other kind of object is refused: read it instead. A secret your Mandates do not reach answers as one that does not exist.

- **REST:** `POST /api/v1/object/reveal`
- **MCP tool:** `object_reveal`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `objectId: string`
- **Output:** `material: string | null` (optional), `summary: object`

## `object.rotate@v1`

Replaces the value of one secret your Mandates reach, and keeps the secret itself, so every Mandate over it still holds. The new value goes to your Workspace's vault, and the workspace audit log records the rotation. Only an owner, or a Mandate a person granted for it, rotates a secret. Any other kind of object, and a secret that is no longer active, is refused. A secret your Mandates do not reach answers as one that does not exist.

- **REST:** `POST /api/v1/object/rotate`
- **MCP tool:** `object_rotate`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `material: string`, `objectId: string`
- **Output:** `digest: string`, `summary: object`

## `object.sign@v1`

Signs data with the key of one object your Mandates reach, and records the call in the workspace audit log. The key never leaves the store. Only a signing key (harnesty:signing-key) takes this operation, so any other kind of object is refused. An object your Mandates do not reach answers as one that does not exist.

- **REST:** `POST /api/v1/object/sign`
- **MCP tool:** `object_sign`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `data: string`, `objectId: string`
- **Output:** `signature: string`, `summary: object`

## `object.update@v1`

Changes the value of one config key your Mandates reach, and records the change in the workspace audit log. A secret's value never changes here, and any other kind of object is refused. An object your Mandates do not reach answers as one that does not exist.

- **REST:** `POST /api/v1/object/update`
- **MCP tool:** `object_update`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `objectId: string`, `value: string | null` (optional)
- **Output:** `summary: object`

## `object.verify@v1`

Checks a signature over data with the key of one object your Mandates reach, and records the call in the workspace audit log. The key never leaves the store. Only a signing key (harnesty:signing-key) takes this operation, so any other kind of object is refused. An object your Mandates do not reach answers as one that does not exist.

- **REST:** `POST /api/v1/object/verify`
- **MCP tool:** `object_verify`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `data: string`, `objectId: string`, `signature: string`
- **Output:** `summary: object`, `valid: boolean`

## `operation.cancel@v1`

Cancels an Operation. Work that has not started ends at once, and nothing is charged for it. Work that stopped after its retries ran out ends at once too. On other running work, your cancel records a request to stop, and the work may still finish. Work that already ended keeps its state. You cancel an Operation when your Mandates let you make changes with the action it runs.

- **REST:** `POST /api/v1/operation/cancel`
- **MCP tool:** `operation_cancel`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `operation: string`
- **Output:** `operation: object`, `outcome: string`

## `operation.get@v1`

Reads one Operation: the state of the durable work it tracks, who submitted it, under which Mandate, and what it costs. You see an Operation when your Mandates let you use the action it runs.

- **REST:** `GET /api/v1/operation/get`
- **MCP tool:** `operation_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `operation: string`
- **Output:** `earliestAt: string | null` (optional), `operation: object`, `result: unknown`

## `operation.list@v1`

Lists durable work, newest first. By default you see your own Operations. An owner of the Workspace can ask for every Operation in it.

- **REST:** `GET /api/v1/operation/list`
- **MCP tool:** `operation_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `held: boolean | null` (optional), `limit: integer | null` (optional), `scope: string | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

## `operation.watch@v1`

Follows one Operation to its end. You receive each step of the durable work as it happens, and the last event carries the result. You watch an Operation when your Mandates let you use the action it runs.

- **REST:** `GET /api/v1/operation/watch`
- **MCP tool:** `operation_watch`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `lastEventId: integer | null` (optional), `operation: string`
- **Output:** `content: string | null` (optional), `id: integer | null` (optional), `kind: string`, `recordedAt: string | null` (optional), `reference: object | null` (optional), `result: unknown`, `sequence: integer | null` (optional), `state: string | null` (optional), `transition: string | null` (optional)

## `perimeter.declare@v1`

Records a new version of your perimeter: the action classes you route through Harnesty, and the gaps where you do not. Earlier versions stay stored, and the change is recorded in your Workspace's audit log with who made it and under what authority. Each call replaces the whole declaration, so send every class you route through Harnesty and every gap you still want to keep.

- **REST:** `POST /api/v1/perimeter/declare`
- **MCP tool:** `perimeter_declare`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `coveredClasses: array | null` (optional), `excludedClasses: array | null` (optional), `exclusionStatements: array | null` (optional)
- **Output:** `coveredClasses: array`, `effectiveFrom: string | null` (optional), `gaps: array`, `granularity: object`, `version: integer`

**Free:** Declaring your perimeter costs you nothing, on every plan.

## `perimeter.get@v1`

Reads what your Workspace routes through Harnesty governance: the action classes inside the perimeter, every gap you declared, and which actions record one full audit entry per act.

- **REST:** `GET /api/v1/perimeter/get`
- **MCP tool:** `perimeter_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `coveredClasses: array`, `effectiveFrom: string | null` (optional), `gaps: array`, `granularity: object`, `version: integer`

**Free:** Reading your perimeter costs you nothing, on every plan.

## `policy.create@v1`

Creates a Policy. Most Policies let the platform issue a Mandate for one action when a condition you state holds: the platform issues as itself, inside what you hold yourself, and every issue is on the record with the Policy as its authority. A Policy that names purpose kinds instead requires every Mandate someone asks for at those kinds to state its purpose.

- **REST:** `POST /api/v1/policy/create`
- **MCP tool:** `policy_create`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `factConnection: string | null` (optional), `factName: string | null` (optional), `maximumUses: integer | null` (optional), `node: string | null` (optional), `nodeKind: string | null` (optional), `notAfter: string | null` (optional), `notBefore: string | null` (optional), `permission: string`, `purposeKinds: array | null` (optional), `requiredApprovals: integer | null` (optional), `verb: string`
- **Output:** `criterion: string`, `factConnection: string | null` (optional), `factName: string | null` (optional), `issuedAt: string`, `issuer: string`, `maximumUses: integer | null` (optional), `notAfter: string | null` (optional), `notBefore: string | null` (optional), `permissions: array`, `policy: string`, `purposeKinds: array | null` (optional), `requiredApprovals: integer | null` (optional), `scope: string`, `verbs: array`

**Free:** Managing who may act is never metered. Creating a Policy costs zero Credits on every tier, and so does a create your tier refuses.

## `policy.list@v1`

Lists every Policy in force in your Workspace, one page at a time in identity order: each one that issues Mandates, and each one that requires a purpose. Each says what the platform may issue, where, and what has to hold first, or where a Mandate must state its purpose.

- **REST:** `GET /api/v1/policy/list`
- **MCP tool:** `policy_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

## `policy.revoke@v1`

Revokes a Policy and everything it caused, in one step. Every Mandate the Policy issued stops applying at once, and the next action asks a person again. A Policy that required a purpose stops requiring one.

- **REST:** `POST /api/v1/policy/revoke`
- **MCP tool:** `policy_revoke`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `policy: string`
- **Output:** `policy: string`, `revokedAt: string`

**Free:** Taking authority back is never metered. A revoke costs zero Credits on every tier.

## `posture.findings@v1`

Reads your Workspace's posture: who acts with no Mandate, which Mandates expire soon, which grants nobody used, which actors are refused more often than you allow, which agents and objects have no owner, which Mandates can read a secret in clear, and which nodes have no Workspace Environment left. Each finding is a query with one right answer, so you can show an auditor how it was reached. Your Workspace settings set every period and threshold.

- **REST:** `GET /api/v1/posture/findings`
- **MCP tool:** `posture_findings`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `kind: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `asOf: string`, `items: array`, `next: string | null` (optional)

**Free:** Reading your Workspace's posture costs you nothing, on every plan.

## `posture.summary@v1`

Reads your Workspace's posture in one answer: how many AI identities exist and in what state, how many production agents have an owner and a Mandate, how many actions ran and how many were refused, and how many findings need attention. Every number is counted at the same moment.

- **REST:** `GET /api/v1/posture/summary`
- **MCP tool:** `posture_summary`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `acts: object`, `asOf: string`, `findings: array`, `identities: object`, `productionAgents: object`

**Free:** Reading your Workspace's posture costs you nothing, on every plan.

## `principal.bar@v1`

Bars a Principal, so it stops acting at once. Nothing is deleted and no Mandate is revoked: every Mandate it holds stays in force, and every entry in your workspace audit log still names it. The bar is a signed record, recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/principal/bar`
- **MCP tool:** `principal_bar`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `principal: string`
- **Output:** `barred: boolean`, `principal: string`, `record: string`

**Free:** Stopping a Principal is never metered. A bar costs zero Credits on every tier.

## `principal.get@v1`

Reads one Principal of your Workspace by its identity: what kind of Principal it is, whether it is active or barred, when it was created, and where it sits in your Trust Graph.

- **REST:** `GET /api/v1/principal/get`
- **MCP tool:** `principal_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `principal: string`
- **Output:** `barred: boolean`, `createdAt: string`, `kind: string`, `node: object`, `principal: string`, `status: string`

**Free:** Reading your Trust Graph is never metered. A Principal read costs zero Credits on every tier.

## `principal.list@v1`

**Deprecated**

Lists the Principals in your Workspace, one page at a time in identity order, each with its kind, its status and whether it is barred. Deprecated: use principal.list@v2. This version leaves out every Principal of the kind blank-agent-session, so it does not show every subject that can act.

- **REST:** `GET /api/v1/principal/list`
- **MCP tool:** `principal_list_v1`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional), `principals: array | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Reviewing who can act is never metered. The list costs zero Credits on every tier.

## `principal.list@v2`

Lists every Principal in your Workspace, people and non-human subjects in one list, one page at a time in identity order. Each one shows its kind, its status and whether it is barred, so you can review who and what can act.

- **REST:** `GET /api/v2/principal/list`
- **MCP tool:** `principal_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional), `principals: array | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Reviewing who can act is never metered. The list costs zero Credits on every tier.

## `principal.unbar@v1`

Restores a barred Principal, so it can act again under the Mandates it still holds. A Mandate a Policy issued is not brought back. The unbar is a signed record that names the bar it ends, recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/principal/unbar`
- **MCP tool:** `principal_unbar`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `principal: string`
- **Output:** `barred: boolean`, `principal: string`, `record: string`

**Free:** Restoring a Principal is never metered. An unbar costs zero Credits on every tier.

## `request.decide@v1`

Answers one approval Request: approve, approve with edits, request changes, or reject. Approving issues a Mandate to whoever asked, inside what you hold yourself, and a Request carries exactly one outcome for good.

- **REST:** `POST /api/v1/request/decide`
- **MCP tool:** `request_decide`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `maximumUses: integer | null` (optional), `notAfter: string | null` (optional), `notBefore: string | null` (optional), `note: string | null` (optional), `outcome: string`, `request: string`, `standing: boolean | null` (optional)
- **Output:** `issuedMandate: string | null` (optional), `outcome: string`, `request: string`, `resolvedAt: string`

**Free:** Your judgment is the product, so it is never metered. Approving, editing and rejecting each cost zero Credits, on every tier — and so does the Mandate an approval issues.

## `request.decided.list@v1`

Lists the approval Requests you decided, the newest decision first. Each one says what was asked, what you answered, and when.

- **REST:** `GET /api/v1/request/decided/list`
- **MCP tool:** `request_decided_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

## `request.get@v1`

Reads one approval Request with its full decision history. You see a Request you raised, one waiting for you, and one your name sits in the escalation chain of.

- **REST:** `GET /api/v1/request/get`
- **MCP tool:** `request_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `request: string`
- **Output:** `request: object`

## `request.link.decide@v1`

Answers the one Request your approval link opened: approve, approve with edits, request changes, or reject. Your decision is recorded under your own Mandate, and the link stops working once the Request is decided.

- **REST:** `POST /api/v1/request/link/decide`
- **MCP tool:** `request_link_decide`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `maximumUses: integer | null` (optional), `notAfter: string | null` (optional), `notBefore: string | null` (optional), `note: string | null` (optional), `outcome: string`, `request: string`, `standing: boolean | null` (optional)
- **Output:** `issuedMandate: string | null` (optional), `outcome: string`, `request: string`, `resolvedAt: string`

## `request.link.open@v1`

Opens the approval page from the link we emailed you, with the decision you clicked chosen, and starts a session that can read and decide that one Request alone. Opening the link decides nothing and spends nothing.

- **REST:** `POST /api/v1/request/link/open`
- **MCP tool:** `request_link_open`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `decision: string | null` (optional), `token: string`
- **Output:** `decision: string | null` (optional)

## `request.link.view@v1`

Reads the one Request your approval link opened, so the approval page can show what is asked, who asked and by when. It reads that Request alone, and it decides nothing.

- **REST:** `GET /api/v1/request/link/view`
- **MCP tool:** `request_link_view`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `request: object`

## `request.list@v1`

Lists every approval Request waiting for you, by the deadline each one was raised with, earliest first. Each one says who asked, what they want to do, and when it passes to the next person if nobody answers.

- **REST:** `GET /api/v1/request/list`
- **MCP tool:** `request_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional), `page: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional), `total: integer`

## `request.raised.list@v1`

Lists the approval Requests you asked for, the newest first, with the state each one has reached: still open, approved, approved with edits, sent back for changes, or rejected.

- **REST:** `GET /api/v1/request/raised/list`
- **MCP tool:** `request_raised_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional), `state: string | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

## `session.handshake.redeem@v1`

Signs you in on a Workspace's own address with the short-lived pass your sign-in sent, then takes you to the page you asked for.

- **REST:** `POST /api/v1/session/handshake/redeem`
- **MCP tool:** `session_handshake_redeem`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `askedAt: string | null` (optional), `nonce: string`, `returnTo: string`, `token: string`
- **Output:** `returnTo: string`

## `signal.receiver.register@v1`

Registers an https address that receives a signal each time a Mandate in your Workspace is revoked or expires, so a system outside Harnesty can stop acting on it. A Mandate expires when its last permitted use is spent or its time bound passes. A Mandate that a re-issue replaced or ended sends no signal, so a system that must follow a re-issue reads your Trust Graph. We check that the address points to a public network before we save it. The answer gives you the receiver's signing secret once: keep it to verify each signal, because no later answer returns it. The register is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/signal/receiver/register`
- **MCP tool:** `signal_receiver_register`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `endpoint: string`
- **Output:** `endpoint: string`, `receiver: string`, `secret: string`

**Free:** Registering a receiver costs you nothing, on every plan.

## `signal.receiver.remove@v1`

Removes a receiver, so it gets no more signals from your Workspace. The removal is recorded in your workspace audit log with who made it and under what authority.

- **REST:** `POST /api/v1/signal/receiver/remove`
- **MCP tool:** `signal_receiver_remove`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `receiverId: string`
- **Output:** `receiver: string`

**Free:** Removing a receiver costs you nothing, on every plan.

## `user.context.get@v1`

Shows who you are signed in as, the Workspaces you belong to, one page at a time in slug order, and the Workspace you opened last. Signed out, it returns no identity and no Workspaces.

- **REST:** `GET /api/v1/user/context/get`
- **MCP tool:** `user_context_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `identity: object | null` (optional), `items: array`, `lastOpened: string | null` (optional), `next: string | null` (optional)

**Free:** Reading who you are costs you nothing, on every plan.

## `user.locale.get@v1`

Reads the language you saved, so every page you open while signed in speaks it. Signed out, it returns no language.

- **REST:** `GET /api/v1/user/locale/get`
- **MCP tool:** `user_locale_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `callerBound: boolean`, `code: string | null` (optional)

**Free:** Reading your language costs you nothing, on every plan.

## `user.locale.set@v1`

Saves the language you chose, so it follows you to every device you sign in on. The choice is recorded in your Workspace's audit log with who made it and under what authority.

- **REST:** `POST /api/v1/user/locale/set`
- **MCP tool:** `user_locale_set`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `code: string`
- **Output:** `code: string`

**Free:** Saving your language costs you nothing, on every plan.

## `user.signin.list@v1`

Lists every browser where you are signed in, one page at a time, newest first, so you can end one you do not recognise. It shows your own sign-ins alone.

- **REST:** `GET /api/v1/user/signin/list`
- **MCP tool:** `user_signin_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Listing your sign-ins costs you nothing, on every plan.

## `user.signin.revoke@v1`

Ends one of your other sign-ins, such as a browser you do not recognise. It ends on every Harnesty address at its next request. To end the sign-in you are using now, sign out instead.

- **REST:** `POST /api/v1/user/signin/revoke`
- **MCP tool:** `user_signin_revoke`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `reference: string`
- **Output:** `revoked: boolean`

**Free:** Ending a sign-in costs you nothing, on every plan.

## `user.signout@v1`

Signs you out. The sign-in you are using ends on every Harnesty address at its next request, and this address forgets its sign-in cookies. Signed out already, it ends nothing and still clears the cookies.

- **REST:** `POST /api/v1/user/signout`
- **MCP tool:** `user_signout`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** None
- **Output:** `revoked: boolean`

**Free:** Signing out costs you nothing, on every plan.

## `user.whatsnew.dismiss@v1`

Dismisses the what's-new notice for a launch, so it stays gone on every Workspace and every device until a newer launch arrives. The dismissal is recorded in your Workspace's audit log with who made it and under what authority.

- **REST:** `POST /api/v1/user/whatsnew/dismiss`
- **MCP tool:** `user_whatsnew_dismiss`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `entryId: string`
- **Output:** `entryId: string | null` (optional), `others: integer`, `state: string`

**Free:** Dismissing a notice costs you nothing, on every plan.

## `user.whatsnew.get@v1`

Reads the newest launch you have not dismissed yet, so the app can show it to you once. You need to be signed in.

- **REST:** `GET /api/v1/user/whatsnew/get`
- **MCP tool:** `user_whatsnew_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `entryId: string | null` (optional), `others: integer`, `state: string`

**Free:** Reading what's new costs you nothing, on every plan.

## `workspace.acts.allowed@v1`

Tells you, for each action you name, whether your own Mandates allow you to take it now. A page reads it to show what you can change. Each action still checks your Mandates when you take it.

- **REST:** `GET /api/v1/workspace/acts/allowed`
- **MCP tool:** `workspace_acts_allowed`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `actions: array`
- **Output:** `acts: array`

**Free:** Checking what you can do costs you nothing, on every plan.

## `workspace.anchor.fallback.begin@v1`

Starts saving a backup card for a Workspace that is billed through a Business Manager account. Nothing is charged, and the card bills nothing while the account still pays. If that billing link closes, a paid Workspace moves to the card. The card details go straight to the payment provider and never through Harnesty.

- **REST:** `POST /api/v1/workspace/anchor/fallback/begin`
- **MCP tool:** `workspace_anchor_fallback_begin`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `addressCity: string | null` (optional), `addressCountry: string | null` (optional), `addressLine1: string | null` (optional), `addressLine2: string | null` (optional), `addressPostalCode: string | null` (optional), `addressState: string | null` (optional), `legalName: string | null` (optional), `taxIdentifier: string | null` (optional)
- **Output:** `clientToken: string`, `publishableKey: string`, `setup: string`

**Free:** Saving a backup card costs you nothing, on every plan.

## `workspace.anchor.fallback.capture@v1`

Saves the backup card you just entered for a Workspace billed through a Business Manager account. The account keeps paying, and a paid Workspace moves to the card only if that billing link closes. The change is recorded in your Workspace's audit log with who made it and under what authority.

- **REST:** `POST /api/v1/workspace/anchor/fallback/capture`
- **MCP tool:** `workspace_anchor_fallback_capture`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `setup: string`
- **Output:** `brand: string`, `expiryMonth: integer`, `expiryYear: integer`, `lastFour: string`

**Free:** Saving a backup card costs you nothing, on every plan.

## `workspace.anchor.replace@v1`

Changes the payment method this Workspace is billed from, either by saving a new card or by choosing one you already saved. The change is recorded in your Workspace's audit log with who made it and under what authority.

- **REST:** `POST /api/v1/workspace/anchor/replace`
- **MCP tool:** `workspace_anchor_replace`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `kind: string`, `reference: string`
- **Output:** `brand: string`, `expiryMonth: integer`, `expiryYear: integer`, `lastFour: string`

**Free:** Changing your payment method costs you nothing, on every plan.

## `workspace.anchor.setup@v1`

Starts adding a new card for the billing record this Workspace already uses, and returns what the secure card form needs. Nothing is charged, and the card details go straight to the payment provider and never through Harnesty. Then change your payment method with anchor.replace and the reference this returns.

- **REST:** `POST /api/v1/workspace/anchor/setup`
- **MCP tool:** `workspace_anchor_setup`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** None
- **Output:** `clientToken: string`, `publishableKey: string`, `setup: string`

**Free:** Adding a card costs you nothing, on every plan.

## `workspace.business.link@v1`

Links this Workspace to a Business Manager account with a code the account gave you. With a billing code, the Workspace is billed through that account from then on. With an attribution code, it keeps paying on its own card, and the link only names the account. The change is recorded in your Workspace's audit log with who made it and under what authority.

- **REST:** `POST /api/v1/workspace/business/link`
- **MCP tool:** `workspace_business_link`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `code: string`, `mode: string | null` (optional)
- **Output:** `link: string`, `mode: string`, `state: string`

**Free:** Linking your Workspace to a Business Manager account costs you nothing, on every plan.

## `workspace.delete.request@v1`

Deletes this Workspace, after it shows you the exports you can still take. Call it without a confirmation to see the prompt, then call it again with the Workspace's name to delete it. The Workspace stays restorable until its restore window ends, and the deletion is recorded in the Workspace's audit log with who made it and under what authority.

- **REST:** `POST /api/v1/workspace/delete/request`
- **MCP tool:** `workspace_delete_request`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `confirm: string | null` (optional)
- **Output:** `exports: array | null` (optional), `inFlight: array | null` (optional), `revertDeadline: string | null` (optional), `revertWindow: string | null` (optional), `slug: string | null` (optional), `softDeletedAt: string | null` (optional)

**Free:** Deleting a Workspace costs you nothing, on every plan.

## `workspace.domain.add@v1`

Adds a custom domain to your Workspace, such as ops.company.com, and returns the three DNS records you publish for it. The domain starts as pending, as an alias, until we verify its records. Adding a domain your Workspace already holds changes nothing and returns that domain. Your Workspace holds at most 5 pending domains at a time, and your plan must include custom domains. Every add is recorded in your Workspace's audit log with who made it and under what authority.

- **REST:** `POST /api/v1/workspace/domain/add`
- **MCP tool:** `workspace_domain_add`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `domain: string`
- **Output:** `attemptReason: string | null` (optional), `certificate: object | null` (optional), `domain: string`, `id: string`, `issuance: object | null` (optional), `lastAttemptAt: string | null` (optional), `nextAttemptAt: string | null` (optional), `records: array`, `role: string`, `state: string`, `verifiedAt: string | null` (optional)

**Free:** Adding a custom domain costs you nothing, on every plan.

## `workspace.domain.list@v1`

Lists the custom domains of your Workspace, one page at a time, oldest first. Each one shows its role, its state, the DNS records you publish and its certificate. A removed domain is not listed.

- **REST:** `GET /api/v1/workspace/domain/list`
- **MCP tool:** `workspace_domain_list`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `limit: integer | null` (optional)
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Reading your custom domains costs you nothing, on every plan.

## `workspace.domain.primary.clear@v1`

Makes the primary domain of your Workspace an alias, so no domain is primary. With no primary domain, it changes nothing. Every change is recorded in your Workspace's audit log with who made it and under what authority.

- **REST:** `POST /api/v1/workspace/domain/primary/clear`
- **MCP tool:** `workspace_domain_primary_clear`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** None
- **Output:** `domain: object | null` (optional)

**Free:** Clearing your primary domain costs you nothing, on every plan.

## `workspace.domain.primary.set@v1`

Makes one verified or active domain the primary domain of your Workspace. The domain that was primary becomes an alias in the same change, so your Workspace has one primary domain at most. Setting the current primary changes nothing. Every change is recorded in your Workspace's audit log with who made it and under what authority.

- **REST:** `POST /api/v1/workspace/domain/primary/set`
- **MCP tool:** `workspace_domain_primary_set`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `domainId: string`
- **Output:** `domains: array`

**Free:** Setting your primary domain costs you nothing, on every plan.

## `workspace.domain.remove@v1`

Removes a custom domain from your Workspace. The domain stops serving your Workspace at once, and a removed primary leaves your Workspace with no primary domain. A removed domain is no longer listed. Every removal is recorded in your Workspace's audit log with who made it and under what authority.

- **REST:** `POST /api/v1/workspace/domain/remove`
- **MCP tool:** `workspace_domain_remove`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `domainId: string`
- **Output:** `attemptReason: string | null` (optional), `certificate: object | null` (optional), `domain: string`, `id: string`, `issuance: object | null` (optional), `lastAttemptAt: string | null` (optional), `nextAttemptAt: string | null` (optional), `records: array`, `role: string`, `state: string`, `verifiedAt: string | null` (optional)

**Free:** Removing a custom domain costs you nothing, on every plan.

## `workspace.environment.assign@v1`

Changes the Workspace Environments of one actor or object in your Workspace. You send the whole new set, and one call either adds values or removes them, never both. Without confirm, it only previews: it counts what the change would reach and changes nothing. You can add only a Workspace Environment you hold yourself. A removal narrows each Mandate at or for that node to the Workspace Environments it keeps, and revokes each Mandate left with none. You can decline the cascade and leave every Mandate as it is. Every change is recorded in your Workspace's audit log with who made it and under what authority.

- **REST:** `POST /api/v1/workspace/environment/assign`
- **MCP tool:** `workspace_environment_assign`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `confirm: boolean | null` (optional), `decline: boolean | null` (optional), `issuers: array | null` (optional), `node: array`, `set: array`
- **Output:** `attenuated: integer`, `changed: boolean`, `confirmed: boolean`, `handedOn: integer`, `impacts: array`, `kept: integer`, `left: integer`, `moved: integer`, `node: string`, `recordedAt: string | null` (optional), `revoked: integer`, `set: array`, `standing: integer`

**Free:** Changing the Workspace Environments of an actor or object costs you nothing, on every plan.

## `workspace.environment.assignment.preview@v1`

Lists, one page at a time, each row a change to the Workspace Environments of one actor or object would reach: the actor or object itself, the Mandates a removal would narrow or end, the Mandates a Group membership hands on, the Groups that need you to name an issuer, the client registrations that may move, and the Mandates an add would issue again with the value, or end where they no longer fit. It asks what the change asks, so you see only the reach of a change you may make. It changes nothing.

- **REST:** `GET /api/v1/workspace/environment/assignment/preview`
- **MCP tool:** `workspace_environment_assignment_preview`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `decline: boolean | null` (optional), `issuers: array | null` (optional), `kind: string | null` (optional), `limit: integer | null` (optional), `node: array`, `set: array`
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Previewing a change to the Workspace Environments of an actor or object costs you nothing, on every plan.

## `workspace.environment.declare@v1`

Adds a Workspace Environment to your Workspace's list, removes one, or renames one. Without confirm, it only previews: it counts what the change would reach and changes nothing. A removal takes the value off every node that holds it, narrows each Mandate that names it, and revokes each Mandate left with no Workspace Environment. You can name a fallback that every such node takes instead, or decline the cascade and leave every Mandate as it is. A rename gives every node, every pending invitation and every pending connect attempt the new name, and issues each Mandate that names the old one again with the new name in its place and everything else it grants kept. A Mandate the platform owns, and one whose holder or issuer is barred, keeps the old name and grants nothing on it. A rename to a name that a Mandate or another record still names is refused, and so is a rename while something is still tied to the old name. Every change is recorded in your Workspace's audit log with who made it and under what authority.

- **REST:** `POST /api/v1/workspace/environment/declare`
- **MCP tool:** `workspace_environment_declare`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `confirm: boolean | null` (optional), `decline: boolean | null` (optional), `fallback: string | null` (optional), `issuers: array | null` (optional), `name: string`, `newName: string | null` (optional), `operation: string`
- **Output:** `attenuated: integer`, `confirmed: boolean`, `handedOn: integer`, `impacts: array`, `kept: integer`, `left: integer`, `moved: integer`, `name: string`, `nodesChanged: integer`, `nodesEmptied: integer`, `operation: string`, `recordedAt: string | null` (optional), `reissued: integer`, `revoked: integer`, `standing: integer`, `widened: integer`, `workspaceEnvironment: string | null` (optional)

**Free:** Changing your Workspace's list of Workspace Environments costs you nothing, on every plan.

## `workspace.environment.preview@v1`

Lists, one page at a time, each row a change to your Workspace's list of Workspace Environments would reach: the nodes that lose the value or are left with none, the Mandates that name it, the Mandates a Group membership hands on, the Groups that need you to name an issuer, the client registrations that may move, the pending invitations and connect attempts that store the value, the actors an add would give the value, the Mandates an add would issue again with it, or end where they no longer fit, and the nodes a rename would give the new name and the Mandates it would issue again. It changes nothing.

- **REST:** `GET /api/v1/workspace/environment/preview`
- **MCP tool:** `workspace_environment_preview`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** `after: string | null` (optional), `decline: boolean | null` (optional), `fallback: string | null` (optional), `issuers: array | null` (optional), `kind: string | null` (optional), `limit: integer | null` (optional), `name: string`, `newName: string | null` (optional), `operation: string`
- **Output:** `items: array`, `next: string | null` (optional)

**Free:** Previewing a change to your Workspace Environments costs you nothing, on every plan.

## `workspace.frame.get@v1`

**Deprecated**

Reads what the app shows around every page: this Workspace's name, address and data residency, whether preview features are on, your own name and roles, and how many Requests wait on you. Deprecated: use workspace.frame.get@v2. This version leaves out the what's-new answer.

- **REST:** `GET /api/v1/workspace/frame/get`
- **MCP tool:** `workspace_frame_get_v1`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `displayName: string`, `member: object`, `openRequests: integer`, `previewEnabled: boolean`, `residencyClass: string`, `slug: string`, `workspaceId: string`

**Free:** Reading the app's frame costs you nothing, on every plan.

## `workspace.frame.get@v2`

Reads what the app shows around every page: this Workspace's name, address and data residency, whether preview features are on, your own name and roles, how many Requests wait on you, and the newest launch you have not dismissed yet.

- **REST:** `GET /api/v2/workspace/frame/get`
- **MCP tool:** `workspace_frame_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `displayName: string`, `member: object`, `openRequests: integer`, `previewEnabled: boolean`, `residencyClass: string`, `slug: string`, `whatsNew: object`, `workspaceId: string`

**Free:** Reading the app's frame costs you nothing, on every plan.

## `workspace.member.self@v1`

Reads your own row in this Workspace: its name, the roles you hold and your own place in its Trust Graph.

- **REST:** `GET /api/v1/workspace/member/self`
- **MCP tool:** `workspace_member_self`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `displayName: string`, `principal: object`, `roleLabels: array`, `workspaceId: string`

**Free:** Reading your own row in a Workspace costs you nothing, on every plan.

## `workspace.owner.floor.set@v1`

Sets, changes or removes how recently an owner of your Workspace must have signed in. Only an owner in person can do this, and only with a sign-in that meets both the current rule and the new one. Send both fields to set the rule, or neither to remove it. The change is recorded in your Workspace's audit log with who made it and under what authority.

- **REST:** `POST /api/v1/workspace/owner/floor/set`
- **MCP tool:** `workspace_owner_floor_set`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `maximumAge: string | null` (optional), `methods: array | null` (optional)
- **Output:** `current: object | null` (optional), `previous: object | null` (optional)

**Free:** Changing your Workspace's owner sign-in rule costs you nothing, on every plan.

## `workspace.preview.get@v1`

Reads whether your Workspace's preview features are on, and since when.

- **REST:** `GET /api/v1/workspace/preview/get`
- **MCP tool:** `workspace_preview_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `enabled: boolean`, `enabledAt: string | null` (optional)

**Free:** Reading whether preview features are on costs you nothing, on every plan.

## `workspace.residency.get@v1`

Reads where your Workspace's data resides, and which model routes that residency lets you use.

- **REST:** `GET /api/v1/workspace/residency/get`
- **MCP tool:** `workspace_residency_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `permittedRoutes: array`, `residencyClass: string`

**Free:** Reading your Workspace's data residency costs you nothing, on every plan.

## `workspace.settings.get@v1`

Reads the settings of your Workspace: its name, its default language and how its members sign in.

- **REST:** `GET /api/v1/workspace/settings/get`
- **MCP tool:** `workspace_settings_get`
- **Stage:** In place
- **Effect:** Reads only
- **Input:** None
- **Output:** `defaultLocale: string`, `federation: string`, `name: string`, `ownerFloor: object | null` (optional), `postureDenialMinimumDecisions: integer`, `postureDenialThresholdBasisPoints: integer`, `postureDenialWindowDays: integer`, `postureExpiryWindowDays: integer`, `postureUnexercisedPeriodDays: integer`, `updatedAt: string`, `witnesses: array`

**Free:** Reading your Workspace settings costs you nothing, on every plan.

## `workspace.settings.update@v1`

Changes the settings of your Workspace. Name only the fields you change. The change is recorded in your Workspace's audit log with who made it and under what authority.

- **REST:** `POST /api/v1/workspace/settings/update`
- **MCP tool:** `workspace_settings_update`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `defaultLocale: string | null` (optional), `federation: string | null` (optional), `name: string | null` (optional), `postureDenialMinimumDecisions: integer | null` (optional), `postureDenialThresholdBasisPoints: integer | null` (optional), `postureDenialWindowDays: integer | null` (optional), `postureExpiryWindowDays: integer | null` (optional), `postureUnexercisedPeriodDays: integer | null` (optional), `witnesses: array | null` (optional)
- **Output:** `defaultLocale: string`, `federation: string`, `name: string`, `ownerFloor: object | null` (optional), `postureDenialMinimumDecisions: integer`, `postureDenialThresholdBasisPoints: integer`, `postureDenialWindowDays: integer`, `postureExpiryWindowDays: integer`, `postureUnexercisedPeriodDays: integer`, `updatedAt: string`, `witnesses: array`

**Free:** Changing your Workspace settings costs you nothing, on every plan.

## `workspace.vocabulary.declare@v1`

Declares one value of your own, a verb, a resource type, a constraint kind or a purpose, in your Workspace's vocabulary, under a namespace you choose. A value already declared there is refused, and nothing changes. The declaration is recorded in your Workspace's audit log with who made it and under what authority.

- **REST:** `POST /api/v1/workspace/vocabulary/declare`
- **MCP tool:** `workspace_vocabulary_declare`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `kind: string`, `name: string`, `namespace: string`
- **Output:** `declaration: string`, `kind: string`, `name: string`, `namespace: string`

**Free:** Declaring your Workspace's vocabulary costs you nothing, on every plan.

## `workspace.vocabulary.retire@v1`

Retires one value of your own vocabulary, so no new Mandate can name it. While Mandates in force still use it, the retire is refused and tells you how many the cascade would end. Choose the cascade to revoke each of them, and everything derived below them, first. The retire, and each revocation, is recorded in your Workspace's audit log with who made it and under what authority.

- **REST:** `POST /api/v1/workspace/vocabulary/retire`
- **MCP tool:** `workspace_vocabulary_retire`
- **Stage:** In place
- **Effect:** Changes state
- **Input:** `cascade: boolean | null` (optional), `kind: string`, `name: string`, `namespace: string`
- **Output:** `declaration: string`, `ended: integer`, `kind: string`, `name: string`, `namespace: string`

**Free:** Retiring a value of your Workspace's vocabulary costs you nothing, on every plan.
