Skip to main content
PATCH
Update the default agent credit limit for a workspace
The organization bot token must have the following scopes:
  • workflows:write

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Notion-Version
enum<string>
required

The Admin API version to use for this request.

Available options:
2026-06-01

Path Parameters

space_id
string<uuid>
required

Body

application/json
default_agent_credit_limit
number | null
required

Workspace-wide default agent credit limit, applied to agents going forward. Must be a non-negative whole number of credits; other values are rejected with a validation error. Use null to remove the workspace-wide default cap.

Response

default_agent_credit_limit
number | null
required

The workspace-wide default agent credit limit now in effect, or null when no default cap is set.

space_id
string<uuid>
required