---
title: "Download a knowledge graph's .zip archive"
method: GET
path: "/api/v0/knowledge-bases/{kb_id}/graph/archive"
tags: ["Knowledge Base Graph"]
---

# Download a knowledge graph's .zip archive

`GET /api/v0/knowledge-bases/{kb_id}/graph/archive`

## Request

- Base URL: `https://api.outerport.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.outerport.com/api/v0/knowledge-bases/{kb_id}/graph/archive`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/outerport/apis/outerport-api/docs/api/v0/knowledge-bases/:kb_id/graph/archive/get.ts> (a function with typed inputs; its response is checked against the schema)

Bundles the KG's package subscriptions, documents (raw uploads + display assets), visual components, nodes, edges, extraction provenance, complete attribute-claim history, and fact resolutions into a single .zip suitable for rebuilding a new collection via POST /api/v0/knowledge-bases/import.

## Path parameters

- `kb_id` string, uuid, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-25** `fcd15f6d35b4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/outerport/apis/outerport-api/changes/api/v0/knowledge-bases/:kb_id/graph/archive/get.md)

---

[API](https://skmtc.dev/outerport/apis/outerport-api.md) - [All operations](https://skmtc.dev/outerport/apis/outerport-api/llms.txt) - [OpenAPI document](https://skmtc.dev/outerport/apis/outerport-api/revisions/08b5bf6f7f18?raw)
