Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions essentials/v2/connectors.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
description: "Connect Slack, GitHub, Notion, or any of 70 apps, and HydraDB keeps their data synced into your database."
---

HydraDB syncs data from 70 apps into your database without ingestion code on your side. You connect an account once, choose which resources (channels, repositories, pages) to sync, and HydraDB keeps them indexed as searchable [app sources](/essentials/v2/context#send-app-sources). The catalog includes Slack, Gmail, Google Drive, Notion, Jira, Confluence, GitHub, Linear, HubSpot, Zendesk, Supabase, Microsoft Teams, Outlook, Zoom, Gong, and Fireflies. It grows often; call [`GET /connectors/providers`](/api-reference/v2/endpoint/list-connector-providers) for the current list.

Check warning on line 6 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L6

Did you really mean 'Jira'?

Check warning on line 6 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L6

Did you really mean 'Zendesk'?

Check warning on line 6 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L6

Did you really mean 'Supabase'?

If an app is not in the catalog, or you already have your own integration, ingest its data yourself as [app sources](/essentials/v2/context#send-app-sources).

Expand Down Expand Up @@ -108,7 +108,7 @@

```json
{
"connector_id": "{connector_id}",

Check warning on line 111 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L111

Did you really mean 'connector_id'?
"provider": "slack",
"name": "acme-engineering",
"database": "acme_corp",
Expand Down Expand Up @@ -181,7 +181,7 @@
"resource_type": "channel",
"name": "general",
"metadata": {"department": "all-hands"},
"additional_metadata": {"internal_label": "general-slack"},

Check warning on line 184 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L184

Did you really mean 'additional_metadata'?
},
{
"resource_id": "C_ENG",
Expand All @@ -203,7 +203,7 @@
resourceType: "channel",
name: "general",
metadata: { department: "all-hands" },
additionalMetadata: { internal_label: "general-slack" },

Check warning on line 206 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L206

Did you really mean 'additionalMetadata'?
},
{
resourceId: "C_ENG",
Expand All @@ -228,7 +228,7 @@
"resource_type": "channel",
"name": "general",
"metadata": { "department": "all-hands" },
"additional_metadata": { "internal_label": "general-slack" }

Check warning on line 231 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L231

Did you really mean 'additional_metadata'?
},
{
"resource_id": "C_ENG",
Expand All @@ -243,7 +243,7 @@

```json
{
"connector_id": "{connector_id}",

Check warning on line 246 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L246

Did you really mean 'connector_id'?
"configured": 2,
"backfill": false,
"first_sync_at": "2026-06-01T13:00:00Z",
Expand All @@ -262,7 +262,7 @@
| `provider` | create | A `provider` value from the catalog, such as `slack`, `github`, or `notion`. |
| `name` | create | A label for this connector. Optional, and it cannot be changed later. |
| `database`, `collection` | create | Where synced data goes. `database` must already exist. Each resource can route somewhere else with its own `collection` or `database`. |
| `provider_account_scope` | create | Which external account this connector belongs to, such as a Slack workspace id. It is part of the deduplication key of every synced source, so sources from two accounts never overwrite each other. [Set it per provider](#set-the-account-scope-per-provider). |

Check warning on line 265 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L265

Did you really mean 'deduplication'?
| `credentials` | create | The provider's credentials, in the shape of its `credential_schema`. Credentials that do not match the schema are rejected with `422`. |
| `custom_instructions` | create, configure | Guidance for how synced documents are interpreted, for the whole connector or for one resource. See [section 4](#4-custom-ingestion-instructions). |
| `sync_interval_seconds` | create | How often scheduled syncs run. Omit it for the provider default, one hour for most providers. |
Expand Down Expand Up @@ -312,6 +312,40 @@

</Accordion>

### Notion page streams, relations and metadata

The compatible Notion connector accepts both `pages` and `database_pages` as page sources. A database row remains a Notion page, normalized as a `knowledge_base` document with its page title, body and page id, not a new row object kind. Archived pages and tombstones are skipped. New compatible syncs include both streams; existing syncs can retain their earlier pages-only coverage. This is not an automatic historical replay or backfill of previously omitted rows.

Notion relation properties supply candidate page UUIDs, not proof that their targets exist in HydraDB. Supported ingestion paths verify candidates against stored sources before emitting a `linked_to` relation. A link requires an **exact, uniquely verified, completed Notion page target in the same collection**. The target must match the connector/account identity and a live resource route; being accessible in Notion, appearing in the same response, or having a matching title is not enough. Verified links reuse the stored target source id; they do not fetch or create a target page.

Check warning on line 319 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L319

Did you really mean 'UUIDs'?

Unknown, incomplete, ambiguous, differently routed or otherwise unverified targets create **no placeholder and no edge**. Bounded canonical UUID context is retained in `notion_relation_ids` metadata (at most 100 ids), with `notion_relation_warning` when some targets cannot be verified. This metadata is not a graph target or a promise of a link. Proof lookup failures, missing required index coverage and exhausted proof budgets suppress candidate links rather than guessing. More than 100 distinct valid candidate targets suppresses all candidate relation edges for that source; retained UUID context remains capped at 100.

**Targets arriving later are not linked automatically.** An unchanged referring page is not rewritten when its target finishes ingestion. Establishing a previously missed link requires explicit reprocessing of the referring source after the target is eligible; this documentation does not initiate or authorize replay. Existing rows with insufficient identity metadata can remain unlinked until they are reprocessed. Lowercase hyphenated UUIDs remain stable; compact or uppercase UUID spellings are canonicalized for new processing, without migrating existing stored rows.

Check warning on line 323 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L323

Did you really mean 'UUIDs'?

Check warning on line 323 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L323

Did you really mean 'canonicalized'?

#### Page references, parents and database metadata

The compatible page-reference changes also read typed page/database references from rich text and blocks. Page-reference `mentions` and parent-page `child_of` candidates still require exact completed same-collection page proof. A raw parent-page UUID is retained as `notion_parent_page_id` metadata when supplied; `parent_id` is cleared until that parent is verified, so it cannot create a placeholder through a typed field. Metadata and enrichment records alone do not prove a target. Unresolved references remain context and do not acquire links automatically when a target arrives later.

Supported internal Notion URL references can supply `linked_to` candidates after their canonical page UUID is decoded and matching page metadata is validated. That provider validation is still not completed-ingestion proof: the same exact-target collection/account/live-route checks apply before a graph link survives. Arbitrary external URLs, malformed ids and unsupported host/path forms cannot invent targets. Missing or forbidden page metadata leaves the URL unlinked; authentication/transient errors are not empty success. Large-page provider-validation cost is not bounded by the final 100-target graph-proof cap, and oversized candidate sets can suppress every candidate edge. No unproved fixed provider-request budget or automatic late-target repair is promised.

Where the existing approved database-container foundation and its compatible consumers are available, authenticated matching database metadata can supply the separate `notion::container_hub` representation: its database UUID, title, URL, last-edited time and `container_type=database`. `notion_database_id` records that emitted database identity; it is not independent relation-target proof. A database does not become a page-shaped child target. Database metadata is not a request to fetch rows from an unselected database.

Database-row ownership uses the authoritative `parent.database_id`, including when a parent has a data-source shape; it does not guess a database UUID from `data_source_id`. `notion_parent_database_id` preserves this canonical UUID as context. Only matching authenticated database metadata can supply the existing owner representation and `row_of` binding. Missing or forbidden metadata keeps the row without an invented owner; authentication/transient errors retain error propagation rather than proving an empty result. Classic metadata requests can recur per page; no cross-page cache or fixed metadata-request budget is promised here.

These database-container descriptions require a compatible connector version and ingestion support; they do not authorize creating additional kinds or enabling unsupported capture. Availability is not established by this page. Existing unchanged rows can require a new in-window update or separately authorized reprocessing after owner recovery; no automatic migration, cleanup or late-target repair is added.

#### Page discussions and copied synced blocks

Compatible connector versions can expose unresolved page-level discussion comments as separate searchable comment objects through the `comments` stream. They retain the canonical comment and owning-page ids, plain text, and available `sender`, `sent_at` and `updated_at` fields. Resolved discussions and block-level comments are not captured by this page-discussion path; it does not promise complete discussion history or threaded block-comment coverage.

Notion's **Read comments** capability is required and is **disabled by default**. Enable it for the Notion integration in the [Developer portal](https://developers.notion.com/reference/capabilities); ordinary Read content access is not enough. A public integration can require reauthorization after capability changes. Without Read comments, Notion returns 403 and discussion content can be omitted even when pages sync successfully. See Notion's [List comments reference](https://developers.notion.com/reference/list-comments). This is a permission prerequisite, not a request to widen the pages or resources selected for HydraDB.

For a copied synced block, compatible versions can inspect the original block's ancestry to identify its **original owning page**, using at most 20 block-metadata steps. This does not fetch the original content or children, or copy the original page into the selected resource. The resulting `linked_to` candidate still needs an exact, uniquely verified, completed same-collection Notion page target with matching connector/account identity and a live resource route. Missing, forbidden, malformed, cyclic or unresolved ancestry yields no invented target; a provider metadata match alone is not completed-ingestion proof. Unknown owners stay unlinked until separately authorized reprocessing; there is no automatic historical replay or late-target repair.

<Note>
Complete relation-property pagination for both page streams, discussion capture, synced-block owner resolution and exact stored-target verification require compatible connector versions. Do not enable changed capture until that support is available. This page confirms neither release availability nor successful end-to-end indexing and does not initiate connector activation or reprocessing.
</Note>

## 2. Check that it is syncing

Data usually appears within a few minutes of configure. [`GET /connectors/{id}/status`](/api-reference/v2/endpoint/get-connector-status) reports the connector and each resource in one call.
Expand Down Expand Up @@ -400,9 +434,9 @@

</Accordion>

From the next sync, documents that mention only Aurora are extracted under the Nimbus entity, with alias links to the old name, so new-name queries reach old-name documents through the context graph. The same works for focus ("prioritize decisions, owners, and deadlines; ignore social chatter"), interpretation ("threads in this workspace are incident retros; extract root cause and remediation"), and vocabulary ("SEV1 and SEV2 are incident severities, not product names"). An instruction can also be set when you create the connector, or from the dashboard's **Instructions** button.

Check warning on line 437 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L437

Did you really mean 'severities'?

**Connector default and resource override:** an instruction on the connector applies to every resource without one of its own. An instruction on a resource, such as one Slack channel or one Jira project, **replaces** the connector default for that resource's documents rather than adding to it. Set a resource's instruction with `custom_instructions` in configure, or afterwards on its own:

Check warning on line 439 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L439

Did you really mean 'Jira'?

<Accordion title="Override one channel, then clear the override: Python, TypeScript, or cURL">

Expand Down Expand Up @@ -509,11 +543,11 @@
|---|---|
| **Slack** | Public channels are visible workspace-wide; private channels only to their members, resolved to member emails. |
| **Google Drive** | Per-file sharing: user, group, domain, and public grants. ACL-only changes are picked up through the Drive changes feed, even when the file content does not change. |
| **GitHub** | Repository visibility. Private repos additionally capture the collaborator list when every collaborator has a visible public email; otherwise your resource rule governs. |

Check warning on line 546 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L546

Did you really mean 'repos'?
| **Confluence** | Space-level view ACLs, with groups expanded to member emails, plus per-page view restrictions. |

Check warning on line 547 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L547

Did you really mean 'ACLs'?
| **Jira** | Who holds Browse access per project, plus per-issue security levels. |

Check warning on line 548 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L548

Did you really mean 'Jira'?

Capture is also built for GitLab, Linear, Dropbox, Zendesk, PagerDuty, Typeform, Attio, LaunchDarkly, ServiceNow, Microsoft Teams, and Outlook, and is switched on per provider. The [provider catalog](/api-reference/v2/endpoint/list-connector-providers) reports capture support in `acl_supported` and summarizes it in `acl_description`. Check [Get Connector Status](/api-reference/v2/endpoint/get-connector-status) for an `acl_warning` after the first sync. For any other provider, [set your own rule on the resource](#set-your-own-rule-on-a-resource).

Check warning on line 550 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L550

Did you really mean 'Zendesk'?

Check warning on line 550 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L550

Did you really mean 'Typeform'?

Check warning on line 550 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L550

Did you really mean 'Attio'?

### Google Drive files shared with a group

Expand Down Expand Up @@ -628,7 +662,7 @@

## Common mistakes

- **Editing an existing resource with `POST /connectors/{id}/resources`:** the call returns `409` and changes nothing. Use `PATCH /connectors/{id}/resources/{resource_id}` for instructions and ACLs, or configure again for routing and metadata.

Check warning on line 665 in essentials/v2/connectors.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cortex-e852fafe) - vale-spellcheck

essentials/v2/connectors.mdx#L665

Did you really mean 'ACLs'?
- **Reconfiguring without `name` and `resource_type`:** omitted values are cleared. Send both every time you list a resource.
- **Expecting a resource instruction to add to the connector default:** the resource instruction replaces the connector default. Repeat anything from the default that the resource still needs.
- **Two accounts of one provider with the same `provider_account_scope`:** sources that share an external id overwrite each other. Set a distinct scope per account.
Expand Down
Loading