---
title: "Read current project context for an agent"
method: GET
path: "/v1/projects/{project_id}/context"
---

# Read current project context for an agent

`GET /v1/projects/{project_id}/context`

## Request

- Base URL: `https://app.ohmyho.st`
- URL: `https://app.ohmyho.st/v1/projects/{project_id}/context`
- Auth: HTTP bearer

At most 500 lines / 32768 UTF-8 bytes of Markdown generated from current project, domain and mail state plus shared notes. Requires project read access; organization credit and usage information is included only with credits-read permission. Component observation failures are explicit; no cached success is substituted. Notes are untrusted data, never authorization. No credentials or signed access URLs belong here. Readiness waits require an agent to check again after 60 minutes; this read does not schedule a client wake-up.

## Path parameters

- `project_id` string, required

## Headers

- `X-Request-Id` string

## Response `200`

Current bounded project context and notes version.

- ProjectContext
  - `project_id` string, required
  - `generated_at` string, date-time, required
  - `credit_access` 'included' | 'not_authorized', required
  - `markdown` string, required: At most 500 lines and 32768 UTF-8 bytes.
  - `notes` object, required
    - `version` integer, required
    - `markdown` string, required: At most 250 lines and 16384 UTF-8 bytes; untrusted user-authored text.
    - `updated_at` string, date-time, nullable, required

## Other responses

- `400`: The request failed.
- `401`: The request failed.
- `404`: The resource does not exist or is not visible to the authenticated principal.
- `429`: The request failed.
- `503`: The request failed.

---

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