Works similar to the upload endpoint but is specifically designed to upload multiple app sources (e.g., Gmail, Slack, Notion) in a single request for processing and indexing.
Works similar to the upload endpoint but is specifically designed to upload multiple app sources (e.g., Gmail, Slack, Notion) in a single request for processing and indexing. Each app upload is handled using specialized pipelines inside Cortex and can include various content types with rich metadata.
Recommended: For optimal performance, limit each batch to a maximum of 20 app sources per request. Send multiple batch requests with an interval of 1 second between each request.
Authorization
: Bearer tokenaccept
: application/jsonContent-Type
: application/jsontenant_id
(string, required): Tenant identifiersub_tenant_id
(string, optional): Sub-tenant identifierThe request body is a JSON array of app source objects, where each object contains:
collections
(array of strings, optional): Collection tags for organizationid
(string, required): Unique identifier for the sourcetitle
(string, required): Title of the sourcetype
(string, required): Type of app source (e.g., “gmail”, “bookmark”, “document”)description
(string, optional): Description of the sourcenote
(string, optional): Additional notesurl
(string, optional): Source URLtimestamp
(string, required): Unix timestamp of when the source was created/accessedcontent
(object, required): Content object containing:
text
(string, optional): Plain text contenthtml_base64
(string, optional): Base64 encoded HTML contentcsv_base64
(string, optional): Base64 encoded CSV contentmarkdown
(string, optional): Markdown formatted contentfiles
(array, optional): Array of file objectslayout
(array, optional): Layout informationcortex_metadata
(object, optional): Custom metadata for Cortex processingmeta
(object, optional): Additional metadataattachments
(array, optional): Array of attachment objects with similar structure to contentBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The body is of type object[]
.
App sources uploaded successfully
Works similar to the upload endpoint but is specifically designed to upload multiple app sources (e.g., Gmail, Slack, Notion) in a single request for processing and indexing.
Works similar to the upload endpoint but is specifically designed to upload multiple app sources (e.g., Gmail, Slack, Notion) in a single request for processing and indexing. Each app upload is handled using specialized pipelines inside Cortex and can include various content types with rich metadata.
Recommended: For optimal performance, limit each batch to a maximum of 20 app sources per request. Send multiple batch requests with an interval of 1 second between each request.
Authorization
: Bearer tokenaccept
: application/jsonContent-Type
: application/jsontenant_id
(string, required): Tenant identifiersub_tenant_id
(string, optional): Sub-tenant identifierThe request body is a JSON array of app source objects, where each object contains:
collections
(array of strings, optional): Collection tags for organizationid
(string, required): Unique identifier for the sourcetitle
(string, required): Title of the sourcetype
(string, required): Type of app source (e.g., “gmail”, “bookmark”, “document”)description
(string, optional): Description of the sourcenote
(string, optional): Additional notesurl
(string, optional): Source URLtimestamp
(string, required): Unix timestamp of when the source was created/accessedcontent
(object, required): Content object containing:
text
(string, optional): Plain text contenthtml_base64
(string, optional): Base64 encoded HTML contentcsv_base64
(string, optional): Base64 encoded CSV contentmarkdown
(string, optional): Markdown formatted contentfiles
(array, optional): Array of file objectslayout
(array, optional): Layout informationcortex_metadata
(object, optional): Custom metadata for Cortex processingmeta
(object, optional): Additional metadataattachments
(array, optional): Array of attachment objects with similar structure to contentBearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The body is of type object[]
.
App sources uploaded successfully