Keys

Create gateway key

Create a new gateway API key. The full secret is only returned once.

post/api/v1/gateway/keys

Request

  • Base URL: http://dobby-ai.com
  • URL: http://dobby-ai.com/api/v1/gateway/keys
  • Auth: HTTP bearer

Request body

key_type'user' | 'service' | 'temporary' required
display_namestring required
scopesstring[]
rate_limit_rpminteger
expires_in_daysinteger
service_namestring

Required for service keys

Response

Key created (secret shown once)

secretstring

Full key secret — only returned once

Example response

{
  "key": {
    "key_prefix": "gk_user_abc1..."
  }
}

Changes

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