Get agents in a space
Get agents in a space.
workflows:read
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
Query Parameters
Case-insensitive substring match against the agent name or description. Every other string filter uses exact matching against its target field values.
User IDs of agent creators to filter by.
Inclusive lower bound on created_time, as epoch-millisecond digits. Requests with non-numeric values return a validation error.
Inclusive upper bound on created_time, as epoch-millisecond digits. Requests with non-numeric values return a validation error.
Inclusive lower bound on last_edited_time, as epoch-millisecond digits. Requests with non-numeric values return a validation error.
Inclusive upper bound on last_edited_time, as epoch-millisecond digits. Requests with non-numeric values return a validation error.
Epoch ms, inclusive. When either bound is set, an agent is returned only if its latest credit usage is inside the [from, to] window; agents with no in-window usage are excluded entirely, and last_credit_usage_time reflects the most recent credit usage of the agent.
Epoch ms, inclusive. See credit_usage_time_from for the window semantics.
Status filter. Accepts every response status value, plus the "disabled" convenience bucket for admin-disabled agents.
One of: active, credit_limit, deleted, disabled, disabled_by_notion, disabled_due_to_lack_of_editors, disabled_due_to_lack_of_full_access_members, disabled_from_agent_settings, disabled_from_api, disabled_from_workspace_settings, disabled_from_workspace_settings_but_resumable, failure_limit, internal_error, mark_session_failed_autopause, needs_review, run_limit, runaway_credit_usage, tool_unavailable, workspace_credit_limit
active, credit_limit, deleted, disabled, disabled_by_notion, disabled_due_to_lack_of_editors, disabled_due_to_lack_of_full_access_members, disabled_from_agent_settings, disabled_from_api, disabled_from_workspace_settings, disabled_from_workspace_settings_but_resumable, failure_limit, internal_error, mark_session_failed_autopause, needs_review, run_limit, runaway_credit_usage, tool_unavailable, workspace_credit_limit Integration types to filter by, such as "slack", "github", or "mcpServer".
MCP server names to filter by.
Agent models to filter by. Accepts model display names (such as "Claude 4 Sonnet") as shown in the response model field.
Filter to agents shared with any of these user IDs. Matches custom agents only: database (autofill) agents are excluded whenever this filter is set, since their sharing state is not exposed.
Filter to agents shared with any of these group IDs. Matches custom agents only: database (autofill) agents are excluded whenever this filter is set, since their sharing state is not exposed.
Pagination cursor returned from a previous response's next_cursor.
Number of agents per page. Defaults to 25, maximum 100.
1 <= x <= 100