agentrouter.api_keys.v1.ApiKeysService
ApiKeysService provides management-plane APIs for creating and managing user API keys. These endpoints are intended to be called by internal services (e.g. the Next.js app) using an admin-scoped management-plane API key.
Introduction
CreateApiKey
CreateApiKey creates a new JWT user-token API key for a user and returns the plaintext token exactly once.
DeleteApiKey
DeleteApiKey soft-deletes an API key (sets deleted_at).
UpdateApiKey
UpdateApiKey updates mutable fields of an API key (name and/or active state).