Update credit limit for an agent in a space
Update credit limit for an agent in a space.
workflows:write
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
The Admin API version to use for this request.
2026-06-01 Path Parameters
The ID of the custom agent (a UUID). The personal agent (Notion AI) is not supported.
Body
The per-agent credit limit as a non-negative integer, or null to clear the limit.
Response
The workspace admin credit limit after the change, or null if no workspace admin limit applies.
The credit limit that applies to the agent after the change. This is the lower of the workspace admin limit and the limit set by the agent creator. The workspace default applies if neither limit is set. null means no limit applies.
The agent's credit usage in the current billing period, or null if the billing period is unknown.
Whether this change resumed the agent after a credit-limit or runaway-credit-usage pause.
Whether the agent is active after the change. false can mean this change paused the agent or that the agent was already paused for another reason.