---
title: "List KB extractions"
method: GET
path: "/api/v0/knowledge-bases/{kb_id}/extractions"
tags: ["Knowledge Bases"]
---

# List KB extractions

`GET /api/v0/knowledge-bases/{kb_id}/extractions`

List extraction results for a knowledge base schema.

## Path parameters

- `kb_id` string, uuid, required

## Query parameters

- `schema_id` string, uuid, nullable — Schema ID to list extractions for. Defaults to the active schema.

## Response `200`

Successful Response

- KBExtractionListResponse — Response for listing KB extractions.
  - `extractions` KBExtractionGetResponse[], required — The list of extractions.
    - `id` string, uuid, required — The ID of the extraction.
    - `schema_id` string, uuid, required — The ID of the schema used.
    - `document_id` string, uuid, required — The ID of the document.
    - `document_name` string, required — The name of the document.
    - `extracted_data` object[], nullable — The extracted data as an array of entries. Each document may produce one or more entries.
    - `created_at` string, date-time, required — When the extraction was created.
    - `updated_at` string, date-time, required — When the extraction was last updated.
  - `json_schema` object, nullable — The schema used for these extractions.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/outerport/apis/outerport-api.md) · [All operations](https://skmtc.dev/outerport/apis/outerport-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/outerport/outerport-api/revisions/f565b46daaea/schema)
