Regenerate Global Context
POST /global-context/regenerate
Regenerate Studio (Global Context) documents against a website.
Why this exists. Studio docs are generated once at onboarding from the company profile’s website. If that profile was wrong at the time — the common case for self-serve orgs, which seed graph8’s own profile when no domain is given — every downstream ICP, persona, TAM and campaign is built on the wrong company, and there was no machine path to fix it:
- the internal
POST /global-context/generate-allrefuses forever once the first pipeline completes (409 ... Contact support to reset and regenerate); POST /global-context/generate/{doc_type}has no such lock but was JWT-only, so an agent or API key could not call it.
This endpoint wraps the per-document path, which means it is not subject to the one-shot pipeline lock and can be run whenever the source of truth changes.
Requires intelligence data for website_url to exist already — run the
intelligence analyze step first for a newly-changed domain, otherwise this
returns 404 rather than regenerating stale content.
Authorizations
Parameters
Header Parameters
Request Body required
object
Website to generate from. After a company-profile change this must be the NEW domain — intelligence is keyed by URL, so passing the old one silently regenerates the same stale content.
Responses
202
Successful Response
object
object
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error