v1

latestOpenAPI 3.1.02026-07-1255227258.8 KB
connections

Create Oauth Redirect Url

Creates a redirect url to redirect the user to when initializing an embedded connector.

post/connections/oauth

Request body

redirect_uristring required
partitionstring nullable
source_type'backblaze' | 'confluence' | 'dropbox' | 'freshdesk' | 'onedrive' | 'google_drive' | 'gmail' | 'intercom' | 'notion' | 'salesforce' | 'sharepoint' | 'jira' | 'slack' | 's3' | 'gcs' | 'hubspot' | 'webcrawler' | 'zendesk'
metadataobject

Metadata for the document. Keys must be strings. Values may be strings, numbers, booleans, or lists of strings. Numbers may be integers or floating point and will be converted to 64 bit floating point. 1000 total values are allowed. Each item in an array counts towards the total. The following keys are reserved for internal use: document_id, document_type, document_source, document_name, document_uploaded_at, start_time, end_time, chunk_content_type.

theme'light' | 'dark' | 'system' nullable

Sets the theme of the Ragie Web UI when the user lands there. Can be light, dark, or system to use whatever the system value is. If omitted, system is used.

page_limitinteger nullable

The maximum number of pages a connection will sync. The connection will be disabled after this limit is reached. Some in progress documents may continue processing after the limit is reached. The limit will be enforced at the start of the next document sync. Remove the limit by setting to null.

configobject

Optional config per connector

authenticator_idstring uuid nullable
workflow'parse' | 'index'
sync_filterSyncFilter

Example request

{
  "page_limit": 1000
}

Response

Successful Response

urlstring required