What a connection used in the last 7 days
const url = 'https://beta-api.plune.ai/v1/mcp-connections/example/usage';const options = {method: 'GET', headers: {cookie: 'plune_session=<plune_session>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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).
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”The connection id.
Responses
Section titled “ Responses ”The usage
object
object
A UTC day.
Tool calls asked, the refused ones included.
The calls of them that were refused: by the limit of a minute, by the tool itself, or left without an answer.
An estimate, not a count of tokens: the characters of the text answered, divided by 4 and rounded up.
object
Tool calls asked, the refused ones included.
The calls of them that were refused: by the limit of a minute, by the tool itself, or left without an answer.
An estimate, not a count of tokens: the characters of the text answered, divided by 4 and rounded up.
object
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
object
Example generated
{ "error": "example"}