Upload Knowledge Source
Upload a file as a knowledge source
Encabezados
xi-api-key
xi-workspace-id
The customer workspace a reseller's API key acts on.
Solicitud
This endpoint expects a multipart form containing a file.
file
Respuesta
Respuesta correcta.
_id
source_type
Type of knowledge source.
Valores permitidos:
source_url
last_scraped_at_unix
original_filename
content_type
file_size_bytes
status
Processing status for knowledge sources.
processing: the file or site is being read.ready: done; the results are available.error: it failed and can be retried.
See progress for detail.
Valores permitidos:
error_message
failure_reason
Why processing a knowledge source failed.
crawl_entire_site
scraped_pages_count
content_preview
processing_started_at_unix
created_at_unix
Unix timestamp (seconds since epoch)
updated_at_unix
Unix timestamp (seconds since epoch)
Errores
422
Unprocessable Entity Error