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 operation

Parameters

workspaceIdOptional · string
Optional when using API key auth - inferred from the key.
Request example
await pipeline.getGtmContext({})
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string",
      "description": "Optional when using API key auth - inferred from the key."
    }
  }
}
See this operation inCLI MCP REST API
TypeScript SDK | Pipeline v2 preview