Knowledge Bases

Retrieve a datasource

Retrieves a datasource and its current processing status and chunk count.

get/v2/knowledge/{knowledge_id}/datasources/{datasource_id}

Path parameters

knowledge_idstring required
datasource_idstring required

Response

Datasource successfully retrieved

display_namestring required
descriptionstring nullable

The description of the knowledge base

status'pending' | 'processing' | 'completed' | 'failed' | 'queued' required
file_idstring nullable

The unique identifier of the file used to create the datasource.

createdstring required
updatedstring required
created_by_idstring uuid nullable

The user ID of the creator of the knowledge base

update_by_idstring uuid nullable

The user ID of the last user who updated the knowledge base

knowledge_idstring required
chunks_countnumber double required
_idstring required

Changes

Changed in 140 of the 253 revisions of this API.626230

  • addad33219df410See the full diff
    • the response property metadata became optional for the status 200

      response-property-became-optional

    • the _id response's property type/format changed from string/ulid to string/ for status 200

      response-property-type-changed

    • the created_by_id response's property type/format changed from string null/ to string null/uuid for status 200

      response-property-type-changed

    • the update_by_id response's property type/format changed from string null/ to string null/uuid for status 200

      response-property-type-changed

    • added the optional property attachment to the response with the 200 status

      response-optional-property-added

    • added the optional property processing_attempts to the response with the 200 status

      response-optional-property-added

    • the response optional property _id became not read-only for the status 200

      response-optional-property-became-not-read-only

    • the response optional property created_by_id became read-only for the status 200

      response-optional-property-became-read-only

    • the response optional property update_by_id became read-only for the status 200

      response-optional-property-became-read-only

    • the response property _id became required for the status 200

      response-property-became-required

    • the _id response's property default value 01M0NTJ64T3WSAYHR87THB8D49 was removed for the status 200

      response-property-default-value-removed

    • the created_by_id response's property pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$ was added for the status 200

      response-property-pattern-added

    • the update_by_id response's property pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$ was added for the status 200

      response-property-pattern-added

    • the _id response's property pattern ^[0-9A-HJKMNP-TV-Z]{26}$ was removed for the status 200

      response-property-pattern-removed

    This revision also has 31 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 1586760a252f1028See the full diff
    • the response property _id became optional for the status 200

      response-property-became-optional

    • the chunks_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the created_by_id response's property type/format changed from string null/uuid to string null/ for status 200

      response-property-type-changed

    • the metadata/characters_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the metadata/chunks_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the metadata/paragraphs_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the metadata/sentences_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the metadata/tokens_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the metadata/words_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the update_by_id response's property type/format changed from string null/uuid to string null/ for status 200

      response-property-type-changed

    • removed the optional property attachment from the response with the 200 status

      response-optional-property-removed

    • removed the optional property processing_attempts from the response with the 200 status

      response-optional-property-removed

    • the response optional property created_by_id became not read-only for the status 200

      response-optional-property-became-not-read-only

    • the response optional property update_by_id became not read-only for the status 200

      response-optional-property-became-not-read-only

    • the response property metadata became required for the status 200

      response-property-became-required

    • the _id response's property default value 01M0JC91GNBTB0JDHDMR931VAZ was added for the status 200

      response-property-default-value-added

    • the _id response's property pattern ^[0-9A-HJKMNP-TV-Z]{26}$ was added for the status 200

      response-property-pattern-added

    • the created_by_id response's property pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$ was removed for the status 200

      response-property-pattern-removed

    • the update_by_id response's property pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$ was removed for the status 200

      response-property-pattern-removed

    • the response required property _id became read-only for the status 200

      response-required-property-became-read-only

    This revision also has 173 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • 4fdc24e562eb410See the full diff
    • the response property metadata became optional for the status 200

      response-property-became-optional

    • the _id response's property type/format changed from string/ulid to string/ for status 200

      response-property-type-changed

    • the created_by_id response's property type/format changed from string null/ to string null/uuid for status 200

      response-property-type-changed

    • the update_by_id response's property type/format changed from string null/ to string null/uuid for status 200

      response-property-type-changed

    • added the optional property attachment to the response with the 200 status

      response-optional-property-added

    • added the optional property processing_attempts to the response with the 200 status

      response-optional-property-added

    • the response optional property _id became not read-only for the status 200

      response-optional-property-became-not-read-only

    • the response optional property created_by_id became read-only for the status 200

      response-optional-property-became-read-only

    • the response optional property update_by_id became read-only for the status 200

      response-optional-property-became-read-only

    • the response property _id became required for the status 200

      response-property-became-required

    • the _id response's property default value 01M0HFR57S0HQQ2W9XJAKQTHAV was removed for the status 200

      response-property-default-value-removed

    • the created_by_id response's property pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$ was added for the status 200

      response-property-pattern-added

    • the update_by_id response's property pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$ was added for the status 200

      response-property-pattern-added

    • the _id response's property pattern ^[0-9A-HJKMNP-TV-Z]{26}$ was removed for the status 200

      response-property-pattern-removed

    This revision also has 31 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • be3fe58ce3891028See the full diff
    • the response property _id became optional for the status 200

      response-property-became-optional

    • the chunks_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the created_by_id response's property type/format changed from string null/uuid to string null/ for status 200

      response-property-type-changed

    • the metadata/characters_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the metadata/chunks_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the metadata/paragraphs_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the metadata/sentences_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the metadata/tokens_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the metadata/words_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the update_by_id response's property type/format changed from string null/uuid to string null/ for status 200

      response-property-type-changed

    • removed the optional property attachment from the response with the 200 status

      response-optional-property-removed

    • removed the optional property processing_attempts from the response with the 200 status

      response-optional-property-removed

    • the response optional property created_by_id became not read-only for the status 200

      response-optional-property-became-not-read-only

    • the response optional property update_by_id became not read-only for the status 200

      response-optional-property-became-not-read-only

    • the response property metadata became required for the status 200

      response-property-became-required

    • the _id response's property default value 01M0GK5X178SSG29KAHCQRA20S was added for the status 200

      response-property-default-value-added

    • the _id response's property pattern ^[0-9A-HJKMNP-TV-Z]{26}$ was added for the status 200

      response-property-pattern-added

    • the created_by_id response's property pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$ was removed for the status 200

      response-property-pattern-removed

    • the update_by_id response's property pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$ was removed for the status 200

      response-property-pattern-removed

    • the response required property _id became read-only for the status 200

      response-required-property-became-read-only

    This revision also has 175 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • f54fa34db0f4410See the full diff
    • the response property metadata became optional for the status 200

      response-property-became-optional

    • the _id response's property type/format changed from string/ulid to string/ for status 200

      response-property-type-changed

    • the created_by_id response's property type/format changed from string null/ to string null/uuid for status 200

      response-property-type-changed

    • the update_by_id response's property type/format changed from string null/ to string null/uuid for status 200

      response-property-type-changed

    • added the optional property attachment to the response with the 200 status

      response-optional-property-added

    • added the optional property processing_attempts to the response with the 200 status

      response-optional-property-added

    • the response optional property _id became not read-only for the status 200

      response-optional-property-became-not-read-only

    • the response optional property created_by_id became read-only for the status 200

      response-optional-property-became-read-only

    • the response optional property update_by_id became read-only for the status 200

      response-optional-property-became-read-only

    • the response property _id became required for the status 200

      response-property-became-required

    • the _id response's property default value 01M08SAY22T2X48TZHFRSM5BWA was removed for the status 200

      response-property-default-value-removed

    • the created_by_id response's property pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$ was added for the status 200

      response-property-pattern-added

    • the update_by_id response's property pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$ was added for the status 200

      response-property-pattern-added

    • the _id response's property pattern ^[0-9A-HJKMNP-TV-Z]{26}$ was removed for the status 200

      response-property-pattern-removed

    This revision also has 31 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • ed68e8b009d71028See the full diff
    • the response property _id became optional for the status 200

      response-property-became-optional

    • the chunks_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the created_by_id response's property type/format changed from string null/uuid to string null/ for status 200

      response-property-type-changed

    • the metadata/characters_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the metadata/chunks_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the metadata/paragraphs_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the metadata/sentences_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the metadata/tokens_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the metadata/words_count response's property type/format changed from number/double to number/ for status 200

      response-property-type-changed

    • the update_by_id response's property type/format changed from string null/uuid to string null/ for status 200

      response-property-type-changed

    • removed the optional property attachment from the response with the 200 status

      response-optional-property-removed

    • removed the optional property processing_attempts from the response with the 200 status

      response-optional-property-removed

    • the response optional property created_by_id became not read-only for the status 200

      response-optional-property-became-not-read-only

    • the response optional property update_by_id became not read-only for the status 200

      response-optional-property-became-not-read-only

    • the response property metadata became required for the status 200

      response-property-became-required

    • the _id response's property default value 01M08SAY22T2X48TZHFRSM5BWA was added for the status 200

      response-property-default-value-added

    • the _id response's property pattern ^[0-9A-HJKMNP-TV-Z]{26}$ was added for the status 200

      response-property-pattern-added

    • the created_by_id response's property pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$ was removed for the status 200

      response-property-pattern-removed

    • the update_by_id response's property pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$ was removed for the status 200

      response-property-pattern-removed

    • the response required property _id became read-only for the status 200

      response-required-property-became-read-only

    This revision also has 173 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

  • d46bd23ae34c410See the full diff
    • the response property metadata became optional for the status 200

      response-property-became-optional

    • the _id response's property type/format changed from string/ulid to string/ for status 200

      response-property-type-changed

    • the created_by_id response's property type/format changed from string null/ to string null/uuid for status 200

      response-property-type-changed

    • the update_by_id response's property type/format changed from string null/ to string null/uuid for status 200

      response-property-type-changed

    • added the optional property attachment to the response with the 200 status

      response-optional-property-added

    • added the optional property processing_attempts to the response with the 200 status

      response-optional-property-added

    • the response optional property _id became not read-only for the status 200

      response-optional-property-became-not-read-only

    • the response optional property created_by_id became read-only for the status 200

      response-optional-property-became-read-only

    • the response optional property update_by_id became read-only for the status 200

      response-optional-property-became-read-only

    • the response property _id became required for the status 200

      response-property-became-required

    • the _id response's property default value 01M07MJMHG9DJH8CWSASD9JMYS was removed for the status 200

      response-property-default-value-removed

    • the created_by_id response's property pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$ was added for the status 200

      response-property-pattern-added

    • the update_by_id response's property pattern ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$ was added for the status 200

      response-property-pattern-added

    • the _id response's property pattern ^[0-9A-HJKMNP-TV-Z]{26}$ was removed for the status 200

      response-property-pattern-removed

    This revision also has 29 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the _id response's property default value changed from 01M06YQWRDAZQYV231EXKXR6GW to 01M07MJMHG9DJH8CWSASD9JMYS for the status 200

      response-property-default-value-changed

    This revision also has 42 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • the _id response's property default value changed from 01M0083J3Y89GQ8VF8CQ6CS90J to 01M06YQWRDAZQYV231EXKXR6GW for the status 200

      response-property-default-value-changed

    • the _id response's property default value changed from 01KZZX6HNT8C8TTW9ECHYWB9MN to 01M0083J3Y89GQ8VF8CQ6CS90J for the status 200

      response-property-default-value-changed

    This revision also has 29 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

Of the 253 revisions, 71 have no diff computed.