auth

Create API key

Create a new account and API key. No authentication required. Rate limited to 5 key creations per IP per hour. The returned api_key is shown only once — save it immediately.

post/v1/auth/keys

Request

  • Base URL: https://agentlair.dev
  • URL: https://agentlair.dev/v1/auth/keys
  • Auth: none required

Request body

namestring

Optional label for the key

emailstring email

Optional recovery email

Example request

{
  "name": "my-agent"
}

Response

API key created

api_keystring

Full API key — save immediately, not shown again

key_prefixstring
account_idstring
tier'free' | 'paid'
created_atstring date-time
warningstring

Example response

{
  "api_key": "al_live_k7x9m2p4abcdefghijklmnopqrstuvwxyz12",
  "key_prefix": "al_live_k7x9"
}

Changes

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