Skip to main content
POST
/
v1
/
memories
/
synthesize
Synthesize a briefing
curl --request POST \
  --url https://pnbr.io/v1/memories/synthesize \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "what blocks deals?",
  "project_id": "9142fa4d-7aad-4a1b-8f99-b522fd37518d"
}
'
{
  "text": "Across recalled memory, deals stall at procurement rather than on price...",
  "markdown": "Across recalled memory, deals stall at procurement rather than on price...",
  "format": "markdown",
  "project_id": "9142fa4d-7aad-4a1b-8f99-b522fd37518d",
  "spec": {
    "purpose": "operational-briefing",
    "query": "what blocks deals?",
    "output_type": "SituationBriefing",
    "selected_memory_ids": [
      "92e22e9e-ace5-4f88-9972-a2b099f313b1"
    ],
    "hashes": {
      "structural": "90940517ac6c92fd17adb35284d342e6607cd73e1e2d347a05975fdd16d5015f",
      "operational": "fb1ec21f0752350bdd0e38b312673203f206e22309bb7344f6ba1555c4b9394f",
      "denotative": "088be957aaca474658b6dd55e61bb44e9c5f1db050148737174490f0b4553e94"
    },
    "generated_at": "2026-06-16T00:01:19.630Z",
    "candidate_count": 1
  },
  "sources": [],
  "model": "chat-model-gemini-3.1-flash-lite",
  "persisted": false
}

Authorizations

Authorization
string
header
required

A pnbr- API key. Project-scoped keys make project_id implicit; org-scoped keys require it.

Body

application/json
query
string
project_id
string

Response

200 - application/json

A MemoryBriefing.