For the complete documentation index, see llms.txt. This page is also available as Markdown.

Create API Key

Create a new Nebula Block API key, optionally scoped to a team.

Create a new API key. To learn how to authenticate requests with it, see Authentication.

HTTP Request

POST {API_URL}/keys

where API_URL = https://api.nebulablock.com/api/v1.

Body Parameters

Parameter
Requirement
Type
Description

name

Required

string

A name for the API key

description

Optional

string

A description of what the key is for

team_id

Optional

integer

Create the key under a team instead of your personal account. See Teams

Response Attributes

data dict

Contains the new key:

  • id integer: The key's ID.

  • key string: The key value used to authenticate requests.

status string

success or failed.

message string

A description of the result.

Note: Creating a key notifies your account. There is a limit on how many keys one account can hold — if you hit it, contact support to have it raised.

Example

Request

Response

See also

Last updated