Data Source
View Connections
API Documentation
Health
Files
Web Scrape
Data Source
SharePoint
GitHub
Chunks / Embeddings
Retrieval
Data Source
View Connections
This endpoint retrieves active connections across all data sources for a user.
POST
/
user_data_sources
authorization
string
*
authorization
Required
string
token <token>
, corresponds to temporary access tokens.
object
*
pagination
object
pagination
object
limit
integer
limit
integer
offset
integer
offset
integer
starting_id
integer
starting_id
integer
order_by
enum<string>
order_by
enum<string>
order_dir
enum<string>
order_dir
enum<string>
filters
object
filters
object
source
enum<string>
source
enum<string>
ids
array
ids
array
revoked_access
boolean
revoked_access
boolean
tags
object
tags
object
Tags to filter by. Supports logical AND and OR operations. Input should be like below:
{
"OR": [
{
"key": "subject",
"value": "holy-bible",
"negate": false
},
{
"key": "person-of-interest",
"value": "jesus christ",
"negate": false
},
{
"key": "genre",
"value": "fiction",
"negate": true
}
{
"AND": [
{
"key": "subject",
"value": "tao-te-ching",
"negate": true
},
{
"key": "author",
"value": "lao-tzu",
"negate": false
}
]
}
]
}
For a single filter, the filter block can be placed within either an "AND" or "OR" block.
Authorizations
token <token>
, corresponds to temporary access tokens.
Body
application/json
Available options:
created_at
, updated_at
Available options:
desc
, asc
Available options:
GOOGLE_CLOUD_STORAGE
, GOOGLE_DRIVE
, NOTION
, NOTION_DATABASE
, INTERCOM
, DROPBOX
, ONEDRIVE
, SHAREPOINT
, CONFLUENCE
, BOX
, ZENDESK
, ZOTERO
, S3
, AZURE_BLOB_STORAGE
, GMAIL
, OUTLOOK
, SERVICENOW
, TEXT
, CSV
, TSV
, PDF
, DOCX
, PPTX
, XLSX
, XLSM
, MD
, RTF
, JSON
, HTML
, RAW_TEXT
, WEB_SCRAPE
, RSS_FEED
, FRESHDESK
, GITBOOK
, SALESFORCE
, GITHUB
, SLACK
, GURU
, GONG
, DOCUMENT360
, JPG
, PNG
, JPEG
, MP3
, MP2
, AAC
, WAV
, FLAC
, PCM
, M4A
, OGG
, OPUS
, MPEG
, MPG
, MP4
, WMV
, AVI
, MOV
, MKV
, FLV
, WEBM
, EML
, MSG
Tags to filter by. Supports logical AND and OR operations. Input should be like below:
{
"OR": [
{
"key": "subject",
"value": "holy-bible",
"negate": false
},
{
"key": "person-of-interest",
"value": "jesus christ",
"negate": false
},
{
"key": "genre",
"value": "fiction",
"negate": true
}
{
"AND": [
{
"key": "subject",
"value": "tao-te-ching",
"negate": true
},
{
"key": "author",
"value": "lao-tzu",
"negate": false
}
]
}
]
}
For a single filter, the filter block can be placed within either an "AND" or "OR" block.
Response
200 - application/json
Available options:
GOOGLE_CLOUD_STORAGE
, GOOGLE_DRIVE
, NOTION
, NOTION_DATABASE
, INTERCOM
, DROPBOX
, ONEDRIVE
, SHAREPOINT
, CONFLUENCE
, BOX
, ZENDESK
, ZOTERO
, S3
, AZURE_BLOB_STORAGE
, GMAIL
, OUTLOOK
, SERVICENOW
, TEXT
, CSV
, TSV
, PDF
, DOCX
, PPTX
, XLSX
, XLSM
, MD
, RTF
, JSON
, HTML
, RAW_TEXT
, WEB_SCRAPE
, RSS_FEED
, FRESHDESK
, GITBOOK
, SALESFORCE
, GITHUB
, SLACK
, GURU
, GONG
, DOCUMENT360
, JPG
, PNG
, JPEG
, MP3
, MP2
, AAC
, WAV
, FLAC
, PCM
, M4A
, OGG
, OPUS
, MPEG
, MPG
, MP4
, WMV
, AVI
, MOV
, MKV
, FLV
, WEBM
, EML
, MSG
Available options:
QUEUED_FOR_SYNCING
, SYNCING
, READY
, SYNC_ERROR
Available options:
ADD
, UPDATE
, CANCEL
, REVOKE