Home / Servers / Sentry API / list_organization_trace_item_attributes
List Trace Item Attributes
An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.
List Trace Item Attributes List the attribute keys available on a given trace item dataset (spans, logs, trace metrics, etc.), with optional substring and structured filtering. Pass expand=context (experimental) to include… [GET /api/0/organizations/{organization_id_or_slug}/trace-items/attributes/]
Name on the gateway: sentry_api__list_organization_trace_item_attributes · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
organization_id_or_slug required | string | The ID or slug of the organization the resource belongs to. |
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… |
environment | array | The name of environments to filter by. |
project | array | The IDs or slugs of projects to filter by. Project slugs are unique within… |
dataset | logs | preprod | processing_errors | spans | tracemetrics | The trace item dataset to list attributes for. One of itemType or dataset is… |
itemType | logs | preprod | processing_errors | spans | tracemetrics | Deprecated alias of dataset. Use dataset instead. |
attributeType | array | Filter to attributes of one or more types. Defaults to all types. |
substringMatch | string | Restrict results to attribute names containing this substring (case-sensitive). |
query | string | Sentry search syntax to filter trace items before computing attributes. |
expand | array | **Experimental:** This parameter is under active development and may change.… |
cursor | string | A pointer to the last object fetched and its sort order; used to retrieve the… |
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__list_organization_trace_item_attributes",
"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 list trace item attributes tool with organization_id_or_slug set to ….