Skip to main content
POST
/
api
/
api-keys
Create API key
curl --request POST \
  --url https://console.neuronsearchlab.com/api/api-keys \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "scopes": [
    "recommendations"
  ],
  "environment": "<string>"
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.neuronsearchlab.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Platform API key issued from Console > Platform API Keys. Format: nsl__.

Body

application/json
name
string
scopes
enum<string>[]
Available options:
recommendations,
events,
items,
admin
environment
string

Response

Created key (full token shown once)

The response is of type object.