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

# Get Billing Balances

> Get the organization's current available credits, active plan type, billing status, and usage-based billing setting.



## OpenAPI

````yaml /openapi.json get /v1/billing/balances
openapi: 3.1.0
info:
  title: MindFort API
  version: 1.0.0
  description: >-
    The MindFort Public API supports targets and domain verification, Discovery,
    assessments, finding lifecycle and analytics, reports, and read-only credit
    usage. Informational probe results are labeled `secured`.
servers:
  - url: https://api.mindfort.app
    description: Production
security:
  - bearerAuth: []
paths:
  /v1/billing/balances:
    get:
      tags:
        - Billing
      summary: Get Billing Balances
      description: >-
        Get the organization's current available credits, active plan type,
        billing status, and usage-based billing setting.
      operationId: getBillingBalances
      responses:
        '200':
          description: Billing balances returned
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicBillingBalances'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Not permitted for this organization
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    PublicBillingBalances:
      properties:
        credits_available:
          type: integer
          title: Credits Available
          description: >-
            Credits currently available for assessments and other billable
            operations.
        plan_type:
          type: string
          enum:
            - pro_plan
            - starter_plan
            - pro_plan_annual
            - starter_plan_annual
            - enterprise_plan
            - free_plan
            - demo_plan
          title: Plan Type
          description: The organization's current MindFort plan.
        status:
          type:
            - string
            - 'null'
          title: Status
          description: Current billing status (for example active, past_due, or canceled).
        usage_based_billing:
          type: boolean
          default: false
          title: Usage Based Billing
          description: Whether automatic usage-based credit shortfall invoicing is enabled.
      type: object
      required:
        - credits_available
        - plan_type
        - status
        - usage_based_billing
      title: PublicBillingBalances
      additionalProperties: false
    ErrorResponse:
      type: object
      properties:
        error:
          type: string
          description: Human-readable error message
        code:
          type: string
          description: Stable machine-readable error code when one is available
        request_id:
          type: string
          description: Unique request identifier for debugging
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key generated from the MindFort dashboard. Pass as `Authorization:
        Bearer <your-api-key>`.

````

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