billing
Grant Ai Credit
Comp an organization AI credit. Platform admin only.
Not reachable by an org's own admins, and not exposed over MCP at all. Now that customers can buy credit themselves, this is the comp path: credit nobody paid for, which is why it stays deliberate and attributable rather than merely privileged. Every call writes an ai_credit_grants row naming the granting user.
LogtoAdminUser and not AdminUser: the in-app admin role can be set in the database independently of the Logto scope, and minting money is not something a row in a table should be able to authorize.
post/api/billing/ai-balance/grant
Request
- Base URL: https://softkiln.com (the document declares no server; this is the origin it was published from)
- URL: https://softkiln.com/api/billing/ai-balance/grant
- Auth: none declared
Query parameters
orgstring required
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.