Mcp
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST |
Retrieve mcp analytics sessions activity
Aggregate counters, top tools, agent clients, and the most recent tool calls for the last 30 days, computed in one request. Powers the dashboard's activity view; always computed fresh so polling callers watch data arrive.
Required API key scopes
mcp_analytics:readResponse
Example request
GET /api /projects /:project_id /mcp_analytics /sessions /activity_overviewExample response
Status 200
RESPONSE
Create mcp analytics sessions intent
Generate (or return the cached) LLM digest of what agents are trying to do with this MCP server, derived from the most recent recorded $mcp_intents across all sessions. Content-addressed cache: only regenerates when new intents arrive. Powers the dashboard's low-volume activity stage.
Required API key scopes
mcp_analytics:writeResponse
Example request
POST /api /projects /:project_id /mcp_analytics /sessions /intent_digestExample response
Status 200
RESPONSE