latestOpenAPI 3.1.02026-08-21615231.2 MB

dee5763763b0

Agents

Get agent

get/v1/agents/{agent_id}

Path parameters

string required
OR
'notion_ai' | '33333333-3333-3333-3333-333333333333' required

One of: notion_ai, 33333333-3333-3333-3333-333333333333

Query parameters

verboseboolean

Whether to include the agent's inline instructions. Defaults to false.

Headers

Notion-Version'2026-03-11' required

The API version to use for this request. The latest version is 2026-03-11.

Response

object'agent' required

Always agent

agent_type'notion_ai' | 'custom_agent' | 'autofill_custom_agent' | 'external' required

What kind of agent this is: "notion_ai" is the personal agent; "custom_agent" is a standalone agent you chat with; "autofill_custom_agent" fills a database property; "external" runs through an external provider.

namestring required
descriptionstring nullable required
instructions_page_idstring uuid required
status'active' | 'disabled' | 'deleted' required

"active" when the agent can run; "disabled" when it is paused (see pause_reason); "deleted" when it has been removed.

pause_reason'run_limit' | 'credit_limit' | 'runaway_credit_usage' | 'workspace_credit_limit' | 'failure_limit' | 'mark_session_failed_autopause' | 'disabled_from_workspace_settings' | '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' nullable required

One of: run_limit, credit_limit, runaway_credit_usage, workspace_credit_limit, failure_limit, mark_session_failed_autopause, disabled_from_workspace_settings, 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

created_timestring date-time

Date and time when this agent was created.

last_edited_timestring date-time

Date and time when this agent was last edited.

instructionsstring nullable

The agent's inline instructions when verbose=true, or null when its instructions are stored on a page.

Example response

{
  "icon": {
    "emoji": "😀"
  }
}