List Data Sources
GET/api/v1/data-sources
List data sources for a given project. If project_id is not provided, uses the default project.
Request
Query Parameters
Cookie Parameters
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
- MOD1
- MOD1
- MOD1
- MOD1
- MOD2
- MOD3
- MOD4
- MOD5
- MOD6
Array [
]
- MOD1
- CloudS3DataSource
- CloudAzStorageBlobDataSource
- CloudGoogleDriveDataSource
- CloudOneDriveDataSource
- CloudSharepointDataSource
- CloudSlackDataSource
- CloudNotionPageDataSource
- CloudConfluenceDataSource
- CloudJiraDataSource
- CloudBoxDataSource
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
Array [
]
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
Array [
]
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
- MOD1
]
Unique identifier
created_at
object
Creation datetime
anyOf
string
updated_at
object
Update datetime
anyOf
string
The name of the data source.
Possible values: [S3
, AZURE_STORAGE_BLOB
, GOOGLE_DRIVE
, MICROSOFT_ONEDRIVE
, MICROSOFT_SHAREPOINT
, SLACK
, NOTION_PAGE
, CONFLUENCE
, JIRA
, BOX
]
custom_metadata
object
Custom metadata that will be present on all data loaded from the data source
anyOf
property name*
object
anyOf
object
string
integer
number
boolean
component
object
required
anyOf
object
The name of the S3 bucket to read from.
prefix
object
The prefix of the S3 objects to read from.
anyOf
string
aws_access_id
object
The AWS access ID to use for authentication.
anyOf
string
aws_access_secret
object
The AWS access secret to use for authentication.
anyOf
s3_endpoint_url
object
The S3 endpoint URL to use for authentication.
anyOf
string
CloudS3DataSource
The name of the Azure Storage Blob container to read from.
The Azure Storage Blob account URL to use for authentication.
blob
object
The blob name to read from.
anyOf
string
prefix
object
The prefix of the Azure Storage Blob objects to read from.
anyOf
string
account_name
object
The Azure Storage Blob account name to use for authentication.
anyOf
string
account_key
object
The Azure Storage Blob account key to use for authentication.
anyOf
tenant_id
object
The Azure AD tenant ID to use for authentication.
anyOf
string
client_id
object
The Azure AD client ID to use for authentication.
anyOf
string
client_secret
object
The Azure AD client secret to use for authentication.
anyOf
CloudAzStorageBlobDataSource
The ID of the Google Drive folder to read from.
The service account key JSON to use for authentication.
CloudGoogleDriveDataSource
The user principal name to use for authentication.
folder_path
object
The path of the OneDrive folder to read from.
anyOf
string
folder_id
object
The ID of the OneDrive folder to read from.
anyOf
string
The client ID to use for authentication.
The tenant ID to use for authentication.
required_exts
object
The list of required file extensions.
anyOf
string
CloudOneDriveDataSource
site_name
object
The name of the SharePoint site to download from.
anyOf
string
site_id
object
The ID of the SharePoint site to download from.
anyOf
string
folder_path
object
The path of the Sharepoint folder to read from.
anyOf
string
folder_id
object
The ID of the Sharepoint folder to read from.
anyOf
string
drive_name
object
The name of the Sharepoint drive to read from.
anyOf
string
The client ID to use for authentication.
The tenant ID to use for authentication.
required_exts
object
The list of required file extensions.
anyOf
string
CloudSharepointDataSource
channel_ids
object
Slack Channel.
anyOf
string
latest_date
object
Latest date.
anyOf
string
earliest_date
object
Earliest date.
anyOf
string
earliest_date_timestamp
object
Earliest date timestamp.
anyOf
number
latest_date_timestamp
object
Latest date timestamp.
anyOf
number
channel_patterns
object
Slack Channel name pattern.
anyOf
string
CloudSlackDataSource
database_ids
object
The Notion Database Id to read content from.
anyOf
string
page_ids
object
The Page ID's of the Notion to read from.
anyOf
string
CloudNotionPageDataSource
The server URL of the Confluence instance.
Type of Authentication for connecting to Confluence APIs.
user_name
object
The username to use for authentication.
anyOf
string
api_token
object
The API token to use for authentication.
anyOf
space_key
object
The space key to read from.
anyOf
string
page_ids
object
The page IDs of the Confluence to read from.
anyOf
string
cql
object
The CQL query to use for fetching pages.
anyOf
string
label
object
The label to use for fetching pages.
anyOf
string
CloudConfluenceDataSource
Cloud Jira Data Source integrating JiraReader.
email
object
The email address to use for authentication.
anyOf
string
api_token
object
The API/ Access Token used for Basic, PAT and OAuth2 authentication.
anyOf
server_url
object
The server url for Jira Cloud.
anyOf
string
cloud_id
object
The cloud ID, used in case of OAuth2.
anyOf
string
Type of Authentication for connecting to Jira APIs.
JQL (Jira Query Language) query to search.
CloudJiraDataSource
folder_id
object
The ID of the Box folder to read from.
anyOf
string
The type of authentication to use (Developer Token or CCG)
Possible values: [developer_token
, ccg
]
developer_token
object
Developer token for authentication if authentication_mechanism is 'developer_token'.
anyOf
client_id
object
Box API key used for identifying the application the user is authenticating with
anyOf
string
client_secret
object
Box API secret used for making auth requests.
anyOf
user_id
object
Box User ID, if provided authenticates as user.
anyOf
string
enterprise_id
object
Box Enterprise ID, if provided authenticates as service.
anyOf
string
CloudBoxDataSource
[
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"created_at": "2024-07-29T15:51:28.071Z",
"updated_at": "2024-07-29T15:51:28.071Z",
"name": "string",
"source_type": "S3",
"custom_metadata": {},
"component": {},
"project_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}