Passer à la navigation

List Knowledge Sources

List all knowledge sources for the current workspace

En-têtes

xi-api-keystringOptionnel
xi-workspace-idstring or nullOptionnel
The customer workspace a reseller's API key acts on.

Réponse

Réponse réussie

_idstring
source_typeenumOptionnelPar défaut file
Type of knowledge source.
Valeurs autorisées:
source_urlstring or nullOptionnel
last_scraped_at_unixinteger or nullOptionnel
original_filenamestringOptionnelPar défaut
content_typestringOptionnelPar défaut
file_size_bytesintegerOptionnelPar défaut 0
statusenumOptionnelPar défaut processing

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.

Valeurs autorisées:
error_messagestring or nullOptionnel
failure_reasonenum or nullOptionnel
Why processing a knowledge source failed.
crawl_entire_sitebooleanOptionnelPar défaut false
scraped_pages_countintegerOptionnelPar défaut 0
content_previewstring or nullOptionnel
processing_started_at_unixinteger or nullOptionnel
created_at_unixintegerOptionnel

Unix timestamp (seconds since epoch)

updated_at_unixintegerOptionnel

Unix timestamp (seconds since epoch)

Erreurs

422
Unprocessable Entity Error