The overage setting of the project’s plan owner, and what it bought this month
const url = 'https://beta-api.plune.ai/v1/settings/ai/credits/overage';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://beta-api.plune.ai/v1/settings/ai/credits/overage \ --header 'Authorization: Bearer <token>'#1427 (D12–D14, frame 04). An owner or a member reads it; a reader gets 403.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”The setting
object
#1427 (D12–D14): overage — when a Plune AI draft finds no credit, a pack is bought automatically within the owner’s monthly cap.
object
US cents a calendar month (UTC), at least one pack ($80). null until set.
What overage bought this calendar month (paid, or still being bought), US cents.
Who an overage pack is bought through — the plan’s paid subscription’s provider; null: none, so overage cannot buy.
Example
{ "overage": { "enabled": true, "capUsdCents": 24000, "spentUsdCents": 8000, "provider": "liqpay" }}No / invalid token or session
A reader asked
object
Example
{ "error": "AI settings are not visible to a reader"}Rate-limited: the per-route throttle, or the per-minute request limit of the plan an API token counts by (#1442; the body names the plan, #2092). Retry-After carries the seconds until the window rolls over.
object
Example generated
{ "error": "example"}Headers
Section titled “Headers ”Seconds until the window rolls over
This server keeps no credits ledger
object
Example
{ "error": "AI platform not configured — contact your operator"}