Session Memory

Read a project brief (injection payload)

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

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

Path parameters

projectIdstring required

Query parameters

toolstring
verbosity'light' | 'standard' | 'detailed'
sectionsstring

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

The project brief payload

Example response

{
  "payload": {
    "tool": "claude_code",
    "format": "code",
    "brief_spine": {
      "shipped": [
        {
          "text": "Shipped the brief-spine data model",
          "source_tool": "claude_code"
        }
      ],
      "decided": [
        {
          "text": "Shipped the brief-spine data model",
          "source_tool": "claude_code"
        }
      ],
      "open": [
        {
          "text": "Shipped the brief-spine data model",
          "source_tool": "claude_code"
        }
      ],
      "landmine": [
        {
          "text": "Shipped the brief-spine data model",
          "source_tool": "claude_code"
        }
      ]
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.