Connectors and connections
Get a connector
Have a token? Manage tokens in the console
GET
One connector of the catalogue, by its id (incident-io, pagerduty, datadog, grafana, discord, ...).
Needs scope connections:read.
bearerheader
AuthorizationBearer <JWT>An access token from the identity provider: a person's, or a customer's from the client credentials grant with an API key (developers.inorbit.hr). The gateway verifies it; the audience is iohr-api.
connector_id*stringThe connector's id, from List connectors; also the kind of a connection made from it.
iohr.connections.v1.GetConnectorResponse
application/json- response
iohr.connections.v1.GetConnectorResponse
connector?iohr.connections.v1.Connector
SDK
HTTP
import { ApiError, Public } from "@inorbithr/sdk";// Reads INORBIT_TOKEN, or INORBIT_KEY_ID and INORBIT_KEY_SECRET.const api = Public.fromEnv();try { const { value } = await api.connections.getConnector("<connector_id>"); console.log(value);} catch (e) { if (!(e instanceof ApiError)) throw e; console.error(`${e.code}: ${e.problem} (request id ${e.raw.requestId})`); process.exitCode = 1;}npm install @inorbithr/sdk. Calls the package's public surface; an operation newer than your package needs the next release or a client generated for your account. The SDKs.
Example Response
{ "connector": { "actions": [ { "admin_only": true, "auth_modes": [ "string" ], "class": "string", "model": "string", "name": "string", "params": [ { "after_consent": true, "choices": [ "string" ], "default": "string", "help": "string", "label": "string", "max": "string", "name": "string", "required": true, "secret": true, "type": "string" } ], "title": "string" } ], "agent_source": { "credential": "string", "methods": [ "string" ], "provider": "string", "reads": [ "string" ], "scopes": [ "string" ], "setup": "string", "snippet": "string", "stage": "string" }, "ai": true, "auth_modes": [ { "fields": [ { "after_consent": true, "choices": [ "string" ], "default": "string", "help": "string", "label": "string", "max": "string", "name": "string", "required": true, "secret": true, "type": "string" } ], "label": "string", "mode": "string", "needs_app": true, "optional_scopes": [ "string" ], "refresh": true, "scopes": [ "string" ] } ], "category": "string", "config_fields": [ { "after_consent": true, "choices": [ "string" ], "default": "string", "help": "string", "label": "string", "max": "string", "name": "string", "required": true, "secret": true, "type": "string" } ], "description": "string", "docs": "string", "executors": [ "string" ], "hosts": [ "string" ], "icon": "string", "id": "string", "kind": "string", "name": "string", "redirect_url": "string", "setup": { "description": "string", "mcp_url": "string", "snippets": [ { "label": "string", "language": "string", "path": "string", "text": "string" } ], "suggested_scopes": [ "string" ] }, "status": "string", "terms": { "checked": "string", "dpa": "string", "needs_record": true, "region": "string", "retention": "string", "sources": [ "string" ], "training": "string", "training_detail": "string", "zero_retention": "string" }, "triggers": [ { "name": "string", "title": "string" } ] }}