Skip to content

List the plan's notices

GET
/api/billing/notices
curl --request GET \
--url https://forge.example.com/api/billing/notices \
--header 'Authorization: Bearer <token>'

The limits that are near or passed, the AI allowance and the term’s end, as GET /api/billing answers them, without the rest. blocks is false for every limit on people and models, and true only for an AI allowance that is used up and for a plan that ended where the instance makes that read-only. enabled is false on an instance that sells no plans. For administrators.

OK

Media typeapplication/json
object
enabled
required
boolean
notices
required
Array<object>
object
key
required
string
level
required
string
title
required
string
text
required
string
blocks
required
boolean

Example generated

{
"enabled": true,
"notices": [
{
"key": "example",
"level": "example",
"title": "example",
"text": "example",
"blocks": true
}
]
}

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}