Account

Mint another API key for this account

Returns a new key once, in api_key. Keys are stored as a SHA-256 digest and cannot be read back by this API, by the dashboard or by support, so save it before you do anything else and do not write it to a log or a transcript.

Authenticated by a key you already hold — a live key is the proof that you are the account. Nothing is revoked by this call: deploy the new key, confirm it works, then revoke the old one with POST /v1/account/keys/{id}/revoke. other_live_keys lists the ids you might mean, including the one you authenticated with.

No key at all? This endpoint cannot help you — it needs one. Call create_account on the MCP server with the account's verified address: it mails a one-time link code, link_account binds this client with it, and rotate_key then mints a key from there.

post/v1/account/keys

Request

  • Base URL: https://api.galleyrender.com
  • URL: https://api.galleyrender.com/v1/account/keys
  • Auth: HTTP bearer

Request body

namestring

A label for this key, so two can be told apart later. Defaults to rotated.

Example request

{
  "name": "ci"
}

Response

Minted. The plaintext key is in this response and will not be shown again.

object'api_key' required
accountstring
idstring uuid required
api_keystring required
key_prefixstring required
namestring
created_atstring date-time
shown_oncestring
do_not_log_itstring
last_used_at_notestring
to_finish_rotatingstring

Example response

{
  "api_key": "glr_sk_8Qd1nR7xKpV2sYbL4mTf9Uae",
  "key_prefix": "glr_sk_8Qd1nR7"
}

Changes

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