---
title: "Get Knowledge Base Route"
method: GET
path: "/api/knowledge_bases/{knowledge_base_id}"
tags: ["knowledge_base"]
---

# Get Knowledge Base Route

`GET /api/knowledge_bases/{knowledge_base_id}`

Get a knowledge base by ID.

## Path parameters

- `knowledge_base_id` string, uuid, required

## Response `200`

Successful Response

- KnowledgeBaseWithConfig
  - `ingestion_pipeline_params` KnowledgeBasePipelineParamsOutput, required — Knowledge base pipeline params. Parameters defined on the knowledge-base level for a pipeline.
    - `curate` CurateParams, required — Curate params. Defines full curation pipeline, as an ordered dict of named curation steps. Order of steps *does* matter -- they are executed in the order defined.
      - `steps` object
    - `curate_document_store` DocumentStoreParams, required — Document store params.
      - `document_tags` object
    - `transform` TransformParams, required — Transform params. Defines full transform pipeline, as an ordered dict of named transform steps. Order of steps *does* matter -- they are executed in the order defined.
      - `steps` object
    - `vector_store` VectorStoreParams, required — Vector store params.
      - `weaviate_collection_name` string, required — The name of the Weaviate collection to use for storing documents. Must start with AgilityKB and be valid.
      - `node_tags` object
  - `name` string, required
  - `description` string, required
  - `id` string, uuid, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required
  - `deleted_at` string, date-time, nullable, required

## Other responses

- `422` — Validation Error

## Changes

- **2024-12-13** `a5e85dccbbe3` — 1 info
  - added `#/components/schemas/CharacterSplitterV0Params` to the `ingestion_pipeline_params/transform/steps/additionalProperties/` response property `anyOf` list for the response status `200`
- **2024-12-07** `043c2e8fdb79` — 2 info
  - added `#/components/schemas/MarkdownNodeExpanderParams` to the `ingestion_pipeline_params/transform/steps/additionalProperties/` response property `anyOf` list for the response status `200`
  - the `model` response's property default value changed from `gpt-4o` to `gpt-4o-mini` for the status `200`
- **2024-12-05** `df1d1cc9e050` — 8 info
  - removed the `node_summarizer.v0` enum value from the `ingestion_pipeline_params/transform/steps/additionalProperties/anyOf[subschema #3: NodeSummarizerV0Params]/name` response property for the response status `200`
  - removed the `noop` enum value from the `ingestion_pipeline_params/transform/steps/additionalProperties/anyOf[subschema #4: NoopParams]/name` response property for the response status `200`
  - removed the `postpend_content.v0` enum value from the `ingestion_pipeline_params/curate/steps/additionalProperties/oneOf[subschema #3: PostpendContentParams]/name` response property for the response status `200`
  - removed the `remove_embedded_images.v0` enum value from the `ingestion_pipeline_params/curate/steps/additionalProperties/oneOf[subschema #4: RemoveEmbeddedImagesParams]/name` response property for the response status `200`
  - …4 more
- …earlier changes not shown

[Full history](https://skmtc.dev/cleanlab/apis/agility/changes/api/knowledge_bases/:knowledge_base_id/get.md)

---

[API](https://skmtc.dev/cleanlab/apis/agility.md) · [All operations](https://skmtc.dev/cleanlab/apis/agility/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/cleanlab/agility/revisions/9e6009a931b6/schema)
