Skip to main content
POST
/
sources
/
bulk-ingest-zip
Create Sources from ZIP
curl --request POST \
  --url https://api-prod.voltai.ai/source/api/sources/bulk-ingest-zip/ \
  --header 'Content-Type: multipart/form-data' \
  --cookie sessionid= \
  --form file='@example-file' \
  --form type= \
  --form force_reupload_existing=false \
  --form async_ingestion=true \
  --form 'parent_topic_path=<string>'
{}

Authorizations

sessionid
string
cookie
required

Query Parameters

organization_name
string
required

Organization name (required for multi-tenant API keys)

Body

multipart/form-data

Request schema for bulk source ingestion from a ZIP upload.

file
file
required

ZIP file to upload and ingest.

type
string
default:""

Optional source type override hint (html, md/markdown, csv).

force_reupload_existing
boolean
default:false

When true, re-upload and re-parse even if source already exists.

async_ingestion
boolean
default:true

When true, enqueue Celery ingestion jobs and return immediately.

parent_topic_path
string[]

Optional parent topic root-to-leaf path. This path is prefixed to each ZIP-derived file topic path.

Minimum string length: 1

Response

{key}
any