Upload documents via CSV, PDF, or XLSX file
Uploads a CSV, PDF, or XLSX file containing documents. CSV files will be validated and processed. PDF files will be processed via OCR. XLSX files are split per sheet and each sheet is converted into one or more documents via an LLM. Unless processFile is set to false, processing happens asynchronously.
Documentation Index
Fetch the complete documentation index at: https://docs.avidoai.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Your unique Avido API key
Your unique Avido Application ID
Body
Request for uploading documents via CSV, PDF, or XLSX file
CSV, PDF, or XLSX file containing documents
Name for this import
1 - 256"Knowledge Base Q1 2024"
Type of the documents being uploaded. Defaults to KNOWLEDGE.
KNOWLEDGE, POLICY "KNOWLEDGE"
ID of the quickstart this upload belongs to.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"456e7890-e89b-12d3-a456-426614174001"
ID of the topic to associate the uploaded document with.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"789e0123-e89b-12d3-a456-426614174002"
Optional extra metadata merged into document version metadata. Send as a JSON string in FormData.
"{\"step\":\"KNOWLEDGE_BASE_REVIEW\"}"
Whether to process the file asynchronously via background job. Defaults to true.
true
Response
File uploaded and queued for processing successfully