Per-tool MCP call counts for heatmap
GET
/api/v1/connections/tools/usage
const url = 'https://api.yggy.tech/api/v1/connections/tools/usage?windowDays=30&scope=mine';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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://api.yggy.tech/api/v1/connections/tools/usage?windowDays=30&scope=mine' \ --header 'Authorization: Bearer <token>'Returns aggregated tool call counts over a rolling window. scope=org requires admin/owner; members always get mine.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ” windowDays
number
scope
string
Responses
Section titled “ Responses ”Tool usage counts
Media type application/json
object
tools
required
Array<object>
object
toolName
required
string
count
required
number
windowDays
required
number
scope
required
string
Example
{ "scope": "mine"}Permission denied