Chakudya Nutrition Registry v1.74.0

Upload a document for automatic ingestion (admin)

POST /rag/upload · Admin API key required

Multipart upload. The file is stored, an ingest job is created and queued; a background consumer extracts text, chunks it, embeds it and writes the chunks to the knowledge base. Poll `GET /rag/jobs/{id}` for status. Allowed types: pdf, docx, txt, md, csv, html. Maximum size 25 MB.

Request body

Content type: multipart/form-data

Responses

  • 200 - Job created and queued
  • 400
  • 401
  • 413 - File larger than 25 MB
  • 502 - Storage upload failed
  • 503 - Ingest queue is not bound on this deployment

Back to the API reference