Skip to main content
Use the Create Key endpoint to generate a new API key for accessing the Aria Compute ROUTER. You may assign a human-readable name and an optional set of scopes. The response includes the full key value exactly once. You must store it securely; it cannot be retrieved later. Any authenticated caller may create keys, but the resulting key permissions are bounded by the caller’s own scopes.

Endpoint

Authentication

Authenticate with a session cookie or pass Authorization: Bearer <api-key>.

Request Body

string
required
Human-readable label for the new key.
array
List of permission scopes to grant. Omit to inherit defaults.

Response

string
Unique key identifier.
string
Name assigned to the key.
string
The full secret key. Shown exactly once.