Get an API key

GET /admin/v1/api_keys/{key_id}

One API key of the organization. Its secret is never returned.

Use an admin key.

GET
/api_keys/{key_id}

Authorization

AuthorizationBearer <token>

Your Munito API key, with the admin:read permission.

In: header

Path Parameters

key_id*string

The id of the API key.

Match^[A-Za-z0-9_-]{1,128}$

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X GET "https://example.com/api_keys/string"
{
  "object": "api_key",
  "id": "string",
  "name": "string",
  "prefix": "string",
  "status": "active",
  "permissions": [
    "inference"
  ],
  "created_by_app": "string",
  "created_at": "2019-08-24T14:15:22Z",
  "last_used_at": "2019-08-24T14:15:22Z"
}