Skip to content

What a connection used in the last 7 days

GET
/v1/mcp-connections/{id}/usage
curl --request GET \
--url https://beta-api.plune.ai/v1/mcp-connections/example/usage \
--cookie plune_session=<plune_session>

The tool calls of one connection of the signed-in person, by UTC day: today first, 7 days, a day without a call as zeros; total over the same days; tools - the calls by tool over the same days, most called first, a tool nobody called left out (other: a name that is not a tool of the server). Counted where the assistant calls the server; nothing of a call’s arguments or answer is kept. The signed-in session alone (an API token gets 401): a token, an assistant’s own included, can neither grant a connection nor widen one. Mounted only where the remote MCP server is switched on (MCP_PUBLIC_URL).

id
required
string

The connection id.

The usage

Media type application/json
object
days
required
Array<object>
>= 7 items <= 7 items
object
day
required

A UTC day.

string format: date
calls
required

Tool calls asked, the refused ones included.

integer
refused
required

The calls of them that were refused: by the limit of a minute, by the tool itself, or left without an answer.

integer
tokensAbout
required

An estimate, not a count of tokens: the characters of the text answered, divided by 4 and rounded up.

integer
total
required
object
calls
required

Tool calls asked, the refused ones included.

integer
refused
required

The calls of them that were refused: by the limit of a minute, by the tool itself, or left without an answer.

integer
tokensAbout
required

An estimate, not a count of tokens: the characters of the text answered, divided by 4 and rounded up.

integer
tools
required
Array<object>
object
tool
required
string
calls
required
integer
refused
required
integer
Example
{
"days": [
{
"day": "2026-11-24",
"calls": 12,
"refused": 1,
"tokensAbout": 5400
},
{
"day": "2026-11-23",
"calls": 0,
"refused": 0,
"tokensAbout": 0
},
{
"day": "2026-11-22",
"calls": 3,
"refused": 0,
"tokensAbout": 900
},
{
"day": "2026-11-21",
"calls": 0,
"refused": 0,
"tokensAbout": 0
},
{
"day": "2026-11-20",
"calls": 0,
"refused": 0,
"tokensAbout": 0
},
{
"day": "2026-11-19",
"calls": 0,
"refused": 0,
"tokensAbout": 0
},
{
"day": "2026-11-18",
"calls": 0,
"refused": 0,
"tokensAbout": 0
}
],
"total": {
"calls": 15,
"refused": 1,
"tokensAbout": 6300
},
"tools": [
{
"tool": "plune_cases_search",
"calls": 11,
"refused": 0
},
{
"tool": "plune_get",
"calls": 4,
"refused": 1
}
]
}

No / invalid session

No such connection of this person

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}