Agents

Add one connector to an agent

Changed on

Lets the agent use one more connector without resending its whole tool policy. The connector has to be one the caller and the agent's owner can both use, connected for the owner, and not blocked for agents by the organization. The owner's change applies at once; a manager's answers 202 and waits for the owner. Adding a connector the agent already has answers 200 with changed false.

post/v1/personal-agents/{id}/connectors

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Path parameters

id, string required

Request body

AddPersonalAgentConnector required
connectionId, string

The connector's id. Send this or name, not both.

name, string

The connector's name, matched without regard to case or extra spaces. It has to match exactly one connector the caller can use.

Response

The connector was added or removed, or nothing needed to change.

PersonalAgentConnectorChange required
changed, boolean required

False when the agent already had the connector, or already did not: nothing was written.

connectionId, string required
name, string required
enabled, boolean required

Whether the agent may use the connector after this call.

Changes