api-keys

Create API key

Create a new API key for the workspace. The plaintext key is returned once.

post/v1/api-keys

Request

  • Base URL: https://api.framelane.io
  • URL: https://api.framelane.io/v1/api-keys
  • Auth: HTTP bearer

Request body

namestring required

Human-readable label for the new API key.

Example request

{
  "name": "production"
}

Response

Successful Response

idstring required

Unique API key ID.

namestring required

Human-readable label for this key.

key_prefixstring required

First 8 characters of the key, shown for identification.

created_atstring date-time required

ISO-8601 UTC timestamp when this key was created.

last_used_atstring date-time nullable

ISO-8601 UTC timestamp of the most recent authenticated request.

revoked_atstring date-time nullable

ISO-8601 UTC timestamp when this key was revoked. Null if still active.

keystring required

Plaintext API key. Store it securely — this is the only time it is returned.

Example response

{
  "id": "key_01J8QR2K5VKDGN2T4FBM3CZYX9",
  "name": "production",
  "key_prefix": "fl_live_k",
  "key": "fl_live_kT9uQw..."
}

Changes

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