Document Sources and IDs
Below is a list of all currently supportedsources
| Source Value | Connector | Document ID Format Pattern | Example |
|---|---|---|---|
SLACK | Slack | {channel_id}_{date} | C1234567890_2024-01-15 |
GITHUB_PRS | GitHub | {repo_id}_pr_{pr_number} | 123456789_pr_12345 |
GITHUB_CODE | GitHub | github_file_{owner}/{repo}/{file_path} | github_file_octocat/Hello-World/README.md |
NOTION | Notion | notion_page_{page_id} | notion_page_abcdefgh-1234-6789-0zxy-w01234567890 |
LINEAR | Linear | issue_{issue_id} | issue_11223344-5566-7788-9900-aabbccddeeff |
GOOGLE_DRIVE | Google Drive | google_drive_file_{file_id} | google_drive_file_1a2b3c4d5e6f7g8h9i0j |
GOOGLE_EMAIL | Google Email | google_email_message_{message_id} | google_email_message_18a1b2c3d4e5f6g7 |
JIRA | Jira | jira_issue_{issue_id} | jira_issue_10218 |
CONFLUENCE | Confluence | confluence_page_{page_id} | confluence_page_123456789 |
HUBSPOT_DEAL | HubSpot | hubspot_deal_{record_id} | hubspot_deal_12345678 |
HUBSPOT_CONTACT | HubSpot | hubspot_contact_{record_id} | hubspot_contact_99887766 |
HUBSPOT_TICKET | HubSpot | hubspot_ticket_{record_id} | hubspot_ticket_87654321 |
HUBSPOT_COMPANY | HubSpot | hubspot_company_{record_id} | hubspot_company_11223344 |
SALESFORCE | Salesforce | salesforce_{object_type}_{record_id} | salesforce_account_001xx000003DGb2AAG |
GONG | Gong | gong_call_{call_id} | gong_call_1234567890123456789 |
GATHER | Gather | gather_meeting_{meeting_id} | gather_meeting_a1b2c3d4-e5f6-7890-abcd-ef1234567890 |
SearchFilters
TheSearchFilters object is used by Search Tools to narrow down search results
SearchFilters Properties
SearchFilters Properties
List of document sources to filter by. See Document Sources for available values
Start date in
YYYY-MM-DD format. Only return documents created on or after this dateEnd date in
YYYY-MM-DD format. Only return documents created on or before this dateSource-specific filter to narrow results within a connector (e.g., Slack channel name, GitHub repository name, Linear team name). See Provenance Filters for details
Exact document ID to retrieve. When provided, all other filters are ignored and only this specific document is returned
Provenance Filters
Thefilters.provenance parameter allows you to narrow search results within a specific connector (e.g., search within a specific Slack channel or GitHub repository).
Provenance Filtering RequirementsTo use provenance filtering, you must:
- Specify exactly one source in
filters.sources - Use a source that supports provenance (see table below)
| Source | Provenance Value Format |
|---|---|
SLACK | Channel name OR channel ID |
GITHUB_PRS | Repository name |
GITHUB_CODE | Repository name |
LINEAR | Team name |