Whether Ask AI can answer, and this month's AI credits
GET/ v1/ projects/ {project}/ ai
enabled is false when the server has no Anthropic API key (reason: off). Otherwise reason says why a question would be refused now: credits_spent (the plan's credits and the top-up credits the wallet can pay for are used) or busy (Ask AI reached its own limit this month); it is absent when a question would be answered. Each organization spends its plan's AI credits first (credits_included, starting again at resets_at, the 1st in UTC), then top-up credits paid from its prepaid wallet (top_up_credits is how many more the wallet covers). A typical question takes one to three credits.
Path parameters
project
The project's id (
prj_…).Responses
Ask AI's state for the project's organization.
enabled
reason
offcredits_spentbusycredits_included
AI credits the organization's plan includes this month.
credits_used
AI credits the organization used this month, top-ups included.
top_up_credits
How many more AI credits its wallet can pay for.
resets_at
A time in UTC, ISO 8601.
Example response
1{2"enabled": true,3"reason": "off",4"credits_included": 1,5"credits_used": 1,6"top_up_credits": 1,7"resets_at": "2026-11-21T09:30:00Z"8}