Data Source

Create Data Source

Changed on

Create a new datasource

post/api/v1/datasource

Request

Request body

ds_type'pdf' | 'doc' | 'http' | 'tool' | 'text_blob' | 'image' | 'text_image' required
namestring nullable
descriptionstring nullable
attributesobject
ds_status'empty' | 'initialized' | 'queued' | 'crawling' | 'in_process' | 'retry_pending' | 'ready_for_use' | 'failed'
org_idstring uuid nullable

Response

Successful Response

messagestring nullable

Changes

    • warning

      added the new crawling enum value to the /// response property for the response status

    • warning

      added the new queued enum value to the /// response property for the response status

    • warning

      added the new retry_pending enum value to the /// response property for the response status

    • info

      added the new crawling enum value to the request property /

    • info

      added the new queued enum value to the request property /

    • info

      added the new retry_pending enum value to the request property /