Sentry Explore API

Query and analyze event data

Operations 2

GET /organizations/{organization_id_or_slug}/events/ Sentry Query Explore events in table format #
GET /organizations/{organization_id_or_slug}/events-stats/ Sentry Query Explore events in timeseries format #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/sentry-system-explore-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

sentry-system-explore-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Sentry Alerts Explore API
  description: The Alerts API provides endpoints for managing alert rules in Sentry, including creating, retrieving, updating, and deleting metric alert rules and issue alert rules, as well as managing spike protection notification actions.
  version: 0.0.1
  contact:
    name: Sentry Support
    url: https://sentry.io/support/
    email: support@sentry.io
servers:
- url: https://sentry.io/api/0
  description: Sentry Production API
security:
- BearerAuth: []
tags:
- name: Explore
  description: Query and analyze event data
paths:
  /organizations/{organization_id_or_slug}/events/:
    get:
      operationId: queryExploreEventsTable
      summary: Sentry Query Explore events in table format
      description: Returns event data in table format, allowing you to slice and dice your events using various fields and aggregations.
      tags:
      - Explore
      parameters:
      - $ref: '#/components/parameters/OrganizationIdOrSlug'
      - name: field
        in: query
        required: true
        description: The fields to select (may be specified multiple times).
        schema:
          type: array
          items:
            type: string
      - name: query
        in: query
        description: An optional Sentry search query to filter events.
        schema:
          type: string
      - name: statsPeriod
        in: query
        description: Stats period (e.g., 24h, 14d).
        schema:
          type: string
      - name: start
        in: query
        description: Start date for the query range.
        schema:
          type: string
          format: date-time
      - name: end
        in: query
        description: End date for the query range.
        schema:
          type: string
          format: date-time
      - name: sort
        in: query
        description: Field to sort by (prefix with - for descending).
        schema:
          type: string
      - name: project
        in: query
        description: Project IDs to filter by.
        schema:
          type: array
          items:
            type: integer
      - name: environment
        in: query
        description: Environment name to filter by.
        schema:
          type: string
      - name: per_page
        in: query
        description: Number of results per page.
        schema:
          type: integer
      - name: cursor
        in: query
        description: Pagination cursor.
        schema:
          type: string
      responses:
        '200':
          description: Event data in table format.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                  meta:
                    type: object
                    properties:
                      fields:
                        type: object
        '400':
          description: Bad request or invalid query.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
  /organizations/{organization_id_or_slug}/events-stats/:
    get:
      operationId: queryExploreEventsTimeseries
      summary: Sentry Query Explore events in timeseries format
      description: Returns event data in timeseries format, suitable for charting and visualization over time.
      tags:
      - Explore
      parameters:
      - $ref: '#/components/parameters/OrganizationIdOrSlug'
      - name: yAxis
        in: query
        required: true
        description: The aggregate field to chart (e.g., count(), p50(transaction.duration)).
        schema:
          type: array
          items:
            type: string
      - name: query
        in: query
        description: An optional search query to filter events.
        schema:
          type: string
      - name: statsPeriod
        in: query
        description: Stats period (e.g., 24h, 14d).
        schema:
          type: string
      - name: start
        in: query
        description: Start date for the query range.
        schema:
          type: string
          format: date-time
      - name: end
        in: query
        description: End date for the query range.
        schema:
          type: string
          format: date-time
      - name: interval
        in: query
        description: Resolution interval (e.g., 1h, 1d).
        schema:
          type: string
      - name: project
        in: query
        description: Project IDs to filter by.
        schema:
          type: array
          items:
            type: integer
      - name: environment
        in: query
        description: Environment name to filter by.
        schema:
          type: string
      responses:
        '200':
          description: Event data in timeseries format.
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: array
                      items:
                        type: object
                  meta:
                    type: object
                  start:
                    type: string
                    format: date-time
                  end:
                    type: string
                    format: date-time
                  intervals:
                    type: array
                    items:
                      type: string
                      format: date-time
        '400':
          description: Bad request or invalid query.
        '401':
          description: Unauthorized.
        '403':
          description: Forbidden.
components:
  parameters:
    OrganizationIdOrSlug:
      name: organization_id_or_slug
      in: path
      required: true
      description: The ID or slug of the organization.
      schema:
        type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: Authentication token for the Sentry API.