Agent Configs
agent_configs
Methods
Create Agent Config -> { id, allowed_tools, created_at, 7 more... }
post/v5/agent_configs
Create Agent Config
List Agent Configs -> CursorPage<{ id, allowed_tools, created_at, 7 more... }>
get/v5/agent_configs
List Agent Configs
query Parameters
ending_before: string
Optional
limit: number
(maximum: 10000, minimum: 1, default: 100)Optional
sort_by: string
Optional
starting_after: string
Optional
Response fields
has_more: boolean
Whether there are more items left to be fetched.
items: Array<{ id, allowed_tools, created_at, 7 more... }>
total: number
The total of items that match the query. This is greater than or equal to the number of items returned.
limit: number
(default: 100)Optional
The maximum number of items to return.
object: "list"
(default: "list")Optional
Request example
200Example
List Mcp Tool Names -> Array<"Slack" | "Linear" | "GitHub" | 7 more...>
get/v5/agent_configs/mcp_tools
AllowedTool values that route to MCP servers (vs harness-provided tools). Exposed primarily so the generated SDK includes the McpTool enum type — the frontend asserts its own MCP-tool classifier against this enum to prevent drift.
Get Agent Config -> { id, allowed_tools, created_at, 7 more... }
get/v5/agent_configs/{agent_config_id}
Get Agent Config
Update Agent Config -> { id, allowed_tools, created_at, 7 more... }
patch/v5/agent_configs/{agent_config_id}
Update Agent Config
Delete Agent Config -> { id, deleted, object }
delete/v5/agent_configs/{agent_config_id}
Delete Agent Config
Domain types
AgentConfigCreateResponse = { id, allowed_tools, created_at, 7 more... }
AgentConfigDeleteResponse = { id, deleted, object }
AgentConfigListMcpToolsResponse = Array<"Slack" | "Linear" | "GitHub" | 7 more...>
AgentConfigListResponse = { id, allowed_tools, created_at, 7 more... }
AgentConfigRetrieveResponse = { id, allowed_tools, created_at, 7 more... }
AgentConfigUpdateResponse = { id, allowed_tools, created_at, 7 more... }