Skip to main content
GET
Get one MCP tool's analytics

Authorizations

Authorization
string
header
required

Send your API key in the Authorization header as Bearer API_KEY. Account API keys work in every workspace you belong to: send X-Notra-Organization-Id with the workspace id or slug to choose one. Workspace endpoints require it when you belong to more than one workspace; GET /v1/me/workspaces works without it. Organization keys only accept their own workspace there.

Path Parameters

projectId
string
required
Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]{1,100}$
Example:

"b1f2c3d4-0000-4000-8000-000000000000"

toolName
string
required

Tool name as your MCP server registers it.

Required string length: 1 - 128

Query Parameters

days
integer

Rolling window size in days. Ignored when from/to are set.

Required range: 1 <= x <= 365
from
string
Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-01-31"

to
string
Pattern: ^\d{4}-\d{2}-\d{2}$
Example:

"2026-01-31"

Response

MCP tool analytics fetched successfully

before
object[]
required

Tools called right before this one in the same session.

after
object[]
required

Tools called right after this one in the same session.

failures
object[]
required

Failures grouped by error message.

intents
object[]
required
organization
object
required