nautir.ai
Management

Retrieve a runtime key

GET
/api/v1/keys/{key_id}

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

Path Parameters

key_id*string

A runtime key id.

Response Body

application/json

curl -X GET "https://example.com/api/v1/keys/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"}