OpenSequence
DocsAPI referenceSDKs and CLIReference
Project

Create an API key (shown once)

POST
/v1/api-keys

Authorization

projectKey
headerAuthorizationBearer <token>

A project API key (sk_live_…) with read, enroll or admin scope.

Request Body

application/json
  1. body
name*string
Length1 <= length <= 80
scopes*array<>
Items1 <= items

Response Body

Default Response

application/json
  1. response
success*true
Value intrue
data*unknown
meta*
curl -X POST 'http://localhost:8080/v1/api-keys' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "scopes": [    "read"  ]}'
{  "success": true,  "data": null,  "meta": {    "request_id": "string",    "next_cursor": "string"  }}