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

# List issues

> List issues in a project, optionally filtered by status and severity.



## OpenAPI

````yaml /openapi.json get /issues
openapi: 3.2.0
info:
  title: Sazabi Public API
  version: 1.0.0
  description: >
    Public REST API for Sazabi. Authenticate using a secret API key in the
    Authorization header.


    ## Pagination


    This API uses two pagination strategies depending on the endpoint type:


    ### Cursor-Based Pagination (List Endpoints)


    List endpoints (threads, messages, keys) use cursor-based pagination for
    efficient, consistent results:


    - **Parameters**: `limit` (items per page, default 50, max 100), `cursor`
    (opaque pagination token)

    - **Response**: Includes `nextCursor` field - pass this as `cursor` in the
    next request

    - **End of results**: When `nextCursor` is `null`, there are no more results

    - **Example**: `GET
    /v1/threads?limit=20&cursor=01234567-89ab-cdef-0123-456789abcdef`


    ### Page-Based Pagination (Search Endpoints)


    Search endpoints use page-based pagination due to the underlying search
    engine:


    - **Parameters**: `limit` (items per page, default 20, max 100), `page`
    (1-indexed page number)

    - **Response**: Includes `pagination` object with `page`, `limit`,
    `totalResults`, `totalPages`

    - **Example**: `GET /v1/search/threads?q=error&limit=10&page=2`
servers:
  - url: https://api.sazabi.com/v1
    description: Production
security: []
tags:
  - name: 'section: Send data'
    summary: Send data
    kind: nav
  - name: 'section: Detect issues'
    summary: Detect issues
    kind: nav
  - name: 'section: Triage issues'
    summary: Triage issues
    kind: nav
  - name: 'section: Ask Sazabi'
    summary: Ask Sazabi
    kind: nav
  - name: 'section: Explore logs'
    summary: Explore logs
    kind: nav
  - name: 'section: Ship fixes'
    summary: Ship fixes
    kind: nav
  - name: 'section: Integrations'
    summary: Integrations
    kind: nav
  - name: 'section: Organization and access'
    summary: Organization and access
    kind: nav
  - name: 'section: Billing'
    summary: Billing
    kind: nav
  - name: 'section: Webhooks and events'
    summary: Webhooks and events
    kind: nav
  - name: 'section: CLI onboarding support'
    summary: CLI onboarding support
    kind: nav
  - name: Log Sources
    summary: Log Sources
    kind: nav
    parent: 'section: Send data'
  - name: Log Streams
    summary: Log Streams
    kind: nav
    parent: 'section: Send data'
  - name: Public Keys
    summary: Public Keys
    kind: nav
    parent: 'section: Send data'
  - name: Signals
    summary: Signals
    kind: nav
    parent: 'section: Detect issues'
  - name: Issues
    summary: Issues
    kind: nav
    parent: 'section: Triage issues'
  - name: Components
    summary: Components
    kind: nav
    parent: 'section: Triage issues'
  - name: Notification delivery rules
    summary: Notification delivery rules
    kind: nav
    parent: 'section: Triage issues'
  - name: Notification channels
    summary: Notification channels
    kind: nav
    parent: 'section: Triage issues'
  - name: Tasks
    summary: Tasks
    kind: nav
    parent: 'section: Triage issues'
  - name: Task creation rules
    summary: Task creation rules
    kind: nav
    parent: 'section: Triage issues'
  - name: Task status mapping
    summary: Task status mapping
    kind: nav
    parent: 'section: Triage issues'
  - name: Work Items
    summary: Work Items
    kind: nav
    parent: 'section: Triage issues'
  - name: Threads
    summary: Threads
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Messages
    summary: Messages
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Runs
    summary: Runs
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Search
    summary: Search
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Memory
    summary: Memory
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Artifacts
    summary: Artifacts
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Tool permissions
    summary: Tool permissions
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Sandbox Environment Variables
    summary: Sandbox Environment Variables
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Sandbox Init Script
    summary: Sandbox Init Script
    kind: nav
    parent: 'section: Ask Sazabi'
  - name: Logs
    summary: Logs
    kind: nav
    parent: 'section: Explore logs'
  - name: Dashboards
    summary: Dashboards
    kind: nav
    parent: 'section: Explore logs'
  - name: AgentDispatches
    summary: AgentDispatches
    kind: nav
    parent: 'section: Ship fixes'
  - name: Pull Requests
    summary: Pull Requests
    kind: nav
    parent: 'section: Ship fixes'
  - name: Repos
    summary: Repos
    kind: nav
    parent: 'section: Ship fixes'
  - name: Integrations
    summary: Integrations
    kind: nav
    parent: 'section: Integrations'
  - name: MCP Connectors
    summary: MCP Connectors
    kind: nav
    parent: 'section: Integrations'
  - name: Connected Accounts
    summary: Connected Accounts
    kind: nav
    parent: 'section: Integrations'
  - name: Sandbox CLIs
    summary: Sandbox CLIs
    kind: nav
    parent: 'section: Integrations'
  - name: Auth
    summary: Auth
    kind: nav
    parent: 'section: Organization and access'
  - name: Organizations
    summary: Organizations
    kind: nav
    parent: 'section: Organization and access'
  - name: Projects
    summary: Projects
    kind: nav
    parent: 'section: Organization and access'
  - name: Members
    summary: Members
    kind: nav
    parent: 'section: Organization and access'
  - name: Teams
    summary: Teams
    kind: nav
    parent: 'section: Organization and access'
  - name: SSO
    summary: SSO
    kind: nav
    parent: 'section: Organization and access'
  - name: Secret Keys
    summary: Secret Keys
    kind: nav
    parent: 'section: Organization and access'
  - name: Support Tickets
    summary: Support Tickets
    kind: nav
    parent: 'section: Organization and access'
  - name: Billing
    summary: Billing
    kind: nav
    parent: 'section: Billing'
  - name: Webhooks
    summary: Webhooks
    kind: nav
    parent: 'section: Webhooks and events'
  - name: Webhook events
    summary: Webhook events
    kind: nav
    parent: 'section: Webhooks and events'
  - name: Onboarding
    summary: Onboarding
    kind: nav
    parent: 'section: CLI onboarding support'
  - name: Onboarding Tasks
    summary: Onboarding Tasks
    kind: nav
    parent: 'section: CLI onboarding support'
  - name: Recommendations
    summary: Recommendations
    kind: nav
    parent: 'section: CLI onboarding support'
