MCP

Outbound MCP usage buckets from the audit chain

Changed on

Walks the tenant's audit chain and buckets outbound MCP calls by subject, method, and tool for usage analytics. Admin-only.

get/api/v1/mcp/usage

Request

  • Base URL: http://localhost:8081
  • URL: http://localhost:8081/api/v1/mcp/usage
  • Auth: one of:
    • API key in header X-API-Key
    • HTTP bearer

Query parameters

sincestring date-time
untilstring date-time
group_by'subject' | 'method' | 'tool'

Headers

X-Tenant-IDstring required

Tenant isolation header (required on all protected routes).

Response

Usage buckets

object required

Changes

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      endpoint added