Skip to Content

Get an API key

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

Use an admin key.

GET
/api_keys/{key_id}

Authorization

headerAuthorizationBearer <token>

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

Path Parameters

key_id*string

The id of the API key.

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

Response Body

Successful Response

application/json
  1. response
object?string
Default"api_key"
id*string
name*string
prefix*string

The start of the secret, to recognize the key.

status*string
Value in"active""revoked"
permissions*array<>

What the key may do: inference, admin:read.

created_by_app*|

The AI app that created the key through the MCP server. null for a key created in the console.

created_at*string
Formatdate-time
last_used_at*|null
curl -X GET 'https://api.munito.ai/admin/v1/api_keys/string'
Example Response
{
  "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"
}