Update agent status
Path parameters
One of: notion_ai, 33333333-3333-3333-3333-333333333333
Headers
The API version to use for this request. The latest version is 2026-03-11.
Request body
Set to "active" to re-enable an agent that was disabled through this API, or "disabled" to turn off a running agent.
Response
"active" when the agent can run; "disabled" when it is paused (see pause_reason); "deleted" when it has been removed.
One of: run_limit, credit_limit, runaway_credit_usage, workspace_credit_limit, failure_limit, mark_session_failed_autopause, disabled_from_workspace_settings, disabled_from_workspace_settings_but_resumable, disabled_from_api, disabled_from_agent_settings, disabled_due_to_no_members_with_access, disabled_due_to_lack_of_editors, disabled_by_notion, internal_error, needs_user_review, tool_unavailable
ISO 8601 timestamp of when the agent was last edited.