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

# List budgets eligible for alerts



## OpenAPI

````yaml /api-reference/openapi.json get /alerts-v2/budgets-with-alert-status
openapi: 3.0.0
info:
  title: Costory
  version: '1.0'
  description: API Documentation
servers:
  - url: ''
    description: Production server
security: []
paths:
  /alerts-v2/budgets-with-alert-status:
    get:
      tags:
        - Alerts V2
      summary: List budgets eligible for alerts
      operationId: listBudgetsWithAlertStatusV2
      responses:
        '200':
          description: Budgets visible to the caller with alert and edit status
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BudgetsWithAlertStatus'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Unauthorized'
      security:
        - bearerAuth: []
components:
  schemas:
    BudgetsWithAlertStatus:
      type: array
      items:
        type: object
        properties:
          id:
            type: string
          name:
            type: string
          virtualDimensionName:
            type: string
          hasAlert:
            type: boolean
          canEdit:
            type: boolean
        required:
          - id
          - name
          - virtualDimensionName
          - hasAlert
          - canEdit
    Unauthorized:
      type: object
      properties:
        error:
          type: string
          description: Unauthorized error message
      required:
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT or Clerk ak_* API key
      description: >-
        Send `Authorization: Bearer <credential>` using either a Clerk session
        JWT or a Clerk API key (`ak_*`). API keys may identify a user (`user_*`)
        or organization (`org_*`) principal and are generated in the Clerk
        Dashboard under API keys.

````