v3
latestOpenAPI 3.0.02026-08-081996601.2 MBAgent Connectors
Update agent connector
Updates an agent connector's configuration, status, or other properties.
patch/v2/agents/{agent_key}/connectors/{connector_id}
Path parameters
agent_keystring required
A unique key that identifies an agent.
Example:customer_support
The unique identifier of the agent.
connector_idstring required
Example:con_slack_support
The unique identifier of the connector to update.
Headers
Request-Timeoutinteger
The platform makes a best effort to complete the request in the specified seconds, or it times out.
Request-Timeout-Millisinteger
The platform makes a best effort to complete the request in the specified milliseconds, or it times out.
Request body
Example request
{
"name": "Updated Customer Support Slack Channel",
"description": "Updated description for the Slack connector",
"metadata": {
"priority": "medium",
"department": "customer_service",
"last_reviewed": "2024-01-15"
},
"configuration": {
"hidden_output_types": [
"tool_calls"
],
"type": "slack",
"bot_token": "xoxb-1234567890-1234567890123-abcdefghijklmnopqrstuvwx",
"signing_secret": "abcdef1234567890abcdef1234567890abcdef12",
"api_app_id": "A1234567890"
}
}Response
The updated connector.
Example response
{
"id": "con_3Kx9QpVn2mZr8YbLc5TdWe",
"agent_key": "customer_support",
"name": "Customer Support Slack Channel",
"description": "Receives customer support messages from the",
"type": "slack",
"status": "active",
"status_message": "Slack authentication successful",
"metadata": {
"priority": "high",
"department": "customer_service"
},
"enabled": true,
"configuration": {
"hidden_output_types": [
"tool_calls"
],
"type": "slack",
"bot_token": "xoxb-1234567890-1234567890123-abcdefghijklmnopqrstuvwx",
"signing_secret": "abcdef1234567890abcdef1234567890abcdef12",
"api_app_id": "A1234567890",
"webhook_path": "/v2/agents/customer_support/connectors/con_3Kx9QpVn2mZr8YbLc5TdWe/input"
},
"created_at": "2024-01-15T10:30:00Z",
"updated_at": "2024-01-16T14:45:00Z",
"last_webhook_at": "2024-01-16T14:45:00Z",
"last_webhook_status": "success"
}