paths:
  /issues:
    get:
      tags:
        - Issues
      summary: List issues
      description: List issues in a project, optionally filtered by status and severity.
      operationId: issues.list
      parameters:
        - name: projectId
          in: query
          schema:
            type: string
            format: uuid
            description: >-
              Project to list issues for. Auto-filled from CLI and SDK context
              when omitted.
          allowEmptyValue: true
          allowReserved: true
        - name: limit
          in: query
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
            description: Maximum number of issues to return per page.
          allowEmptyValue: true
          allowReserved: true
        - name: cursor
          in: query
          schema:
            type: string
            format: uuid
            description: >-
              Cursor from a previous response's nextCursor to fetch the next
              page.
          allowEmptyValue: true
          allowReserved: true
        - name: status
          in: query
          schema:
            enum:
              - open
              - resolved
              - ignored
            type: string
            description: Filter by issue status.
          allowEmptyValue: true
          allowReserved: true
        - name: severity
          in: query
          schema:
            enum:
              - low
              - medium
              - high
              - critical
            type: string
            description: Filter by severity.
          allowEmptyValue: true
          allowReserved: true
        - name: type
          in: query
          schema:
            enum:
              - reliability
              - correctness
              - security
              - efficiency
            type: string
            description: Return only issues whose types include this group.
          allowEmptyValue: true
          allowReserved: true
        - name: category
          in: query
          schema:
            enum:
              - outage
              - silent_failure
              - regression
              - performance_degradation
              - capacity_risk
              - background_job_failure
              - dependency_failure
              - frontend_breakage
              - data_integrity
              - business_flow_breakage
              - configuration_drift
              - active_attack
              - suspicious_access
              - exposure
              - abuse_and_fraud
              - agent_misbehavior
              - cost_anomaly
              - observability_gap
            type: string
            description: Return only issues whose categories include this one.
          allowEmptyValue: true
          allowReserved: true
        - name: componentId
          in: query
          schema:
            type: string
            format: uuid
            description: Filter by component ID.
          allowEmptyValue: true
          allowReserved: true
        - name: causedByPullRequestUrl
          in: query
          schema:
            type: string
            format: uri
            description: >-
              Return only issues that name this GitHub or Bitbucket pull request
              as a suspected cause.
          allowEmptyValue: true
          allowReserved: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  issues:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        projectId:
                          type: string
                          format: uuid
                        name:
                          type: string
                        description:
                          anyOf:
                            - type: string
                            - type: 'null'
                        status:
                          enum:
                            - open
                            - resolved
                            - ignored
                          type: string
                        severity:
                          enum:
                            - low
                            - medium
                            - high
                            - critical
                          type: string
                        types:
                          type: array
                          minItems: 1
                          items:
                            enum:
                              - reliability
                              - correctness
                              - security
                              - efficiency
                            type: string
                            description: >-
                              Issue group. reliability: Users or systems see
                              failures, slowness or lost work. correctness: The
                              system runs but produces wrong results or state.
                              security: Someone is attacking, abusing or could
                              exploit the system or its data. efficiency: Waste
                              or blind spots: spend that grew without reason, or
                              telemetry that went missing.
                          description: >-
                            The issue's groups, at least one. An issue users may
                            see failing or slow includes reliability.
                        categories:
                          type: array
                          items:
                            enum:
                              - outage
                              - silent_failure
                              - regression
                              - performance_degradation
                              - capacity_risk
                              - background_job_failure
                              - dependency_failure
                              - frontend_breakage
                              - data_integrity
                              - business_flow_breakage
                              - configuration_drift
                              - active_attack
                              - suspicious_access
                              - exposure
                              - abuse_and_fraud
                              - agent_misbehavior
                              - cost_anomaly
                              - observability_gap
                            type: string
                            description: >-
                              Issue category, within its group. outage
                              (reliability): A service, a flow most users depend
                              on, or a whole feature is down or failing for most
                              attempts. silent_failure (reliability): Work fails
                              or stops without an error anyone sees: dropped
                              events, skipped jobs, empty results. regression
                              (reliability): Something that worked before a
                              deploy, configuration or dependency change no
                              longer does. performance_degradation
                              (reliability): Latency, throughput or timeouts got
                              worse enough that users or callers notice.
                              capacity_risk (reliability): A resource is near
                              its limit: disk, memory, connections, quotas, rate
                              limits or an expiring certificate.
                              background_job_failure (reliability): Scheduled,
                              queued or batch work fails, retries without end or
                              falls behind. dependency_failure (reliability): A
                              database, cache, queue or third-party API the
                              service relies on fails or slows down.
                              frontend_breakage (reliability): Pages, screens or
                              client code crash, fail to load or render wrong
                              for users. data_integrity (correctness): Data is
                              wrong, duplicated, lost or inconsistent between
                              stores. business_flow_breakage (correctness): A
                              business flow such as signup, checkout, billing or
                              fulfilment completes with the wrong outcome.
                              configuration_drift (correctness): Configuration,
                              flags or infrastructure differ from what was
                              intended or between environments. active_attack
                              (security): Attack payloads, exploit attempts or
                              authentication attacks that reach the application,
                              not traffic the firewall blocked entirely.
                              suspicious_access (security): Unusual logins,
                              privilege changes or data egress by an account or
                              credential. exposure (security): A secret in logs,
                              a vulnerable dependency, risky code or
                              configuration that could be exploited.
                              abuse_and_fraud (security): Bots, scraping, fake
                              signups, promotion abuse or payment fraud.
                              agent_misbehavior (security): An AI agent acts
                              outside its instructions: prompt injection,
                              unexpected tool use or a runaway loop.
                              cost_anomaly (efficiency): Spend or usage on
                              infrastructure, vendors or models rose without a
                              matching rise in work. observability_gap
                              (efficiency): Logs, metrics or traces a team
                              relies on stopped arriving, lost fields or became
                              too noisy to use.
                          description: >-
                            The issue's catalog categories. Each category's
                            group is added to the types.
                        componentId:
                          anyOf:
                            - type: string
                              format: uuid
                            - type: 'null'
                        componentName:
                          anyOf:
                            - type: string
                            - type: 'null'
                          description: >-
                            The component's display name, as the issue page
                            shows it. Null when the issue has no component.
                        createdAt:
                          type: string
                          format: date-time
                        resolvedAt:
                          anyOf:
                            - type: string
                              format: date-time
                            - type: 'null'
                        mutedAt:
                          anyOf:
                            - type: string
                              format: date-time
                            - type: 'null'
                        muteHitCount:
                          type: integer
                          minimum: 0
                          maximum: 9007199254740991
                        lastActivityAt:
                          anyOf:
                            - type: string
                              format: date-time
                            - type: 'null'
                        lastDeliveredAt:
                          anyOf:
                            - type: string
                              format: date-time
                            - type: 'null'
                        locked:
                          type: boolean
                          description: >-
                            Deprecated. Always false; issue details are never
                            credit-locked.
                        redacted:
                          type: boolean
                          description: >-
                            Deprecated. Always false; issue details are never
                            credit-redacted.
                      required:
                        - id
                        - projectId
                        - name
                        - description
                        - status
                        - severity
                        - types
                        - categories
                        - componentId
                        - componentName
                        - createdAt
                        - resolvedAt
                        - mutedAt
                        - muteHitCount
                        - lastActivityAt
                        - lastDeliveredAt
                        - locked
                        - redacted
                  nextCursor:
                    anyOf:
                      - type: string
                        format: uuid
                      - type: 'null'
                    description: >-
                      Pass as 'cursor' to fetch the next page. Null when there
                      are no more results.
                required:
                  - issues
                  - nextCursor

````

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