Skip to main content

Insert text

For short content that fits in a JSON body (< ~1MB):

InsertOptions

Upload a file

PDFs, CSVs, markdown, plain text. Images are extracted from PDFs automatically.

Supported file types

  • PDF (text + tables + images)
  • CSV
  • Markdown
  • Plain text (.txt)
  • DOCX
Max file size depends on your plan: free tier is 10MB. See user limits at runtime.

Poll async jobs manually

If you set wait: false and want to poll yourself:
Or use the built-in waitForJob:

JobStatus values

Upload polling

Uploads have their own status endpoint because the pipeline goes: upload → file processor → fact extraction → ready. wait: true handles polling automatically; to do it manually: