nautir.ai
Management

Create a runtime key

POST
/api/v1/keys

Authorization

managementKey
AuthorizationBearer <token>

An issued management key (sk-dz-…). One credential type across inference and management: scopes are properties of the issued key, set at issue time — keys:read, keys:write, usage:read, models:read. A key issued with no scopes holds all four. Each operation declares its required scope as x-required-scope.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

The control plane owns business validation (name rules, policy existence, the issued-key governing-policy invariant); this shape is the transport.

Response Body

application/json

curl -X POST "https://example.com/api/v1/keys" \  -H "Content-Type: application/json" \  -d '{    "name": "string"  }'
{  "id": "string",  "name": "string",  "kind": "string",  "disabled": true,  "expires_at": "2019-08-24T14:15:22Z",  "last_used_at": "2019-08-24T14:15:22Z",  "created_at": "2019-08-24T14:15:22Z",  "updated_at": "2019-08-24T14:15:22Z",  "policy_id": "string",  "key_hint": "string",  "key": "string"}