Get a connector
Returns one connector with its tools, its switched-off tools and its health. Secrets appear as flags and are never returned.
ApiKeyAuthAuthorizationBearer <token>A WorkOS org-scoped API key, created from the dashboard's organization settings page. Identifies the tenant every read and write is scoped to. Missing, malformed, unknown, revoked, expired, or non-organization-owned keys all return 401 (no distinction, so the response can't be used to probe which keys or org ids exist).
connectorId*stringThe connector id (prefixed conn_), from the site's connector list or the subject of a connector_unavailable or catalog_empty alert. A connector id that isn't yours, or that was deleted, is a 404.
The connector.
application/json- response
data*A connector of a site: an MCP server the site's agents can call. Every secret (token, secret header values) appears as a flag and is never returned.
curl -X GET 'https://example.com/api/v1/connectors/string'{ "data": { "id": "conn_01kvnwmagvf27rc9cze5rm9e1r", "siteId": "site_01kvnwmagvf27rc9cze5rm9e1s", "type": "commercetools", "name": "commercetools", "url": "https://mcp.example-store.com/mcp", "authMode": "token", "connection": null, "tokenSet": false, "headers": [ { "name": "X-Project-Key", "secret": false, "set": true, "value": "example-store" } ], "settings": null, "tools": [ { "name": "search_products", "description": "Search the product catalog.", "enabled": true }, { "name": "create_cart", "description": null, "enabled": false } ], "disabledTools": [ "create_cart" ], "lastCheckedAt": "2026-11-19T10:00:00.000Z", "lastAnsweredAt": "2026-11-19T10:00:00.000Z", "dashboardUrl": "https://iadvize.ai/dashboard/sites/site_01kvnwmagvf27rc9cze5rm9e1s/connectors/conn_01kvnwmagvf27rc9cze5rm9e1r", "createdAt": "2026-11-19T10:00:00.000Z", "updatedAt": "2026-11-19T10:00:00.000Z" }}Install a connector
Installs a connector of a type on the site, with the rules of the dashboard's connector store: the connection is tested before anything is saved, the tools the server lists are kept, switched on or off by the type's default-tool rule, and a site holds one connector per native type (`custom` excepted). A failed test saves nothing and answers `422` with its `cause`; send the same request with `anyway: true` to install it untested. A `custom` connector installed with `authMode: "oauth"` is created without a test and not connected: a member signs in with the vendor from `connection.connectUrl`. Secrets may be left out and set later from the connector's `dashboardUrl`: `unsetSecrets` lists them. Records a `connector.added` audit entry, and a `site.updated` entry when `updateSitePlatform` changes the site's platform.
Delete a connector
Removes a connector, as the dashboard does: the agents that use it stop calling it at once, its token and secret header values are erased, and its open alert closes. Deleting it again is a `404`. Records a `connector.disabled` audit entry. Refused while a holdout runs on a site whose live version uses the connector.