Skip to content
GET /connector-category

The categories a connector can be filed under, as `{ name, label }` sorted by label: `name` is what a connector stores in `category`, `label` is what a person reads. This is the picker list for a custom connector's category; `GET /connector/categories` instead lists the values the visible catalog already uses. `POST /connector` and `PATCH /connector/{slug}` still accept any category text. Requires `connector:view`.

Query Parameters

qstring

Case-insensitive match on name and label, tolerant of one typo in a word of 5+ letters. LIKE wildcards are matched literally. Max 200 characters.

Response Body

next_cursorstring,null
prev_cursorstring,null
resultobject[]
labelstring
namestring
curl -X GET 'https://api.elaichi.ai/connector-category' \
  -H 'Authorization: Bearer $ELAICHI_API_TOKEN' \
  -H 'Content-Type: application/json'
const response = await fetch('https://api.elaichi.ai/connector-category', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer ' + process.env.ELAICHI_API_TOKEN,
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
import os
import requests

url = "https://api.elaichi.ai/connector-category"
headers = {
    "Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
    "Content-Type": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())