Vanar | API Reference
Back to Console

Upload Seeds

Upload files or text content to create seeds in the Neutron system.

Endpoint

POST /seeds

Authentication

Required. Include your API key in the Authorization header.

Query Parameters

ParameterTypeRequiredDescription
appIdstringYesApplication identifier
externalUserIdstringYesExternal user identifier for data isolation

Request Body

Content-Type: multipart/form-data

Upload either files or text content (or both). When uploading files, include fileTypes, fileSources, and fileTitles (all arrays must have matching lengths). When uploading text, include textTypes, textSources, and textTitles.

FieldTypeDescription
filesFile[]Binary files to upload (max 10 files, 100MB total). Use with fileTypes and fileSources.
fileTypesstring[]Type for each file (e.g., "pdf", "word", "image"). Array length must match files count.
fileSourcesstring[]Origin identifier for each file (e.g., "upload", "chrome_extension"). Array length must match files count.
fileTitlesstring[]Display name for each file. Array length must match files count.
textstring[]Text content to upload as seeds. Use with textTypes and textSources.
textTypesstring[]Type for each text item (e.g., "text", "markdown", "claude_chat"). Array length must match text count.
textSourcesstring[]Origin identifier for each text item (e.g., "upload", "chrome_extension"). Array length must match text count.
textTitlesstring[]Display name for each text item. Array length must match text count.
bundleIdsstring[]Bundle UUIDs to associate with uploaded seeds for grouping.

Processing Pipeline

After successful upload, seeds are processed asynchronously:

1

Upload

Files uploaded to temporary storage

2

Extract

Background job extracts text/images

3

Convert

Content converted to markdown

4

Chunk

Chunked with dynamic token-based splitting

5

Embed

Embeddings generated (Jina Embeddings v4)

6

Store

Stored in database + cloud storage

Typical processing time: 5-30 seconds depending on file size and type.