---
title: "Get Kg Export"
method: GET
path: "/api/v1/kg/debug/export"
tags: ["v1", "KG Debug"]
---

# Get Kg Export

`GET /api/v1/kg/debug/export`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/kg/debug/export`
- Auth: none declared

Paginated node+edge export — one page of nodes plus the edges among
them (both endpoints in-page), for bulk external sync/backup.

cursor is an opaque offset string; pass meta.next_cursor back verbatim to
fetch the next page. Reuses kg_nodes_repo.list_active_page (real
DB-level .range() pagination, ordered by id — reproject.py's pattern)
+ kg_edges_repo.list_active_for_shop filtered to this page's node ids
(no new SQL beyond the one paginated node query).

## Query parameters

- `cursor` string, nullable: Offset cursor from a prior page's meta.next_cursor.
- `limit` integer
- `node_type` string, nullable
- `since` string, nullable: ISO 8601 UTC — restrict to nodes created >= since.

## Response `200`

Successful Response

- KgExportResponse
  - `data` KgExportData, required
    - `nodes` object[], required
    - `edges` object[], required
  - `meta` KgExportMeta, required
    - `next_cursor` string, nullable
    - `has_more` boolean, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
