Get Transaction Profile
get_profileAnalyze aggregated CPU profiles for one Sentry transaction to surface hot paths, per-function p75/p95/p99 latency, user vs library code, and regressions against a baseline period.
Instructions
Analyze aggregated CPU profiles (flamegraph) for one Sentry transaction: hot paths, per-function p75/p95/p99, user versus library code, and regressions against a baseline period. For one profile by ID or URL, use get_profile_details.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_profile"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fresh | No | Bypass cached reads. | |
| period | No | Relative time window, e.g. `30m`, `24h`, `7d`, `90d`. | 7d |
| regionUrl | No | ||
| profileUrl | No | Sentry profile URL; the organization and project come from it. transactionName is still required. | |
| maxHotPaths | No | Number of hot paths to show. | |
| focusOnUserCode | No | Show only application code; false includes library code. | |
| projectSlugOrId | No | Project slug or numeric ID; required unless profileUrl has it. | |
| transactionName | No | Exact, case-sensitive transaction name, such as /api/users or POST /graphql. Required; find names with search_traces. | |
| organizationSlug | No | The organization slug, from `find_organizations`. In `org/project` notation, the part before the slash. | |
| compareAgainstPeriod | No | Baseline time window to compare against, for regression detection. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | Yes | ||
| analysis | Yes | Single-period analysis. Null when comparing or without data. | |
| guidance | No | ||
| projectId | Yes | ||
| comparison | Yes | Baseline comparison. Null unless both periods have data. | |
| baselinePeriod | Yes | Null unless compareAgainstPeriod was set. | |
| hasCurrentData | Yes | ||
| focusOnUserCode | Yes | ||
| hasBaselineData | Yes | Null unless compareAgainstPeriod was set. | |
| transactionName | Yes |