---
title: "Get Harbor Context Document"
method: GET
path: "/api/harbors/{harbor_id}/contexts/{context_id}"
tags: ["Harbors"]
---

# Get Harbor Context Document

`GET /api/harbors/{harbor_id}/contexts/{context_id}`

Returns one complete Harbor context document.

The response includes the complete plain-text `content`.

A Harbor profile credential can read context only when `harbor_id` identifies
its own Harbor.

## Path parameters

- `harbor_id` string, uuid, required — Unique identifier of the Harbor.
- `context_id` string, uuid, required — Unique identifier of the context document.

## Headers

- `X-Polytomic-Version` string

## Response `200`

OK

- HarborContextEnvelope
  - `data` HarborContextResponse
    - `content` string — Complete plain-text context content.
    - `created_at` string, date-time — When the context document was created.
    - `description` string — Short summary of the context document.
    - `id` string, uuid — Unique identifier of the context document.
    - `title` string — Human-readable context title.
    - `updated_at` string, date-time — When the context document was last updated.

## Other responses

- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

[API](https://skmtc.net/polytomic/apis/polytomic-api.md) · [All operations](https://skmtc.net/polytomic/apis/polytomic-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/polytomic/polytomic-api/revisions/42f4cfea0ea3/schema)
