---
title: "Read a project brief (injection payload)"
method: GET
path: "/api/v1/context/projects/{projectId}/inject"
tags: ["Session Memory"]
---

# Read a project brief (injection payload)

`GET /api/v1/context/projects/{projectId}/inject`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/context/projects/{projectId}/inject`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Returns the brief injection payload for a specific project. ?shape=spine renders the 4-slot text; ?format=json returns the raw context object.

## Path parameters

- `projectId` string, required

## Query parameters

- `tool` string
- `verbosity` 'light' | 'standard' | 'detailed'
- `sections` string: Comma-separated sections incl. landmines, shipped.
- `shape` 'spine': Opt-in: ?shape=spine renders the 4-slot brief TEXT body (SHIPPED / DECIDED / OPEN / LANDMINE). Default keeps the current text shape. brief_spine is attached either way.

## Response `200`

The project brief payload

- InjectResponse: Wrapper for a project brief injection payload.
  - `payload` BriefPayload, required: Brief payload: the text body the AI reads plus the structured 4-slot brief_spine with per-item trust.
    - `tool` string, required
    - `format` string, required
    - `verbosity` 'light' | 'standard' | 'detailed', required
    - `body` string, required: The brief TEXT the AI reads. Default shape unless ?shape=spine, which renders the 4 labeled slots.
    - `provenance` object[]
      - `kind` 'active_project' | 'related_project' | 'session' | 'global', required
      - `label` string, required
      - `project_id` string
      - `node_id` string
      - `confidence` number
    - `brief_spine` object, nullable: The structured 4-slot brief — SHIPPED / DECIDED / OPEN / LANDMINE.
      - `shipped` BriefItem[], required: SHIPPED slot — deterministic completion events (newest first).
        - `text` string, required
        - `trust` 'high' | 'inferred' | 'unverified', required: Per-item confidence band derived from provenance: high (verified or confidence ≥ 0.75), inferred (0.4–0.75 or date_inferred), unverified (below that or absent).
        - `source_tool` string, nullable
        - `date` string, nullable: ISO timestamp this item was recorded/decided/shipped.
        - `importance` 'low' | 'normal' | 'high' | 'critical'
        - `reasoning` string, nullable: DECIDED items only — why the decision was made.
        - `paths` string[]: LANDMINE items only — related file paths.
        - `commit_ref` string, nullable: SHIPPED items only — the commit this shipped in.
        - `pinned` boolean
        - `from_card` boolean: SHIPPED items only — true when the line came from a board card moved to Done. Label it "Shipped": a Done card is a reported completion, not a checked one.
      - `decided` BriefItem[], required: DECIDED slot — unresolved recent decisions.
        - `text` string, required
        - `trust` 'high' | 'inferred' | 'unverified', required: Per-item confidence band derived from provenance: high (verified or confidence ≥ 0.75), inferred (0.4–0.75 or date_inferred), unverified (below that or absent).
        - `source_tool` string, nullable
        - `date` string, nullable: ISO timestamp this item was recorded/decided/shipped.
        - `importance` 'low' | 'normal' | 'high' | 'critical'
        - `reasoning` string, nullable: DECIDED items only — why the decision was made.
        - `paths` string[]: LANDMINE items only — related file paths.
        - `commit_ref` string, nullable: SHIPPED items only — the commit this shipped in.
        - `pinned` boolean
        - `from_card` boolean: SHIPPED items only — true when the line came from a board card moved to Done. Label it "Shipped": a Done card is a reported completion, not a checked one.
      - `open` BriefItem[], required: OPEN slot — open questions.
        - `text` string, required
        - `trust` 'high' | 'inferred' | 'unverified', required: Per-item confidence band derived from provenance: high (verified or confidence ≥ 0.75), inferred (0.4–0.75 or date_inferred), unverified (below that or absent).
        - `source_tool` string, nullable
        - `date` string, nullable: ISO timestamp this item was recorded/decided/shipped.
        - `importance` 'low' | 'normal' | 'high' | 'critical'
        - `reasoning` string, nullable: DECIDED items only — why the decision was made.
        - `paths` string[]: LANDMINE items only — related file paths.
        - `commit_ref` string, nullable: SHIPPED items only — the commit this shipped in.
        - `pinned` boolean
        - `from_card` boolean: SHIPPED items only — true when the line came from a board card moved to Done. Label it "Shipped": a Done card is a reported completion, not a checked one.
      - `landmine` BriefItem[], required: LANDMINE slot — sharp, durable watch-outs.
        - `text` string, required
        - `trust` 'high' | 'inferred' | 'unverified', required: Per-item confidence band derived from provenance: high (verified or confidence ≥ 0.75), inferred (0.4–0.75 or date_inferred), unverified (below that or absent).
        - `source_tool` string, nullable
        - `date` string, nullable: ISO timestamp this item was recorded/decided/shipped.
        - `importance` 'low' | 'normal' | 'high' | 'critical'
        - `reasoning` string, nullable: DECIDED items only — why the decision was made.
        - `paths` string[]: LANDMINE items only — related file paths.
        - `commit_ref` string, nullable: SHIPPED items only — the commit this shipped in.
        - `pinned` boolean
        - `from_card` boolean: SHIPPED items only — true when the line came from a board card moved to Done. Label it "Shipped": a Done card is a reported completion, not a checked one.
      - `shipped_header` object: Optional SHIPPED header (current_status).
        - `text` string, required
        - `verified` boolean, required
    - `stale` boolean
    - `stale_tier` string, nullable
    - `requires_refresh` boolean

## Other responses

- `204`: No brief (suppressed by dedup or preferences)
- `404`: Project not found

---

[API](https://skmtc.dev/deerdawn/apis/deerdawn-session-memory-api.md) · [All operations](https://skmtc.dev/deerdawn/apis/deerdawn-session-memory-api/llms.txt) · [OpenAPI document](https://skmtc.dev/deerdawn/apis/deerdawn-session-memory-api/revisions/002b48818bf9?raw)
