Home / Servers / Sentry API / get_organization_profiling_flamegraph
Retrieve a Flamegraph for an Organization
An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.
Retrieve a Flamegraph for an Organization Retrieve an aggregated flamegraph for the organization, built from the requested data source (transactions, profiles, functions, or spans). Pass expand=metrics to include aggregated function metrics… [GET /api/0/organizations/{organization_id_or_slug}/profiling/flamegraph/]
Name on the gateway: sentry_api__get_organization_profiling_flamegraph · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
organization_id_or_slug required | string | The ID or slug of the organization the resource belongs to. |
project | array | The IDs or slugs of projects to filter by. Project slugs are unique within… |
environment | array | The name of environments to filter by. |
statsPeriod | string | The period of time for the query, will override the start & end parameters, a… |
start | string | The start of the period of time for the query, expected in ISO-8601 format.… |
end | string | The end of the period of time for the query, expected in ISO-8601 format. For… |
fingerprint | integer | A UInt32 function fingerprint. Only valid when dataSource=functions. |
dataSource | transactions | profiles | functions | spans | Source dataset to build the flamegraph from. Defaults to functions when… |
query | string | Sentry search syntax to filter the candidate profiles. |
expand | array | Optional expansions. Pass metrics to include flamegraph metric aggregates in… |
How to call it
Through the Smart Gateway, any client can run it by name with call_tool, or let the gateway find it with search_tools:
{
"name": "sentry_api__get_organization_profiling_flamegraph",
"arguments": {
"organization_id_or_slug": "…"
}
}Or connect the Sentry API server directly, which lists 272 tools including this one:
claude mcp add --transport http hj-sentry-api https://mcp.hjlabs.in/mcp/sentry-api \
--header "Authorization: Bearer YOUR_API_KEY"Try asking
Use the retrieve a flamegraph for an organization tool with organization_id_or_slug set to ….