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

# Get Active Issues API

> Retrieve Breezing active issues blocking the close such as uncategorized transactions, missing prices, and broken syncs for crypto accounting.



## OpenAPI

````yaml GET /active-issues
openapi: 3.1.0
info:
  title: Breezing Public API
  version: 1.0.0
  description: >-
    Crypto accounting API for programmatic access and AI agents. Authenticate
    with an API key using the Authorization header: `Bearer brz_...`
servers:
  - url: https://api.breezing.io/v1
security:
  - BearerAuth: []
paths:
  /active-issues:
    get:
      tags:
        - Active Issues
      summary: List active issues blocking the close
      description: >-
        List active issues blocking the books from closing for this company.
        Issues include uncategorized transactions, missing prices, broken wallet
        syncs, and unmapped tokens. This is the highest-signal endpoint for
        finding what work needs to happen next.


        With `walletId`, returns per-wallet issue rows (each with its own id,
        title, count, data). Without `walletId`, returns issue totals grouped by
        title across all wallets, where data is a deduped array of payloads.


        Reads precomputed issue snapshots. To recompute the snapshot, call POST
        /active-issues/refresh.
      parameters:
        - schema:
            type: string
            description: >-
              Organization ID. Use GET /v1/companies to discover available
              org/company pairs.
            example: '1'
          required: true
          description: >-
            Organization ID. Use GET /v1/companies to discover available
            org/company pairs.
          name: orgId
          in: query
        - schema:
            type: string
            description: >-
              Company ID. Use GET /v1/companies to discover available companies
              and their access levels.
            example: '1'
          required: true
          description: >-
            Company ID. Use GET /v1/companies to discover available companies
            and their access levels.
          name: companyId
          in: query
        - schema:
            type: string
            description: >-
              Optional wallet ID. When provided, returns issues for that wallet
              (not grouped). Omit for company-wide grouped totals.
            example: '1'
          required: false
          description: >-
            Optional wallet ID. When provided, returns issues for that wallet
            (not grouped). Omit for company-wide grouped totals.
          name: walletId
          in: query
      responses:
        '200':
          description: Active issues retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                  data:
                    anyOf:
                      - type: array
                        items:
                          $ref: '#/components/schemas/ActiveIssueGrouped'
                      - type: array
                        items:
                          $ref: '#/components/schemas/ActiveIssuePerWallet'
                required:
                  - success
                  - data
        '400':
          description: Invalid query parameters
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                      - code
                      - message
                required:
                  - success
                  - error
        '401':
          description: Invalid or missing API key
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                      - code
                      - message
                required:
                  - success
                  - error
        '403':
          description: >-
            API key has no access to this company, has read-only access where
            write was required, or the company subscription is inactive
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                      - code
                      - message
                required:
                  - success
                  - error
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - false
                  error:
                    type: object
                    properties:
                      code:
                        type: string
                      message:
                        type: string
                    required:
                      - code
                      - message
                required:
                  - success
                  - error
      security:
        - BearerAuth: []
components:
  schemas:
    ActiveIssueGrouped:
      type: object
      properties:
        title:
          type: string
          description: Issue title (e.g. "Missing prices", "Uncategorized transactions")
        count:
          type: number
          description: Total occurrences of this issue across all wallets
        data:
          type: array
          items:
            nullable: true
          description: >-
            Deduped array of issue payloads (transaction IDs, token symbols,
            etc.)
      required:
        - title
        - count
        - data
    ActiveIssuePerWallet:
      type: object
      properties:
        id:
          type: number
        walletId:
          type: number
          nullable: true
        title:
          type: string
        count:
          type: number
        data:
          nullable: true
        createdAt:
          type: number
          description: Created timestamp (unix ms)
      required:
        - id
        - walletId
        - title
        - count
        - createdAt

````