API · Context · Get context document by type
Retrieve a single context document by its canonical type key.
Most types return the full KnowledgeDoc directly (not the junction
wrapper). Five keys are projections of structured Brand Kit rows,
rendered to Markdown on demand and returned as
{doc_type: "<key>", content: "..."}: content_pillars, icps,
features (Product rows), usps and competitor_analysis (Competitor
rows, with the narrative document appended under ## Analysis when one
exists). They are written only through buildBrandKit’s row sections.
A 404 on one of these means the kit has no rows for it — complete the
brand foundation rather than retrying the read or writing a context
document in its place.
Authentication
Header authentication of the form Api-Key <token>
Bearer authentication of the form Bearer <token>, where token is your auth token.
