---
title: "Billing State"
method: GET
path: "/api/accounts/{account_id}/billing"
---

# Billing State

`GET /api/accounts/{account_id}/billing`

## Path parameters

- `account_id` integer, required

## Response `200`

Successful Response

- BillingStateDTO
  - `plan` string, required
  - `hasCapacity` boolean, required
  - `monthlyLimit` integer, nullable, required
  - `used` integer, required
  - `periodEnd` string, date-time, nullable, required
  - `manage` BillingManageDTO, required
    - `allowed` boolean, required
    - `reason` 'owner' | 'not_owner' | 'role_unknown', required

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/codealmanac/apis/codealmanac-api.md) · [All operations](https://skmtc.dev/codealmanac/apis/codealmanac-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/codealmanac/codealmanac-api/revisions/bc053e1aa7f6/schema)
