ICP / GTM / TypeScript SDK
Get gtm context
Read the workspace's full GTM context: personas, commercial offerings, campaign offers, canonical lead magnets, case studies, competitors, ICP criteria, company/service descriptions, and onboarding evidence keyed to the canonical saved asset IDs. Use this before generating messages, evaluating prospect fit, or recommending campaigns. Returns { configured: boolean, hint?: string } so you can detect incomplete setup and nudge the user to finish onboarding.
pipeline.getGtmContextDeterministic operationParameters
workspaceIdOptional · string- Optional when using API key auth - inferred from the key.
await pipeline.getGtmContext({})Full input schema
{
"type": "object",
"properties": {
"workspaceId": {
"type": "string",
"description": "Optional when using API key auth - inferred from the key."
}
}
}