> ## 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.

# Count the records a project is on



## OpenAPI

````yaml /openapi.json get /api/projects/{id}/usage
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/projects/{id}/usage:
    get:
      tags:
        - Projects
      summary: Count the records a project is on
      parameters:
        - schema:
            type: integer
            minimum: 0
            exclusiveMinimum: true
          required: true
          name: id
          in: path
      responses:
        '200':
          description: Records on the project, as their project or on a line
          content:
            application/json:
              schema:
                type: object
                properties:
                  usage:
                    $ref: '#/components/schemas/ProjectUsage'
                required:
                  - usage
      security:
        - bearerAuth: []
components:
  schemas:
    ProjectUsage:
      type: object
      properties:
        transactions:
          type: integer
          minimum: 0
        bills:
          type: integer
          minimum: 0
        invoices:
          type: integer
          minimum: 0
        reimbursements:
          type: integer
          minimum: 0
      required:
        - transactions
        - bills
        - invoices
        - reimbursements
      description: The records a project is on, as their project or on one of their lines.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API token issued from the Equated app under Settings → API Tokens.

````