v5

OpenAPI 3.1.02026-08-043621,4011.8 MB
Agents Platform

Update Mcp Server Approval Policy

Update the approval policy configuration for an MCP server. DEPRECATED: Use PATCH /mcp-servers/{id} endpoint instead.

patch/v1/convai/mcp-servers/{mcp_server_id}/approval-policy

Path parameters

mcp_server_idstring required

ID of the MCP Server.

ID of the MCP Server.

Headers

xi-api-keystring nullable

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Your API key. This is required by most endpoints to access our API programmatically. You can view your xi-api-key using the 'Profile' tab on the website.

Request body

approval_policy'auto_approve_all' | 'require_approval_all' | 'require_approval_per_tool' required

Defines the MCP server-level approval policy for tool execution.

Response

Successful Response

idstring required