---
title: "Get Harbor Context"
method: GET
path: "/api/me/harbor-context"
tags: ["Identity"]
---

# Get Harbor Context

`GET /api/me/harbor-context`

Lists active organization-provided Harbor context metadata without content, or returns one complete document when context_id is provided.

## Query parameters

- `context_id` string, uuid, nullable — Context document ID to load. Omit to list document metadata without content.

## Headers

- `X-Polytomic-Version` string

## Response `200`

OK

- GetHarborContextResponseEnvelope
  - `data` HarborContextResponseSchema
    - `content_type` string — Media type of each context document's content.
    - `contexts` HarborContextEntrySchema[], nullable — Active organization-provided context documents for this Harbor.
      - `content` string, nullable — Organization-provided plain-text data documentation. Present only when requesting one context by ID.
      - `description` string — Short summary of the context document.
      - `id` string, uuid — Stable context document ID.
      - `title` string — Human-readable context document title.
      - `updated_at` string, date-time — When this context document was last edited.
    - `harbor_name` string — Name of the Harbor profile that owns these context documents.
    - `source` string — Identifies these documents as organization-provided context.

## 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/31d9a913d396/schema)
