codai Vault API
codai Vault: a zero-knowledge credentials manager for you and your agents. Clients encrypt everything (XChaCha20-Poly1305, keys wrapped with X-Wing post-quantum hybrid) before upload, so these endpoints store and sync ciphertext only. Agents never receive secret values: they see a catalogue of handles (`{{vault:}}`), ask for a policy decision (tiers t0-t4, deny), wait for your approval when needed and call brokered HTTPS endpoints whose responses are redacted. Only items you mark cloud-usable can be used without one of your devices online. Keys minted with `scopes` (for example the browser extension key: `vault.read` + `vault.add`) may call only the routes of their scopes; anything else answers 403 `key_scope_forbidden`. Security events are signed receipts (DSSE, ES256) you can verify with `GET /v1/vault/receipts/keys`.