Skip to content

The overage setting of the project’s plan owner, and what it bought this month

GET
/v1/settings/ai/credits/overage
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.

The setting

Media type application/json
object
overage
required

#1427 (D12–D14): overage — when a Plune AI draft finds no credit, a pack is bought automatically within the owner’s monthly cap.

object
enabled
required
boolean
capUsdCents
required

US cents a calendar month (UTC), at least one pack ($80). null until set.

integer
nullable >= 8000
spentUsdCents
required

What overage bought this calendar month (paid, or still being bought), US cents.

integer
provider
required

Who an overage pack is bought through — the plan’s paid subscription’s provider; null: none, so overage cannot buy.

string
nullable
Allowed values: paddle monopay liqpay
Example
{
"overage": {
"enabled": true,
"capUsdCents": 24000,
"spentUsdCents": 8000,
"provider": "liqpay"
}
}

No / invalid token or session

A reader asked

Media type application/json
object
error
required
string
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.

Media type application/json
object
error
required
string
Example generated
{
"error": "example"
}
Retry-After
integer

Seconds until the window rolls over

This server keeps no credits ledger

Media type application/json
object
error
required
string
Example
{
"error": "AI platform not configured — contact your operator"
}