---
title: "Read your coding plan [read]"
method: GET
path: "/billing/coding-plan"
---

# Read your coding plan \[read\]

`GET /billing/coding-plan`

## Request

- Base URL: `https://api.agentsky.dev/v1`
- URL: `https://api.agentsky.dev/v1/billing/coding-plan`
- Auth: none declared

Whether a paid month of the coding plan covers now (every API gateway call is then billed at cost), its monthly credit, when the month ends, whether it renews, why the last charge failed, and whether new members can join (enrollment open, full or closed).

## Response `200`

OK

- CodingPlan
  - `active` boolean, required: A paid month covers now
  - `monthly_credit_usd` number, nullable, required
  - `current_period_end` string, date-time, nullable, required
  - `renews` boolean, required: The plan charges again at current_period_end
  - `charge_failure` string, nullable, required: Why the last charge failed, worded for the cardholder
  - `enrollment` 'open' | 'full' | 'closed', required
  - `amounts_usd` number[], required

## Other responses

- `default`: Error — { error: { code, message, request_id } }

## Changes

- **2026-11-02** `e5e8f0229a99`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentsky/apis/agentsky-developer-api/changes/billing/coding-plan/get.md)

---

[API](https://skmtc.dev/agentsky/apis/agentsky-developer-api.md) - [All operations](https://skmtc.dev/agentsky/apis/agentsky-developer-api/llms.txt) - [OpenAPI document](https://skmtc.dev/agentsky/apis/agentsky-developer-api/revisions/0d435187cd55?raw)
