Strategy / TypeScript SDK

List gtm assets

List offering-scoped direct offers, front-end offers, and lead magnets, optionally filtered by lifecycle. Read-only.

pipeline.listGtmAssetsDeterministic operation

Parameters

workspaceIdRequired · string
See the input schema for this field.
offeringIdOptional · string
See the input schema for this field.
kindOptional · string
See the input schema for this field.offer · lead_magnet
lifecycleOptional · string
See the input schema for this field.candidate · reviewed · approved · campaign_selected · winning · retired
Request example
await pipeline.listGtmAssets({
  "workspaceId": "00000000-0000-4000-8000-000000000000"
})
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string"
    },
    "offeringId": {
      "type": "string"
    },
    "kind": {
      "type": "string",
      "enum": [
        "offer",
        "lead_magnet"
      ]
    },
    "lifecycle": {
      "type": "string",
      "enum": [
        "candidate",
        "reviewed",
        "approved",
        "campaign_selected",
        "winning",
        "retired"
      ]
    }
  },
  "required": [
    "workspaceId"
  ],
  "additionalProperties": false
}
See this operation inCLI MCP REST API
TypeScript SDK | Pipeline v2 preview