> ## Documentation Index
> Fetch the complete documentation index at: https://docs.runaether.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# List Sentry projects

> Lists every project of the organization's connected Sentry organization, as Sentry lists them now: the projects a route can take issues from.

Use this tool when you need to:
- Find the sentry_project_id to pass to createSentryRoute
- Check which Sentry projects exist before routing their issues to Aether projects

Examples:
- GET /orgs/{orgID}/sentry/projects

Hints:
- Takes no parameters beyond orgID and is not paged: items holds every project, in the order Sentry returns them, read live from Sentry across its pages; an organization listing more than 100 pages of projects fails with 502.
- Each project carries id, slug, name, platform and date_created as Sentry spells them; a project Sentry lists with a blank id, slug or name fails the read with 502.
- Use listSentryRoutes instead to read which Sentry projects already have a route.
- Owners, admins and members of the organization, with a session or a platform API key; a viewer or billing member is refused with 403 org_role_insufficient, a non-member with 403 org_membership_required, an orgID that is not a uuid with 400, and an agent host's grant with 403 agent_host_route_not_allowed.
- Refused with 404 not_connected when Sentry is not installed and 409 reauthorization_required when Sentry refuses to mint the installation a token; a Sentry that fails to answer, or answers with an error, is 502 bad_gateway.



## OpenAPI

````yaml api-reference/openapi.json GET /orgs/{orgID}/sentry/projects
openapi: 3.1.0
info:
  title: Aether API
  version: 0.1.0
servers:
  - url: https://api.runaether.dev
security:
  - bearerAuth: []
paths:
  /orgs/{orgID}/sentry/projects:
    get:
      tags:
        - sentry
      summary: List Sentry projects
      description: >-
        Lists every project of the organization's connected Sentry organization,
        as Sentry lists them now: the projects a route can take issues from.


        Use this tool when you need to:

        - Find the sentry_project_id to pass to createSentryRoute

        - Check which Sentry projects exist before routing their issues to
        Aether projects


        Examples:

        - GET /orgs/{orgID}/sentry/projects


        Hints:

        - Takes no parameters beyond orgID and is not paged: items holds every
        project, in the order Sentry returns them, read live from Sentry across
        its pages; an organization listing more than 100 pages of projects fails
        with 502.

        - Each project carries id, slug, name, platform and date_created as
        Sentry spells them; a project Sentry lists with a blank id, slug or name
        fails the read with 502.

        - Use listSentryRoutes instead to read which Sentry projects already
        have a route.

        - Owners, admins and members of the organization, with a session or a
        platform API key; a viewer or billing member is refused with 403
        org_role_insufficient, a non-member with 403 org_membership_required, an
        orgID that is not a uuid with 400, and an agent host's grant with 403
        agent_host_route_not_allowed.

        - Refused with 404 not_connected when Sentry is not installed and 409
        reauthorization_required when Sentry refuses to mint the installation a
        token; a Sentry that fails to answer, or answers with an error, is 502
        bad_gateway.
      operationId: listSentryProjects
      parameters:
        - in: path
          name: orgID
          required: true
          schema:
            format: uuid
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListSentryProject'
          description: OK
        '400':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SentryErrorResponse'
          description: Bad Request
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SentryErrorResponse'
          description: Unauthorized
        '403':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrgAuthorizationErrorResponse'
          description: Forbidden
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SentryErrorResponse'
          description: Not Found
        '409':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SentryErrorResponse'
          description: Conflict
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SentryErrorResponse'
          description: Internal Server Error
        '502':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SentryErrorResponse'
          description: Bad Gateway
components:
  schemas:
    ListSentryProject:
      additionalProperties: false
      properties:
        items:
          items:
            $ref: '#/components/schemas/SentryProject'
          type: array
      required:
        - items
      type: object
    SentryErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - agent_profile_not_found
            - bad_gateway
            - bad_request
            - conflict
            - default_actor_not_member
            - forbidden
            - gateway_timeout
            - gone
            - internal_error
            - method_not_allowed
            - not_acceptable
            - not_connected
            - not_found
            - not_implemented
            - payment_required
            - precondition_failed
            - project_has_no_repository
            - project_not_found
            - project_repo_disconnected
            - rate_limited
            - reauthorization_required
            - request_canceled
            - request_timeout
            - request_too_large
            - route_exists
            - route_not_found
            - sentry_project_not_found
            - service_unavailable
            - unauthenticated
            - unsupported_media_type
            - validation_failed
          minLength: 1
          type: string
        error:
          minLength: 1
          type: string
        errors:
          items:
            $ref: '#/components/schemas/ErrorDetail'
          type: array
      required:
        - error
        - code
      type: object
    OrgAuthorizationErrorResponse:
      additionalProperties: false
      properties:
        code:
          enum:
            - org_membership_required
            - org_role_insufficient
            - org_suspended
            - account_deleting
            - agent_host_route_not_allowed
            - credential_kind_not_admitted
            - grant_scope_insufficient
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
        - code
      type: object
    SentryProject:
      additionalProperties: false
      properties:
        date_created:
          description: When Sentry created the project, as Sentry spells it.
          type: string
        id:
          minLength: 1
          type: string
        name:
          minLength: 1
          type: string
        platform:
          type: string
        slug:
          minLength: 1
          type: string
      required:
        - id
        - slug
        - name
        - platform
        - date_created
      type: object
    ErrorDetail:
      additionalProperties: false
      properties:
        location:
          description: >-
            Where the error occurred, e.g. 'body.items[3].tags' or
            'path.thing-id'
          type: string
        message:
          description: Error message text
          type: string
        value:
          description: The value at the given location
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.