sk-admin-… keys for this API and the MCP server. These routes only accept a dashboard session
(with 2FA); an admin API key gets 403.
List admin API keys
All active (not revoked) admin API keys of every admin, newest first. Dashboard session only.
List admin API keys › Responses
The keys.
idnamekey_prefixe.g. sk-admin-****a1b2.
read_onlyexpires_atallowed_ipslast_used_atlast_used_ipowner_emailcreated_atCreate an admin API key
Creates a key owned by the signed-in admin. The full key is returned once; only a hash is stored. At most 20 active admin keys can exist. Dashboard session only.
Create an admin API key › Request Body
nameread_onlyOnly GET/HEAD requests allowed.
expires_atMust be in the future; null never expires.
allowed_ipsIP addresses or CIDR ranges (e.g. 203.0.113.7, 10.0.0.0/8, 2001:db8::/32); empty or null allows any.
Create an admin API key › Responses
The new key, including the secret.
idkeyThe full sk-admin-… key. Shown only here.
key_prefixDisplay form, e.g. sk-admin-****a1b2.
nameUpdate an admin API key
Replaces the key's name, access level, expiry and IP allow-list (omitted expires_at /
allowed_ips clear them). Dashboard session only.
path Parameters
idAdmin API key id.
Update an admin API key › Request Body
nameread_onlyOnly GET/HEAD requests allowed.
expires_atMust be in the future; null never expires.
allowed_ipsIP addresses or CIDR ranges (e.g. 203.0.113.7, 10.0.0.0/8, 2001:db8::/32); empty or null allows any.
Update an admin API key › Responses
The updated key.
idnamekey_prefixe.g. sk-admin-****a1b2.
read_onlyexpires_atallowed_ipslast_used_atlast_used_ipowner_emailcreated_at