Skip to main content

Endpoint

Upload Methods

Upload a file. Creates a file type item.

Request Parameters (Form Data)

file
File to upload. Either file or content must be provided.
string
Item type: file, text, or json. Required when only content is provided. Ignored when file is provided.
string
Display name (defaults to filename or auto-generated)
string
Text or JSON content. Either file or content must be provided.
string (JSON)
Custom metadata as a JSON string

Response (201 Created)

string | null
Original file URL. Only included in upload/update responses, not in list or detail queries.
object | null
Auto-detected file info: contentType, extension, fileCategory
string | null
OCR-extracted text. null on creation, populated after processing completes.

File Constraints

Supported File Formats

Processing

After upload, items are automatically processed:
  • Images & PDFs: OCR extraction (Korean & English)
  • Office documents: Text and data extraction
  • Status flow: PENDINGACTIVE (or FAILED)
Poll GET /v1/profiles/{profileId}/items/status at 1-second intervals (max 60 seconds) to check when all items are ready for analysis.

Error Codes