GET
/
v4
/
knowledge-bases
/
{knowledge_base_id}

Authorizations

x-api-key
string
headerrequired

Path Parameters

knowledge_base_id
string
required

Query Parameters

include_artifacts_status
boolean
default: false

Optional query parameter to include a count of artifacts by status

view
enum<string>[] | null
Available options:
Connections,
ArtifactCount

Response

200 - application/json
knowledge_base_id
string
required

The unique ID of the knowledge base

vector_store_id
string
required

(Legacy) The unique ID of the underlying vector store. This is to allow for backwards compatibility with the V1 Vector Store APIs. This will be removed in the near future.

knowledge_base_name
string
required

The name of the knowledge base

embedding_config
object
required

The embedding configuration

created_at
string
required

The timestamp at which the knowledge base was created

metadata
object

Metadata associated with the knowledge base

updated_at
string

The timestamp at which the knowledge base was last updated

connections
object[]

The data source connections associated with the knowledge base. Only returned with the view=Connections query parameter.

artifacts_status
object

Number of artifacts in each of the various states, such as completed and failed for this knowledge base. This includes all data sources.

artifact_count
integer

The total number of artifacts in the knowledge base. Only returned with the view=ArtifactCount query parameter.

cluster_status
string

Whether the knowledge base has been clustered.