Home / Servers / Sentry API / get_organization_discover_saved_query

Retrieve an Organization's Discover Saved Query

An MCP tool from the Sentry API server, hosted on mcp.hjlabs.in.

Retrieve an Organization's Discover Saved Query Retrieve a saved query. [GET /api/0/organizations/{organization_id_or_slug}/discover/saved/{query_id}/]

Name on the gateway: sentry_api__get_organization_discover_saved_query · read-only.

Parameters

NameTypeDescription
organization_id_or_slug requiredstringThe ID or slug of the organization the resource belongs to.
query_id requiredintegerThe ID of the Discover query you'd like to retrieve.

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:

call_tool arguments
{
  "name": "sentry_api__get_organization_discover_saved_query",
  "arguments": {
    "organization_id_or_slug": "…",
    "query_id": 0
  }
}

Or connect the Sentry API server directly, which lists 272 tools including this one:

Run in your terminal
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 an organization's discover saved query tool with organization_id_or_slug set to ….

More from Sentry API