Generate a new API key
Use when: caller wants to mint a new Layer API key (the raw secret returns once in the response and cannot be retrieved again afterward)
Creates a new API key with the given name and optional project assignment. The full key is returned exactly once in this response — it is hashed at rest and the raw value is never recoverable afterward. Store it securely on the caller’s side immediately.
Documentation Index
Fetch the complete documentation index at: https://docs.verlon.ai/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Layer API key (prefixed sk-). Generated from the dashboard under Settings → API Keys, or via layer key create in the CLI.
Response
Newly created API key. Includes the full key value (raw, prefixed layer_) — only visible in this response, never returned again.