Skip to main content
Adds an item to a folder. You can upload a file, send text or JSON content directly, or send both together.

Endpoint

Send it as multipart/form-data.

Request

Path parameters

Form fields

Three ways to add an item

Creates a file type item.

Response (201 Created)

Response fields

Supported file formats

A format missing from this list is rejected at upload — 400 OMNI_2105. That covers HWP and HWPX, the legacy doc, xls, and ppt formats, RAW, ICO, ZIP, and video and audio files. Convert legacy Office documents to docx, xlsx, or pptx before uploading.
A file whose extension disagrees with its actual content is rejected the same way, with OMNI_2105. Renaming a PDF to .md does not get it through.

Limits

The 100MB is the combined size of the files uploaded to one profile. Splitting them across folders does not change the total. Items added as text are not files and barely count toward it.

What happens after adding

An added item goes through asynchronous text extraction and moves from PENDING to ACTIVE (or FAILED). An analysis can only run once every item in the profile is ACTIVE.
Poll item status once per second and watch for isRagReady to turn true. If an item is not ACTIVE within 60 seconds, delete it and add it again.

Error codes

Common errors (401 authentication · 403 permission · 500 server) are listed in the API overview.