vault

Store encrypted blob

Store an encrypted blob under a named key (versioned, append-only). AgentLair stores the opaque ciphertext — never sees plaintext. Version history is maintained up to tier limits (free: 3 versions, paid: 100).

put/v1/vault/{key}

Request

  • Base URL: https://agentlair.dev
  • URL: https://agentlair.dev/v1/vault/{key}
  • Auth: HTTP bearer

Path parameters

keystring required

Request body

ciphertextstring required

Base64url or hex encoded ciphertext (max 16KB free / 64KB paid)

metadataobject

Optional unencrypted metadata (max 4KB)

Response

Existing key updated (new version)

Changes

No recorded changes to this operation across all 1 revision of this API.