Billing

Create a personal API key

Mints a new personal API key. The full secret is returned in the key field — capture it now, it is not retrievable again. Scopes use the capability-based vocabulary (ADR-049); the default scope set is ["gateway", "api:read", "api:write"]. Admin scopes (admin:org, admin:platform) are opt-in and rejected at mint time if the requester does not hold the corresponding role.

post/api-keys

Request

  • Base URL: https://api.mnemom.ai/v1
  • URL: https://api.mnemom.ai/v1/api-keys
  • Auth: HTTP bearer

Request body

namestring

Friendly name for the key (e.g., "ci-prod", "local-dev"). Capped at 100 characters; longer names are truncated server-side.

scopesApiKeyScope[]

Capability set for this key. If omitted, the API substitutes the default. Admin scopes (admin:org, admin:platform) are gated by the requester's current role and return HTTP 403 at mint time if the requester is not eligible.

Response

API key created (secret shown once)

key_idstring required
keystring required

Full secret. Capture now — never returned again.

key_prefixstring required
namestring required
scopesApiKeyScope[] required
created_atstring date-time required

Changes

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