grandline-auth

Create Key

Mint a new API key for the calling user.

The cleartext key is returned ONCE in the response body. The server stores only the argon2 hash + 8-char prefix; if the caller loses the key they'll need to revoke it and create a new one.

API keys (and the MCP server) are a Standard/Premium feature — a Basic account is web-UI-only, so key minting is refused for it.

post/api/v1/auth/keys

Request

  • Base URL: https://grandline.luzomi.com
  • URL: https://grandline.luzomi.com/api/v1/auth/keys
  • Auth: none declared

Request body

namestring

Response

Successful Response

idinteger required
namestring required
prefixstring required
keystring required
created_atstring date-time required
expires_atstring date-time nullable

Changes

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