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

# List chart-of-accounts entries

> Returns all ledger accounts (the chart of accounts) visible to the organization. Accounts are organized as a tree; only leaf nodes are assignable as posting categories. Every account has one of five types — `ASSET`, `LIABILITY`, `EQUITY`, `REVENUE`, `EXPENSE` — inherited from its position in the tree.

By default, hidden accounts are excluded; pass `includeHidden=true` to include accounts that were soft-hidden via `PATCH /api/accounts/{id}/settings` (hidden accounts remain in ledger history but don't appear in category pickers).



## OpenAPI

````yaml /openapi.json get /api/accounts
openapi: 3.1.0
info:
  title: Equated API
  version: 1.0.0
  description: >-
    Agent-facing accounting API. Authenticate with a bearer token issued from
    Settings → API Tokens, or via the in-app session cookie when called from the
    web client.
servers:
  - url: https://app.equated.co
    description: API server
security: []
paths:
  /api/accounts:
    get:
      tags:
        - Accounts
      summary: List chart-of-accounts entries
      description: >-
        Returns all ledger accounts (the chart of accounts) visible to the
        organization. Accounts are organized as a tree; only leaf nodes are
        assignable as posting categories. Every account has one of five types —
        `ASSET`, `LIABILITY`, `EQUITY`, `REVENUE`, `EXPENSE` — inherited from
        its position in the tree.


        By default, hidden accounts are excluded; pass `includeHidden=true` to
        include accounts that were soft-hidden via `PATCH
        /api/accounts/{id}/settings` (hidden accounts remain in ledger history
        but don't appear in category pickers).
      parameters:
        - schema:
            type: boolean
            nullable: true
          required: false
          name: includeHidden
          in: query
      responses:
        '200':
          description: All accounts visible to the organization
          content:
            application/json:
              schema:
                type: object
                properties:
                  categories:
                    type: array
                    items:
                      $ref: '#/components/schemas/Account'
                required:
                  - categories
      security:
        - bearerAuth: []
components:
  schemas:
    Account:
      type: object
      properties:
        id:
          type: integer
          minimum: 0
          exclusiveMinimum: true
        key:
          type: string
        name:
          type: string
        type:
          type: string
        parentId:
          type: integer
          nullable: true
          minimum: 0
          exclusiveMinimum: true
        kind:
          type: string
          enum:
            - group
            - category
        emoji:
          type: string
          nullable: true
        color:
          type: string
          nullable: true
        description:
          type: string
          nullable: true
        registerKind:
          type: string
          nullable: true
          enum:
            - clearing
            - bank
            - null
        bankAccount:
          type: object
          nullable: true
          properties:
            id:
              type: integer
              minimum: 0
              exclusiveMinimum: true
            feedType:
              type: string
            institutionName:
              type: string
              nullable: true
            institutionLogo:
              type: string
              nullable: true
            institutionUrl:
              type: string
              nullable: true
            isoCurrencyCode:
              type: string
              nullable: true
          required:
            - id
            - feedType
            - institutionName
            - institutionLogo
            - institutionUrl
            - isoCurrencyCode
          additionalProperties:
            nullable: true
      required:
        - id
        - key
        - name
        - type
        - parentId
        - kind
        - bankAccount
      additionalProperties:
        nullable: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API token issued from the Equated app under Settings → API Tokens.

````