> ## 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 Report Details API

> Retrieve computed Breezing report rows by token, account, or explorer balances to reconcile crypto accounting balances and movements.



## OpenAPI

````yaml GET /reports/{id}/details
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:
  /reports/{id}/details:
    get:
      tags:
        - Reports
      summary: Get computed report detail rows
      description: >-
        Get the computed detail rows for a report.


        • type=token (default) → token-level NGL rows from reportDetails:
        openingBalance, closingBalance, in, out, realizedNet, unrealizedNet,
        plus fiat counterparts.

        • type=account → balance-sheet rows from reportAccountDetails: account
        code, openingBalanceDebit/Credit, debit, credit.

        • type=explorerBalances → reconciliation rows from reportBalanceDetails:
        token, walletId, currentBalance, explorerBalance, chain.


        If the report's status is still "pending" or "progress", the data array
        may be empty. The response includes the parent report's current `status`
        so an agent can poll. 404 only if the report itself doesn't exist.
      parameters:
        - schema:
            type: string
            description: Report ID
            example: '1'
          required: true
          description: Report ID
          name: id
          in: path
        - 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
            enum:
              - token
              - account
              - explorerBalances
            default: token
            description: >-
              Which detail kind to fetch. Should match the report's own `type`
              field. Default "token".
          required: false
          description: >-
            Which detail kind to fetch. Should match the report's own `type`
            field. Default "token".
          name: type
          in: query
        - schema:
            type: string
            enum:
              - 'true'
              - 'false'
            description: >-
              When true, returns rows grouped per wallet with the wallet name
              and a roll-up summary. Applies to type=token (sums
              realizedNet/unrealizedNet/fiat fields per wallet) and
              type=explorerBalances (groups raw rows per wallet). Ignored for
              type=account (always flat). Default false.
          required: false
          description: >-
            When true, returns rows grouped per wallet with the wallet name and
            a roll-up summary. Applies to type=token (sums
            realizedNet/unrealizedNet/fiat fields per wallet) and
            type=explorerBalances (groups raw rows per wallet). Ignored for
            type=account (always flat). Default false.
          name: per_wallet
          in: query
      responses:
        '200':
          description: Report details retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                  data:
                    type: array
                    items:
                      nullable: true
                    description: >-
                      Report detail rows. Shape varies by `type`: token rows
                      have
                      token/walletId/openingBalance/closingBalance/realizedNet/...;
                      account rows have
                      account/openingBalanceDebit/openingBalanceCredit/debit/credit;
                      explorerBalances rows have
                      token/walletId/currentBalance/explorerBalance/chain.
                  status:
                    type: string
                    description: >-
                      Reflects the parent report's current status. If
                      "pending"/"progress", the data array may be empty, so keep
                      polling.
                required:
                  - success
                  - data
        '400':
          description: Invalid request
          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
        '404':
          description: Report not found
          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: {}

````