Auth & Key Management
Create API key
Create a new DB-backed API key with optional tenant scoping and TTL.
POST
Creates a new API key in the SQLite-backed key store. The plaintext key is returned only once in the response — store it securely.
Requires the master key (the
--key flag value). DB-backed auth must be enabled via --auth-db or config.
string
required
Human-readable label for this key.
string
Tenant identifier for multi-tenant isolation. Defaults to
"default".number
Key lifetime in milliseconds. Defaults to
auth.defaultTtlMs from server config.string
Unique key identifier (UUID). Use this for revocation.
string
Plaintext API key prefixed with
isol8_. Shown only once.string
The label provided at creation.
string
First 10 characters of the key followed by
... for display purposes.string
Tenant this key belongs to.
string
ISO 8601 expiration timestamp.