Zum Hauptinhalt springen
POST
Upload single file

Autorisierungen

Authorization
string
header
erforderlich

Bearer token authentication. Format: 'Bearer '

Abfrageparameter

source_type
enum<string>
erforderlich
Verfügbare Optionen:
knowledge_source,
chat
source_id
string
erforderlich

Body

multipart/form-data
file
file
erforderlich

Antwort

Successful Response

stem
string
erforderlich
extension
string
erforderlich
hash
string
erforderlich
view_uri
string
erforderlich
download_uri
string
erforderlich
num_pages
integer
erforderlich
num_chunks
integer
erforderlich
num_tokens
integer
erforderlich
document_type
enum<string>
Standard:document
Verfügbare Optionen:
document,
image
processing_status
enum<string>
Standard:ready
Verfügbare Optionen:
processing,
ready,
failed