Update connector
Changed onUpdates a connector.
Fields left out of the body keep their values; bridge: null and domain: null remove the Bridge or custom domain. config is merged into the stored settings: keys left out keep their values and null resets a setting to its default. Secret fields sent as ********, empty or null keep their stored values. Settings of triggers, results and calls are changed on the agent links. Connectors defined in code only accept enabled; other fields must be null or repeat the current values. Retired connectors can't be resumed.
Required permission: connectors.update.
Request
- Base URLhttps://api.connic.co
- AuthHTTP bearer
Path parameters
ID of the project the API key belongs to.
Connector ID from GET /connectors.
Request body
Partial update of a connector, in the shape of connectors/*.yaml. Connectors declared in code accept only enabled.
New display name. It cannot match a connector declared in code in the same environment.
Deprecated: connectors have no mode any more. Accepted until April 30, 2027: sync and inbound set config.sync on HTTP and MCP connectors; other values change nothing.
Name or ID of the Connection with the connector's credentials.
Name or ID of the Bridge for a private network, or null to connect directly. Kafka, Postgres, email, SQS and S3 connectors use the Bridge of their Connection; for them this field is deprecated and accepted until April 30, 2027 only when it matches the Connection's Bridge.
Hostname or ID of an active custom domain for the connector's URL, or null for the default host.
Connector-level settings, merged into the current configuration: keys left out keep their values and null resets a setting to its default. Settings of triggers, results and calls are changed on the agent links. Secret fields that are omitted, empty, null or still masked keep their stored values. Until April 30, 2027, the deprecated fields mode, connection_id, bridge_id, the flat rate_limit_* fields, phone_number_sid or phone_number_id, and Connection credentials are accepted here too.
Enable or disable the connector. Enabling counts toward the plan's connector limit.
Deprecated, use domain. Accepted until April 30, 2027.
Response
Successful Response
Connector in an environment, with its configuration and the agents that use its tools.
Project the connector belongs to.
Environment the connector runs in.
Deprecated, use domain. Returned until April 30, 2027.
Reference of the connector in its environment, such as connector:<key>.<tool> in an agent's tools. For connectors defined in code, the name of their connectors/<key>.yaml file. It never changes.
Connector type. Determines the fields in config.
Deprecated: connectors have no mode any more; agent links say what a connector does for each agent. Always null; returned until April 30, 2027.
ID of the Connection that holds the connector's credentials, or null for types without one.
ID of the Bridge that connects the connector to a private network, or null for a direct connection. For Kafka, Postgres, email, SQS and S3 connectors, the Bridge of their Connection.
ID of the custom domain the connector's URL uses, or null for the default connector host.
Connector-level settings for the connector type, with the fields documented on that connector's docs page; the settings of triggers, results and calls are on the agent links. Credential fields are masked as ********; secrets connic generates for the connector, such as webhook secrets, are returned in full. Until April 30, 2027, config also returns the deprecated fields connection_id, bridge_id, the flat rate_limit_* fields, phone_number_sid or phone_number_id, and the fields of the Connection.
False while the connector is paused. A paused connector starts no runs, delivers no results and gives agents no tools.
Key of the connectors/<key>.yaml file that defines this connector in code, or null. Change these connectors in your codebase; the API can only pause or resume them.
When the active deployment stopped declaring this connector in code, or null. Retired connectors stay paused until a deployment declares them again, and can be deleted.
Agents of the environment's active deployment with connector:<key>.<tool> in their tools or discoverable tools. Empty for retired connectors.
Changes
- warning
added the new
connicenum value to thetyperesponse property for the response status - info
request property
modedeprecated - info
response property
modedeprecated
2 more changes in this revision
- warning