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

# Get billing subscription



## OpenAPI

````yaml api-reference/openapi.account.json GET /billing/subscription
openapi: 3.1.0
info:
  title: Aether Account & Integrations API
  version: 0.1.0
  description: >-
    Account, billing, and integration-management endpoints used by the Aether
    web app and CLI. Root-mounted; NOT part of the versioned /v1 contract.
servers:
  - url: https://api.runaether.dev
security:
  - bearerAuth: []
paths:
  /billing/subscription:
    get:
      tags:
        - billing
      summary: Get billing subscription
      operationId: getBillingSubscription
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingSubscriptionResponse'
          description: OK
        '401':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Unauthorized
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Not Found
        '500':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Internal Server Error
components:
  schemas:
    BillingSubscriptionResponse:
      additionalProperties: false
      properties:
        active_billing_cycle_id:
          type: string
        billing_cycle_ends_at:
          type: string
        billing_cycle_starts_at:
          type: string
        cancel_at_period_end:
          type: boolean
        cancellation_effective_at:
          type: string
        checkout_pending:
          type: boolean
        current_period_end:
          type: string
        current_period_start:
          type: string
        monthly_credit_grant:
          format: int64
          type: integer
        payment_state:
          enum:
            - not_required
            - checkout_pending
            - active
            - grace_period
            - past_due
            - unpaid
            - canceled
            - blocked
          type: string
        portal_available:
          type: boolean
        subscription_status:
          enum:
            - free
            - active
            - trialing
            - incomplete
            - past_due
            - unpaid
            - canceled
            - paused
          type: string
        tier:
          enum:
            - free
            - starter
            - pro
            - max
          type: string
      required:
        - tier
        - monthly_credit_grant
        - subscription_status
        - payment_state
        - cancel_at_period_end
        - active_billing_cycle_id
        - billing_cycle_starts_at
        - checkout_pending
        - portal_available
      type: object
    ErrorResponse:
      additionalProperties: false
      properties:
        code:
          type: string
        error:
          minLength: 1
          type: string
      required:
        - error
      type: object
  securitySchemes:
    bearerAuth:
      bearerFormat: JWT
      scheme: bearer
      type: http

````