Request
121 methods.
Blast radius
4 direct · 0 transitive workspaces · 3 apps affected
What a change to these 121 methods can reach, from workspace dependencies, imports, call sites, and protocol edges.
«Add to the task»: adds a pending approval request to the agent's running task and approves it once. Asks for presence.
- Method
- add_to_task
- Transport
- unix-socket
- Framework
- serde
›{3 fields }
What an agent saw, from its grant and the audit log.
- Method
- agent_exposure
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Person-owned labels and machine/host notes for agents (ADR 0047).
- Method
- agent_labels
- Transport
- unix-socket
- Framework
- serde
An agent uses the passkey of a login in the person's browser (ADR 0020 §9), after `POST /v1/agent/access` with `passkey`: `klavd` checks the request the agent signed and its task on its own, then arms one use in tab `tab` for 60 s. If the page there already waits for a passkey of that site, the extension uses it at once. Answer: [`PasskeyArmed`], never the assertion. Needs `klavd` unlocked; a locked `klavd` says `locked` and does not ask the person.
- Method
- agent_passkey_arm
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
›step: PasskeyArmStepexpandThe use and the agent's signed request.
The extension answers a page's sign-in with the use an agent armed in that tab ([`Event::PasskeyArm`]): `klavd` signs with UV (the task's approval is the verification, ADR 0020 §8) and without the person's surface. Only from the extension's connection the use was armed for, once, before it expires, and for the armed site and login. Answer: the assertion, like `passkey_get`.
- Method
- agent_passkey_use
- Transport
- unix-socket
- Framework
- serde
›{5 fields }
The revocations whose key change was asked for and is not finished, from this device's sealed record (F4): agent, projects, rotated, pending, grants still to issue again and the last error. A revocation without a key change asked for never shows. Answer: `[PendingRevocation]`. No presence.
- Method
- agent_revocations
- Transport
- unix-socket
- Framework
- serde
An agent starts changing a login's password in the person's browser (ADR 0022 §5, steps 2–5), after `POST /v1/agent/rotations`: `klavd` checks the request the agent signed and its task, asks the tab for the field's rules, stores the new password as pending in the item and only then fills «current» with the old one and «new» (and «confirm») with the new one. Answer: `{filled, pending_id}`, never a value. Needs `klavd` unlocked.
- Method
- agent_rotate_begin
- Transport
- unix-socket
- Framework
- serde
›{3 fields }
The site refused it, or the agent gave up (`rotate_cancel`): the current one stays and the pending one goes to the history, marked unconfirmed. Answer: `{ok: true}`.
- Method
- agent_rotate_cancel
- Transport
- unix-socket
- Framework
- serde
›{1 field }
The site took the new password (`rotate_confirm`, step 7), after `POST /v1/agent/rotations/{id}/confirm`: it becomes current and the old one goes to the history. Answer: `{ok: true}`.
- Method
- agent_rotate_confirm
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Whether the item's pending password is this change's, asked before the agent sends a confirm or a cancel to the server (read only; `klav_client::Unlocked::rotation_pending`). The step carries a signed request of its own, `POST /v1/agent/rotations/{id}/pending` (a path the server has no route for), which `klavd` checks as for a step and uses up. Answer: `{pending}`. An older `klavd` answers `bad_request`.
- Method
- agent_rotate_pending
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Stop the daemon. The account's agents (pending, active, denied, revoked).
- Method
- agents
- Transport
- unix-socket
- Framework
- serde
The exact SQL of a pending SQL statement's approval (ID or unique prefix; ADR 0052 §9.6), opened from its sealed statement and escaped for a terminal, or why it can only be denied.
- Method
- approval_statement
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Approval requests of agents (pending, or `all` recent ones).
- Method
- approvals
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Approves an agent or replaces its grant. Asks for presence first: Touch ID, or the master password in `password` (ADR 0014).
- Method
- approve_agent
- Transport
- unix-socket
- Framework
- serde
›{4 fields }
›grant: GrantRequestexpand
Store a file in a `file` field.
- Method
- attach
- Transport
- unix-socket
- Framework
- serde
›{4 fields }
The audit log, filtered (`klav log`).
- Method
- audit_log
- Transport
- unix-socket
- Framework
- serde
›{1 field }
›filter?: LogFilterexpand
`klav log reset` (ADR 0033 §8.4): forgets this device's copy of the audit log, in memory too, and the head it verified, for a server restored from a backup the person trusts. Also while locked; no network. Answer: the files removed (`audit-chain.bin`, `audit-head.json`).
- Method
- audit_reset
- Transport
- unix-socket
- Framework
- serde
How far this device downloaded and verified the audit log («Verified up to event #N»), without asking the server. Answer: [`klav_client::audit::ChainStatus`].
- Method
- audit_status
- Transport
- unix-socket
- Framework
- serde
The values of one item to type into a page (browser extension). A login whose URLs do not match `url` is refused (`denied`).
- Method
- autofill
- Transport
- unix-socket
- Framework
- serde
›{5 fields }
›part?: FillPartexpandEvery value, or only the TOTP code.
Types an agent's values into that tab, if it is still on `host` (ADR 0017). The values never come back. The agent brings the values, decrypted under its own grant, but the connection's presence needs the unlocked session (ADR 0041 §3.1): locked, it answers `locked`, after a pause's `agents_paused`.
- Method
- browser_fill
- Transport
- unix-socket
- Framework
- serde
›{10 fields }
›kind: ItemKindexpandItem type.
The tab an agent would fill: the active tab of the focused browser with the extension attached ([`BrowserTab`]). Works locked.
- Method
- browser_tab
- Transport
- unix-socket
- Framework
- serde
Cancels the deletion of the account the person asked for (ADR 0037 §2), after Touch ID or the master password, like [`Request::ResumeAgents`] (ADR 0037 A2): canceling brings the agents back. Answer: `{ "canceled": bool }` (`false`: there was none).
- Method
- cancel_account_deletion
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Touch ID only, to confirm the person is there (ADR 0037 §1): opens this Mac's Secure Enclave key, which takes only the enrolled fingers and never the Mac's password, and drops what it gives back. It deletes nothing, needs no unlock and takes no password: the caller (the Mac app, the CLI) asks for the master password next and talks to the server itself. The prompt's words are `klavd`'s, for the `purpose`. Answer: `{ "ok": true }`, or `biometry_unavailable` / `biometry_failed`.
- Method
- confirm_presence
- Transport
- unix-socket
- Framework
- serde
›{1 field }
›purpose: PresencePurposeexpandWhat the presence is for.
Create an item.
- Method
- create
- Transport
- unix-socket
- Framework
- serde
›{1 field }
›item: NewItemexpandThe item.
Create a project.
- Method
- create_project
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
Create a vault.
- Method
- create_vault
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Decides on an approval request (ID or unique prefix). Approving asks for presence like `approve_agent`.
- Method
- decide_approval
- Transport
- unix-socket
- Framework
- serde
›{5 fields }
Approves (with the person's changes) or denies a pending task (ID or unique prefix). Approving asks for presence like `approve_agent`.
- Method
- decide_task
- Transport
- unix-socket
- Framework
- serde
›{5 fields }
›choice?: TaskChoiceexpand
Denies a pending registration.
- Method
- deny_agent
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Denies a pending agent secret request with an account-signed decision.
- Method
- deny_secret_request
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
Edit an item.
- Method
- edit
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
›patch: ItemPatchexpandChanges.
Ends a running task («End task»).
- Method
- end_task
- Transport
- unix-socket
- Framework
- serde
›{1 field }
One environment: names, origins and what an agent changed, never a value. Answer: [`klav_client::environments::EnvironmentDetail`] or `null` when there is none of that name.
- Method
- environment
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
The review of `klav env import` (ADR 0032 §6): compares the values in memory with the environment and the vault's fields, so it is gated as a value. Answer: [`klav_client::environments::ImportReview`] list, with no value.
- Method
- environment_import_review
- Transport
- unix-socket
- Framework
- serde
›{4 fields }
Saves a change to an environment (ADR 0032 §3.1): one that makes the protection grow reissues the agents' grants first; one that lowers it asks for Touch ID or the master password first. Answer: [`klav_client::environments::EnvironmentSaved`].
- Method
- environment_save
- Transport
- unix-socket
- Framework
- serde
›{4 fields }
›edit: EnvironmentEditexpandThe change.
Moves an environment to the trash; a protected one is first saved unprotected, with presence. Answer: [`klav_client::environments::EnvironmentSaved`].
- Method
- environment_trash
- Transport
- unix-socket
- Framework
- serde
›{3 fields }
5 usages · in 3 flows
The environments of a project, or of every project (ADR 0032 §6). Answer: [`klav_client::environments::EnvironmentListing`] list.
- Method
- environments
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Registers this connection as a browser extension that fills pages for agents (sent by the extension through `klav-native-host`). [`EventEnvelope`] lines then arrive on it between responses.
- Method
- extension_attach
- Transport
- unix-socket
- Framework
- serde
›{1 field }
The extension's answer to [`Event::Presence`]: the master password the person typed in Klav's own frame (ADR 0041 §3.1, §3.2). Only on the connection the event was sent to. `klavd` checks it against the unlocked session: right, the connection is verified and `{}` comes back; wrong, `wrong_credentials`, and the event keeps waiting for another try. Canceling is an `extension_reply` with an `error`; an `extension_reply` with `ok` never verifies anything.
- Method
- extension_presence
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
The extension's answer to an event.
- Method
- extension_reply
- Transport
- unix-socket
- Framework
- serde
›{3 fields }
›error?: ErrorBodyexpandError.
Fulfills a pending agent secret request: saves the secret into the vault, optionally grants `klav-proxy` access or links an environment variable (requiring presence when `input.grant_proxy` is true or `input.env_link` is present), and posts the account-signed decision.
- Method
- fulfill_secret_request
- Transport
- unix-socket
- Framework
- serde
›{3 fields }
›input: FulfillSecretRequestexpandPerson's fulfillment inputs (secret, destination, optional proxy toggle, and the card's `proposal_digest`).
The value of one generator history entry.
- Method
- generated_value
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
Deletes generator history entries (and the versions that hold them).
- Method
- generator_delete
- Transport
- unix-socket
- Framework
- serde
›{1 field }
›which: GeneratedSelectionexpandWhich.
›| {1 field }
The generator history, newest first, without values.
- Method
- generator_history
- Transport
- unix-socket
- Framework
- serde
Records a generated password in the local outbox (ADR 0022 §2), durably, before the caller types it anywhere. Works offline; the outbox goes to the generator history in the background.
- Method
- generator_record
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
Signs a change shown with `grant_change_prepare`: syncs, verifies the grant in force again and refuses unless `digest` is still the sheet's (F3). Asks for presence (Touch ID, or `password`) only when the change widens, as `klavd` computes it (P8). Answer: `GrantChangeReport`.
- Method
- grant_change_apply
- Transport
- unix-socket
- Framework
- serde
›{4 fields }
›change: GrantChangeexpand
5 usages · in 3 flows
The sheet of a change to an active agent's grant: only the differences, which widen, and the digest that binds the sheet to the grant in force and to `change` (F3). Signs nothing. Answer: `GrantChangePreview`. No presence.
- Method
- grant_change_prepare
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
›change: GrantChangeexpand
An active agent's grant in force, in the apps' editor model, or read-only with the reason (F3, F4). Answer: `GrantEditor`. No presence.
- Method
- grant_editor
- Transport
- unix-socket
- Framework
- serde
›{1 field }
The health settings of this home (`health.json`): with `breach_check`, turns the breach check on or off first. Answer: `{breach_check, notice}`. Works locked.
- Method
- health_settings
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Declares that this connection's `unlock`, or its first window verification, should last until Klav locks (ADR 0041 §1.2): the held connection. No argument; it grants nothing by itself. Answers `not_supported` until layer 6 turns it on, and always on Linux.
- Method
- hold
- Transport
- unix-socket
- Framework
- serde
Adds an export file (or a Google Authenticator link or QR image) to an import (ADR 0024). Without `session`, starts a new one. A file larger than a message goes in pieces: every piece but the last has `more`. Answer: [`ImportAdded`]. The import lives until `lock`.
- Method
- import_add
- Transport
- unix-socket
- Framework
- serde
›{5 fields }
Imports: creates and merges as the preview said, keeping replaced passwords in the history (`klav_client::import::ImportResult`). The import is forgotten afterwards.
- Method
- import_apply
- Transport
- unix-socket
- Framework
- serde
›{3 fields }
Forgets an import without importing.
- Method
- import_cancel
- Transport
- unix-socket
- Framework
- serde
›{1 field }
What importing would do, without values (`klav_client::import::ImportPreview`). Changes nothing.
- Method
- import_preview
- Transport
- unix-socket
- Framework
- serde
›{3 fields }
«Who used it» for one item (ADR 0033 §8.1): every event an agent wrote about it, newest first, with how it went. Answer: [`klav_client::activity::ItemActivity`].
- Method
- item_activity
- Transport
- unix-socket
- Framework
- serde
›{1 field }
List items.
- Method
- list
- Transport
- unix-socket
- Framework
- serde
›{1 field }
›filter: ItemFilterexpandFilter.
8 usages · in 3 flows
Signs a change to the local MCP client `name`. A new token's digest comes in `change`, never the token. `base_version` and `shown_proxy` are what the preview showed: nothing is signed if either changed. Asks for presence.
- Method
- local_client_change
- Transport
- unix-socket
- Framework
- serde
›{5 fields }
›change: LocalClientChangeexpand
›| {1 field }
›set: {2 fields }
What a change to the local MCP client `name` of the account's proxy would sign (ADR 0049 §3.2), without signing or asking for presence.
- Method
- local_client_preview
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
›change: LocalClientChangeexpand
›| {1 field }
›set: {2 fields }
Forget the unlocked state now.
- Method
- lock
- Transport
- unix-socket
- Framework
- serde
The account's MCP gateway switch (ADR 0049 §9): `true` or `false`, or `null` from a server older than the gateway.
- Method
- mcp_gateway
- Transport
- unix-socket
- Framework
- serde
Whether turning the MCP gateway on needs the person's word that every device and the proxy are updated (ADR 0049, amendment of 2026-11-27): `true` when the account has another device that is not revoked, or a proxy of the person's own, or when that can't be read. A `klavd` older than this answers that the request is malformed, which the apps read as `true`.
- Method
- mcp_gateway_older
- Transport
- unix-socket
- Framework
- serde
Turns the account's MCP gateway switch on (ADR 0049 §9). Refused unless `every_device_updated` acknowledges what devices and proxies older than the gateway lose, when the account may hold one (`mcp_gateway_older`); asks for presence unless it is already on. Nothing turns it off. Answer: `true`.
- Method
- mcp_gateway_on
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
The person offers an agent a task with `rotate` on these logins (ADR 0022 §6), signed without a request from the agent. Asks for presence like `decide_task`. Answer: the task's `TaskCard`.
- Method
- offer_task
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
›offer: OfferRequestexpandThe agent, the logins and, optionally, title, reason and duration.
6 usages · in 3 flows
The logins with a passkey for the page (ADR 0020): metadata only. Without an `rp_id` in the answer, the call goes to the browser.
- Method
- passkey_candidates
- Transport
- unix-socket
- Framework
- serde
›{3 fields }
Create a passkey (ADR 0020): asks for Touch ID (or `password`) first, then stores it and returns the registration for the page, or says why not (`browser`, `excluded`, `exists`).
- Method
- passkey_create
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
›request: PasskeyCreateRequestexpandWhat the page asked for.
Sign in with the passkey of `item` (ADR 0020): asks for Touch ID (or `password`) first, then returns the assertion for the page.
- Method
- passkey_get
- Transport
- unix-socket
- Framework
- serde
›{5 fields }
The passkey user-verification window of this `klavd` (ADR 0020 §8): with `window`, sets it first. Loosening it asks for Touch ID (or `password`); tightening does not. Answer: `{window}`. Works locked while the presence gate is off; with it on, the setting is sealed in `klavd`'s local data and this answers `locked` while locked, and loosening opens no passkey window (ADR 0041 §2.4).
- Method
- passkey_uv
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
›window?: Windowexpand
The previous passwords of an item, without values.
- Method
- password_history
- Transport
- unix-socket
- Framework
- serde
›{1 field }
7 usages · in 2 flows
Pauses every agent (no `agent`) or one (ADR 0033 §7), now and without asking for presence: a scare costs one click (P2). Unlocked, `klavd` signs it with the account and sends it at once; offline, it applies it here and keeps trying. Locked, pausing every agent works too: `klavd` applies it here at once and signs and sends it after the next unlock; pausing one agent needs `klavd` unlocked. Works locked. Answer: [`PauseInEffect`] list, as in `status`.
- Method
- pause_agents
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
The account's `pg_guard` switch (ADR 0052 §10): `true` or `false`, or `null` from a server older than the Postgres proxy.
- Method
- pg_guard
- Transport
- unix-socket
- Framework
- serde
Whether turning the Postgres guard on needs the person's word that every device and the proxy are updated: as `proxy_tunnels_older`.
- Method
- pg_guard_older
- Transport
- unix-socket
- Framework
- serde
Turns the account's `pg_guard` switch on (ADR 0052 §10), as `proxy_tunnels_on`. Nothing turns it off. Answer: `true`.
- Method
- pg_guard_on
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
The presence window of this `klavd` (ADR 0041 §2.4): with `window`, sets it first. Loosening asks for Touch ID (or `password`) and opens no window; tightening asks for nothing and applies at once. Answer: `{window}`. `locked` while locked; `not_supported` while the presence gate is off.
- Method
- presence_window
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
›window?: Windowexpand
One previous password of an item.
- Method
- previous_password
- Transport
- unix-socket
- Framework
- serde
›{3 fields }
List projects.
- Method
- projects
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Klav Cloud's proxy (ADR 0051 §6.1, §6.3, §4.4): `use` enrolls the account, verifies the enclave's attestation and names it the account's proxy; `stop` revokes its agent (changing the keys of what it held) and uses none; `reset` enrolls the next generation, moves the credentials to it and revokes the old agent. Each asks for presence first. Answers a `CloudOutcome`.
- Method
- proxy_cloud
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
›action: CloudActionexpand
Whether the account is entitled to Klav Cloud's proxy (ADR 0051 §15, `GET /v1/account/hosted-proxy`): `null` from a server older than it. What the apps read to offer «Use Klav Cloud Proxy».
- Method
- proxy_cloud_entitled
- Transport
- unix-socket
- Framework
- serde
Grants `item` to the account's proxy with `credential`'s profile and rules. `base_version` is the grant version the preview showed: nothing is signed if it changed. The presence prompt shows what is signed, and, while the proxy is pending, the 6 words of the key klavd fetched. `every_device_updated` acknowledges what older devices lose, needed for the account's first per-item grant.
- Method
- proxy_grant
- Transport
- unix-socket
- Framework
- serde
›{7 fields }
›credential: ProxyCredentialSpecexpand
6 usages · in 2 flows
What `proxy_grant` would sign for `item` (the profile, its rules, the proxy's words and warnings), without signing or asking for presence.
- Method
- proxy_grant_preview
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
›credential: ProxyCredentialSpecexpand
Lets `agent` start sandboxes through the account's proxy: signs the issuer's grant and the proxy's. The base versions and the words are what the preview showed: nothing is signed if they changed. Asks for presence, with what it signs.
- Method
- proxy_issuer_add
- Transport
- unix-socket
- Framework
- serde
›{9 fields }
›issuer: IssuerSpecexpand
6 usages · in 2 flows
What `proxy_issuer_add` would sign for `agent` (ADR 0036 E6.2): profiles, limits, the proxy's address, the agent's words and the warnings, without signing or asking for presence.
- Method
- proxy_issuer_preview
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
›issuer: IssuerSpecexpand
Stops `agent` from starting sandboxes. Asks for presence.
- Method
- proxy_issuer_remove
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
Takes `item` away from the account's proxy and changes its key (ADR 0036 §18). Asks for presence.
- Method
- proxy_revoke
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
The account's credential proxy, what it holds and what is lost without one (ADR 0036 §13). Names, hosts and the proxy's words: never a value.
- Method
- proxy_status
- Transport
- unix-socket
- Framework
- serde
The account's `proxy_tunnels` switch (ADR 0052 §10): `true` or `false`, or `null` from a server older than tunnels.
- Method
- proxy_tunnels
- Transport
- unix-socket
- Framework
- serde
Whether turning WebSocket tunnels on needs the person's word that every device and the proxy are updated (ADR 0052 §10): as `mcp_gateway_older`, and also with Klav Cloud's proxy. A `klavd` older than this answers that the request is malformed, which the apps read as `true`.
- Method
- proxy_tunnels_older
- Transport
- unix-socket
- Framework
- serde
Turns the account's `proxy_tunnels` switch on (ADR 0052 §10). Refused unless `every_device_updated` acknowledges what older devices and proxies lose, when the account may hold one; asks for presence unless it is already on. Nothing turns it off. Answer: `true`.
- Method
- proxy_tunnels_on
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
Sets which agent is the account's credential proxy (`agent`, a name or ID), or none. Asks for presence first (ADR 0036 §14).
- Method
- proxy_use
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
Permanently delete an item that is in the trash. `id` is the item ID; a reference or unique title also works, for the CLI.
- Method
- purge
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Forget the cached vaults and the rollback marks (keeping revoked agents and signed vault keys) and sync from scratch.
- Method
- reset_cache
- Transport
- unix-socket
- Framework
- serde
Resolve `klav://` references to values (`run`, `inject`).
- Method
- resolve
- Transport
- unix-socket
- Framework
- serde
›{3 fields }
The person decides on a pending password from the item's card: `accept` makes it current («Use the new one»), else it goes to the history («Keep the current one»).
- Method
- resolve_pending
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
Restore an item from the trash. `id` is the item ID; a reference or unique title also works, for the CLI.
- Method
- restore
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Resumes every agent (no `agent`) or one, after Touch ID or the master password (ADR 0033 P2). Resuming every agent does not lift the pauses of single agents. Answer: [`PauseInEffect`] list.
- Method
- resume_agents
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
«Fix my reused passwords» (ADR 0022 §6), for the person: the logins that share a password, sorted by host, with their change pages, checked against `agent`'s grant, and the agents that can take the task (`klav_client::offer::ReusedOffer`). Never for an agent: no MCP tool or agent command asks for it.
- Method
- reused_offer
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Revokes an agent; with `rotate`, also rotates its projects' keys, one project at a time, releasing the session between projects (ADR 0033, amendment of 2026-11-10, F2). The progress goes in `status` (`revocations`) while it runs. Called again with `rotate` on a revoked agent, it finishes what is left.
- Method
- revoke_agent
- Transport
- unix-socket
- Framework
- serde
›{3 fields }
The person's list of sandboxes (ADR 0036 E2.1): every sandbox in the verified chain, with the last heartbeat of the account's proxy, checked against this device's watermark. Verifies the log as `verify_audit` does. Answer: [`klav_client::sandboxes::SandboxList`]. Preferences an agent wrote are a `security` error here, as in every `klavd` before `sandbox_list_flagged`.
- Method
- sandbox_list
- Transport
- unix-socket
- Framework
- serde
[`Request::SandboxListFlagged`] for a caller that says in its own words which check refused the list. Answer: [`klav_client::sandboxes::CheckedList`], with the list, or `refused` with the check ([`klav_client::sandboxes::ListCheck`]) and the `security` error's words, instead of that error. Every other failure, a `security` one of no known check included, is the same error as `sandbox_list_flagged`'s. An older `klavd` answers `bad_request`: ask `sandbox_list_flagged` then, which fails with `security`.
- Method
- sandbox_list_checked
- Transport
- unix-socket
- Framework
- serde
6 usages · in 2 flows
[`Request::SandboxList`] for a caller that shows a security flag: preferences an agent wrote give the chain's rows of every proxy, no proxy and `security` ([`klav_client::sandboxes::SecurityFlag`]) instead of an error. An older `klavd` answers `bad_request`: ask `sandbox_list` then, which fails closed.
- Method
- sandbox_list_flagged
- Transport
- unix-socket
- Framework
- serde
The person's revocation of sandboxes of `proxy`, signed with the account's identity without presence (ADR 0036 E2.3). `scope` is `"all"` (every sandbox of `proxy` issued so far) or one sandbox ID, always given: a request without it, or with anything else, is a `bad_request` and revokes nothing. Answer: [`klav_client::sandbox_revoke::RevokeOutcome`]; a later revocation of the same scope is its `not_applied`, not an error.
- Method
- sandbox_revoke
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
The account's `sandbox_secret_requests` switch (ADR 0053 §9): `true` or `false`, or `null` from a server older than it.
- Method
- sandbox_secret_requests
- Transport
- unix-socket
- Framework
- serde
Whether turning sandbox secret requests on needs the person's word that every device and the proxy are updated: as `pg_guard_older`.
- Method
- sandbox_secret_requests_older
- Transport
- unix-socket
- Framework
- serde
Turns the account's `sandbox_secret_requests` switch on (ADR 0053 §9), as `pg_guard_on`. Nothing turns it off. Answer: `true`.
- Method
- sandbox_secret_requests_on
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
The card's "Don't let `<issuer>`'s sandboxes ask again" (ADR 0053 §3.3, T297): re-signs the proxy's grant with the opt-in of the issuer whose sandbox raised `request` turned off. The issuer comes from the verified audit log. Asks for presence, with the issuer's name. Answer: [`klav_client::issuers::IssuerReport`]. ("Stop this sandbox" is `sandbox_revoke` with the card's proxy and sandbox.)
- Method
- secret_request_issuer_off
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
Pending (or all recent) agent secret requests (ADR 0046).
- Method
- secret_requests
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Sets or clears a person-owned label and/or host for an agent (ADR 0047).
- Method
- set_agent_label
- Transport
- unix-socket
- Framework
- serde
›{3 fields }
Replace the linked Git repositories of a project (ADR 0032 §2).
- Method
- set_project_repos
- Transport
- unix-socket
- Framework
- serde
›{3 fields }
- Method
- shutdown
- Transport
- unix-socket
- Framework
- serde
Daemon status; works locked.
- Method
- status
- Transport
- unix-socket
- Framework
- serde
Items to offer on a page (browser extension): matching logins, the one-time codes saved on their own that name the page (`codes`), cards and identities, metadata only.
- Method
- suggest
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Pull changes from the server.
- Method
- sync
- Transport
- unix-socket
- Framework
- serde
The audit summary of a task (`klav log --task`).
- Method
- task_log
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Each site of a task with `rotate`: changed, pending or failed (`klav_client::offer::TaskProgress`).
- Method
- task_progress
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Task requests and running tasks (or `all` recent ones), as cards completed by this client (ADR 0021 §3).
- Method
- tasks
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Current TOTP code.
- Method
- totp
- Transport
- unix-socket
- Framework
- serde
›{3 fields }
13 usages · in 3 flows
Move an item to the trash.
- Method
- trash
- Transport
- unix-socket
- Framework
- serde
›{1 field }
Unlock with the master password, or (without `password`) with the platform's biometric unlock when enrolled.
- Method
- unlock
- Transport
- unix-socket
- Framework
- serde
›{2 fields }
The vault health report (ADR 0022 §4): reused, weak and old passwords, and breached ones if the person turned the breach check on (`health.json`). Items, hosts and reasons; never values.
- Method
- vault_health
- Transport
- unix-socket
- Framework
- serde
List vaults.
- Method
- vaults
- Transport
- unix-socket
- Framework
- serde
Verifies the audit log and signs its head (`klav log verify`).
- Method
- verify_audit
- Transport
- unix-socket
- Framework
- serde
Show an item.
- Method
- view
- Transport
- unix-socket
- Framework
- serde