---
title: "Export an Open Knowledge Format bundle"
method: GET
path: "/handovers/{id}/okf"
---

# Export an Open Knowledge Format bundle

`GET /handovers/{id}/okf`

## Request

- Base URL: `https://handover.sh/api/v1`
- URL: `https://handover.sh/api/v1/handovers/{id}/okf`
- Auth: HTTP bearer

## Query parameters

- `revision` string
- `format` 'tar' | 'json'

## Response `200`

OKF tar archive or JSON bundle

- OkfBundleEnvelope
  - `data` OkfBundle, required
    - `okfVersion` '0.1'
    - `handoverId` string
    - `revisionId` string
    - `expectedRevisionId` string
    - `mode` 'merge' | 'replace'
    - `files` OkfFile[], required
      - `path` string, required
      - `mediaType` string
      - `encoding` 'utf-8' | 'base64', required
      - `content` string, required
      - `byteSize` integer
      - `sha256` string

---

[API](https://skmtc.dev/handover/apis/handover-api.md) · [All operations](https://skmtc.dev/handover/apis/handover-api/llms.txt) · [OpenAPI document](https://skmtc.dev/handover/apis/handover-api/revisions/846b2a3091df?raw)
