Home / Servers / Sentry API / list_organization_discover_saved_queries
List an Organization's Discover Saved Queries
An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.
List an Organization's Discover Saved Queries Retrieve a list of saved queries that are associated with the given organization. [GET /api/0/organizations/{organization_id_or_slug}/discover/saved/]
Name on the gateway: sentry_api__list_organization_discover_saved_queries · read-only.
Parameters
| Name | Type | Description |
|---|---|---|
organization_id_or_slug required | string | The ID or slug of the organization the resource belongs to. |
per_page | integer | Limit the number of rows to return in the result. Default and maximum allowed… |
cursor | string | A pointer to the last object fetched and its sort order; used to retrieve the… |
query | string | The name of the Discover query you'd like to filter by. |
sortBy | string | The property to sort results by. If not specified, the results are sorted by… |
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_discover_saved_queries",
"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 an organization's discover saved queries tool with organization_id_or_slug set to ….