Read the structured workspace context — ICP, positioning, content strategy, user background — that every downstream action implicitly pulls from.
null on either context or profile means onboarding hasn’t produced a user_profiles row yet — treat as “not onboarded, escalate.”
/api/context with the update verb. See Update saved workspace context to replace the full context object.regenerateContext to auto-derive from a LinkedIn URL + website. Made-up ICPs will quietly corrupt every downstream generation.null means not onboarded. context: null or profile: null on GET — treat as “workspace incomplete.” Do not attempt to PUT a filled-out context on a workspace that has no profile row; run onboarding first.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Context + identity fields. Both are null when the workspace has no profile row yet (new user mid-onboarding).
Assembled workspace context. Each sub-object is stored as a separate JSONB column on user_profiles and merged at read time.
Identity fields stored alongside the context JSONB columns. Returned so a UI can render a full profile page without a second round-trip.