connector = client.connectors.get("{connector_id}")
const connector = await client.connectors.get({ id: "{connector_id}" });
curl 'https://api.hydradb.com/connectors/{id}' \
-H "Authorization: Bearer $HYDRADB_API_KEY" \
-H "API-Version: 2"
{
"connector_id": "{connector_id}",
"provider": "slack",
"name": "acme-engineering",
"database": "acme_corp",
"collection": "engineering",
"tenant_id": "acme_corp",
"sub_tenant_id": "engineering",
"provider_account_scope": "T12345ACME",
"custom_instructions": "Prioritize decisions and owners.",
"lifecycle": "active",
"status": "active",
"sync_status": "idle",
"active_resource_count": 2,
"sync_interval_seconds": 3600,
"next_sync_at": "2026-06-01T13:00:00Z",
"last_successful_sync_at": "2026-06-01T12:05:00Z"
}
Get Connector
Read one connector’s settings and sync state.
GET
/
connectors
/
{id}
connector = client.connectors.get("{connector_id}")
const connector = await client.connectors.get({ id: "{connector_id}" });
curl 'https://api.hydradb.com/connectors/{id}' \
-H "Authorization: Bearer $HYDRADB_API_KEY" \
-H "API-Version: 2"
{
"connector_id": "{connector_id}",
"provider": "slack",
"name": "acme-engineering",
"database": "acme_corp",
"collection": "engineering",
"tenant_id": "acme_corp",
"sub_tenant_id": "engineering",
"provider_account_scope": "T12345ACME",
"custom_instructions": "Prioritize decisions and owners.",
"lifecycle": "active",
"status": "active",
"sync_status": "idle",
"active_resource_count": 2,
"sync_interval_seconds": 3600,
"next_sync_at": "2026-06-01T13:00:00Z",
"last_successful_sync_at": "2026-06-01T12:05:00Z"
}
Returns one connector: where it syncs to, its connector-level
custom_instructions, its sync interval, and its sync state.
connector = client.connectors.get("{connector_id}")
const connector = await client.connectors.get({ id: "{connector_id}" });
curl 'https://api.hydradb.com/connectors/{id}' \
-H "Authorization: Bearer $HYDRADB_API_KEY" \
-H "API-Version: 2"
{
"connector_id": "{connector_id}",
"provider": "slack",
"name": "acme-engineering",
"database": "acme_corp",
"collection": "engineering",
"tenant_id": "acme_corp",
"sub_tenant_id": "engineering",
"provider_account_scope": "T12345ACME",
"custom_instructions": "Prioritize decisions and owners.",
"lifecycle": "active",
"status": "active",
"sync_status": "idle",
"active_resource_count": 2,
"sync_interval_seconds": 3600,
"next_sync_at": "2026-06-01T13:00:00Z",
"last_successful_sync_at": "2026-06-01T12:05:00Z"
}
lifecycle is the field to read for what the connector is doing: pending_setup (no resources configured), ingesting (first sync not finished), syncing, active, paused, or reconnect (the provider rejected the credentials). status is deprecated and always active. For per-resource health, use Get Connector Status.
Errors
404: no connector with this id in your organization.
Related resources
- Update Connector: change these settings
- List Connector Resources: the connector’s resources
- Get Connector Status: per-resource health
Authorizations
Response
OK
Was this page helpful?
