Editorial / Content
This guide uses `service_source: maas-enterprise`.
This guide uses service_source: maas-enterprise.
Default integration pattern
- create one anchor per domain lane
- ingest content or observations into the correct lane
- recall before drafting
- hydrate prompt context when the current input is sparse
- reinforce only the recalled memory that changed the output
Recommended lanes
MAAS_ANCHOR_EDITORIALMAAS_ANCHOR_TRENDSMAAS_ANCHOR_MAKERS
Create the editorial anchor
curl -X POST https://maas.nunchiai.com/v1/anchors \
-H "Authorization: Bearer mk_maas_example" \
-H "X-Workspace-Id: indiepulse-editorial" \
-H 'Content-Type: application/json' \
-d '{
"name": "Editorial Lane",
"type": "chat-log",
"metadata": {
"lane": "MAAS_ANCHOR_EDITORIAL",
"project": "indiepulse"
}
}'
Ingest editorial memory
curl -X POST https://maas.nunchiai.com/v1/memory/ingest \
-H "Authorization: Bearer mk_maas_example" \
-H "X-Workspace-Id: indiepulse-editorial" \
-H 'Content-Type: application/json' \
-d '{
"user_external_id": "indiepulse-editorial",
"session_id": "editorial-brief-2026-04-03",
"messages": [
{ "role": "system", "content": "Editorial memory ingest." },
{ "role": "user", "content": "Founders are reacting strongly to infra pricing shifts." }
]
}'
Recall before drafting
curl -X POST https://maas.nunchiai.com/v1/memory/recall \
-H "Authorization: Bearer mk_maas_example" \
-H "X-Workspace-Id: indiepulse-editorial" \
-H 'Content-Type: application/json' \
-d '{
"user_external_id": "indiepulse-editorial",
"session_id": "draft-2026-04-03",
"query": "What angles should the editorial draft emphasize?"
}'
Hydrate a bounded context block
curl -X POST https://maas.nunchiai.com/v1/memory/hydrate \
-H "Authorization: Bearer mk_maas_example" \
-H "X-Workspace-Id: indiepulse-editorial" \
-H 'Content-Type: application/json' \
-d '{
"anchor_ids": ["EDITORIAL_ANCHOR_ID", "TRENDS_ANCHOR_ID"],
"query": "Prepare a 500-token briefing on founder pricing sentiment.",
"token_budget": 500
}'
Errors
-
400invalid key or missing workspace header -
402billing blocked -
403access policy denied -
404missing anchor -
429rate limited