Zum Hauptinhalt springen

Import and process document

POST 

/api/admin/document/csvImport

Upload and process CSV, XLSX, PDF, or DOCX files

Request​

Body

    filebinaryrequired
    user_tokenstring
    chat_model_tokenstring
    chatModelIdstring[]required

Responses​

File uploaded and processed successfully

Schema

    messagestring
    Example: File uploaded successfully
    filestring
    Example: /tmp/uploaded_file.csv