Organization Project API Key

Generate a project API key

Changed on

Mint a new project-scoped API key. The raw key value is returned exactly once in the key field: capture it now, it is unreadable afterwards. Defaults to full project access with READ + WRITE scope; narrow with permissions / scopes.

post/v1/org/project/{projectId}/api-key

Request

  • Base URL
    https://api.roark.ai
  • URL
    https://api.roark.ai/v1/org/project/{projectId}/api-key
  • Auth
    HTTP bearer

Path parameters

projectIdstring required

Request body

namestring required

Human label for the key

scopesstring[]
permissionsstring[]

Example request

{
  "name": "prod-runtime"
}

Response

The created key (value returned once)

Changes