Create Source Batch
Creates a new source batch container for organizing and managing related document sources. A source batch acts as a logical grouping that must be created before uploading any sources. The returned source_batch_id is required when creating sources and can be used to reference all contained sources in chat or search requests.
Workflow:
- Create a source batch (this endpoint)
- Upload sources to the batch using the returned
source_batch_id - Use the
source_batch_idin chat/search API requests to access all sources in the batch
Documentation Index
Fetch the complete documentation index at: https://docs.linqalpha.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Body
Descriptive name for the source batch (e.g., project name, document category)
1 - 255"Q4_Financial_Reports"
User ID
"123e4567-e89b-12d3-a456-426614174000"
Organization ID
"123e4567-e89b-12d3-a456-426614174000"
User email
"john.doe@example.com"
User name
"John Doe"
Optional detailed description of the source batch purpose and contents
1000"Financial documents including revenue reports, expense summaries, and forecasts for Q4 2024"
Response
Source batch created successfully
Unique identifier for the created source batch. Use this ID when uploading sources and referencing the batch in chat/search requests.
"123e4567-e89b-12d3-a456-426614174000"