---
title: "Extract Knowledge Graph"
method: POST
path: "/helixdb/etl/extract-kg"
tags: ["HelixDB", "HelixDB ETL"]
---

# Extract Knowledge Graph

`POST /helixdb/etl/extract-kg`

## Request

- Base URL: `https://api.getmetacognition.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getmetacognition.com/helixdb/etl/extract-kg`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/metacognition/apis/tex-api/docs/helixdb/etl/extract-kg/post.ts> (a function with typed inputs; its response is checked against the schema)

Extract and deduplicate knowledge graph from document chunks.

This is a pass-through to HelixDB's /etl/extract-kg endpoint.
Useful for extracting entities/relationships without inserting.

## Request body

- object

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/metacognition/apis/tex-api.md) - [All operations](https://skmtc.dev/metacognition/apis/tex-api/llms.txt) - [OpenAPI document](https://skmtc.dev/metacognition/apis/tex-api/revisions/3bef47e50f2e?raw)
