Skip to navigation

Retrieve a knowledge store

This method retrieves the details of a specific knowledge store.

Authentication

x-api-keystring

Your API key.

Note

You can find your API key on the API Keys page.

Path parameters

knowledge_store_idstringRequired
The unique identifier of the knowledge store.

Response

The knowledge store has been successfully retrieved.
_idstringOptional
The unique identifier of the knowledge store.
namestringOptional
The name of the knowledge store.
descriptionstringOptional
An optional description of the knowledge store.
ingestion_configobjectOptional

The ingestion configuration set when this knowledge store was created. Immutable. If you created the knowledge store with a natural-language description, the platform converted it into a JSON Schema. The enrichment_config object in this field has the type field set to the json_schema value. Its json_schema field contains that JSON Schema. The property names and descriptions in that JSON Schema depend on the natural-language description, so read them from this field.

item_countintegerOptionalRead-only
The number of items in the knowledge store.
created_atstringOptionalformat: "date-time"
The date and time when the knowledge store was created, in the RFC 3339 format.
updated_atstringOptionalformat: "date-time"
The date and time when the knowledge store was last updated, in the RFC 3339 format.
metadatamap from strings to strings or integers or doubles or booleans or lists of stringsOptional

Custom metadata for the knowledge store. Keys are strings; each value is a string, a number, a boolean, or an array of strings.

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error