Public Connector Catalog
The public catalog lists the connectors that are switched on for everyone and, for each connector, only the tools that are switched on. It needs no authentication, is read-only, and gives every caller the same answer.
Use it to show what Chainabit connectors can do before someone signs in. To work with connectors in your own workspace, use Connector Definitions and Instances.
Endpoint
| Method | Path | Description | Auth |
|---|---|---|---|
| GET | /public/connectors | List the public connector catalog | None |
GET /public/connectors
Connectors are ordered by key, and the tools of each connector are ordered by tool key.
Request
This endpoint takes no query parameters and no request body. Send no Authorization header.
Response
Response Example
The example shows the shape of the response. Which connectors and tools appear depends on what is switched on at the time of the request.
{
"data": {
"connectors": [
{
"key": "gmail",
"displayName": "Gmail",
"category": "communication",
"tools": [
{
"key": "send_email",
"displayName": "Send Email",
"requiresApproval": true
}
]
}
]
}
}An empty connectors array means nothing is switched on.
Response Fields
| Field | Type | Description |
|---|---|---|
data.connectors | object[] | Connectors that are switched on, ordered by key |
data.connectors[].key | string | Unique connector identifier |
data.connectors[].displayName | string | Human-readable connector name |
data.connectors[].category | string | Connector category, for example communication |
data.connectors[].tools | object[] | Tools of the connector that are switched on, ordered by tool key |
data.connectors[].tools[].key | string | Unique tool identifier within the connector |
data.connectors[].tools[].displayName | string | Human-readable tool name |
data.connectors[].tools[].requiresApproval | boolean | true when the action shows what it will do and waits for your approval by default |
Caching
The response is cacheable and carries these headers:
| Header | Value |
|---|---|
Cache-Control | public, max-age=60, s-maxage=300 |
ETag | A weak validator, for example W/"3f2a9c" |
Send the ETag back as If-None-Match. When the catalog has not changed, the API answers 304 Not Modified with no body, and you keep using the copy you already have. With cURL, add -i to see the response headers.
Rate Limit
The endpoint allows 60 requests per minute per client. Beyond that it answers 429. See Rate Limiting.
Code Examples
curl https://api.chainabit.com/api/v1/public/connectorscurl https://api.chainabit.com/api/v1/public/connectors \
-H 'If-None-Match: W/"3f2a9c"'Not Modified
When the ETag you send still matches, the response has no body:
HTTP/1.1 304 Not Modified
ETag: W/"3f2a9c"
Cache-Control: public, max-age=60, s-maxage=300