Strategy / TypeScript SDK

Create gtm asset candidate

Create a caller-authored GTM asset candidate for one core offering. Does not invoke hosted AI or approve the asset.

pipeline.createGtmAssetCandidateDeterministic operation

Parameters

workspaceIdRequired · string
See the input schema for this field.
offeringIdRequired · string
See the input schema for this field.
candidateRequired · object
See the input schema for this field.
offerTypeOptional · string
See the input schema for this field.direct_offer · front_end_offer · trial
Request example
await pipeline.createGtmAssetCandidate({
  "workspaceId": "00000000-0000-4000-8000-000000000000",
  "offeringId": "00000000-0000-4000-8000-000000000000",
  "candidate": {}
})
Full input schema
Input schema
{
  "type": "object",
  "properties": {
    "workspaceId": {
      "type": "string"
    },
    "offeringId": {
      "type": "string"
    },
    "candidate": {
      "type": "object",
      "additionalProperties": true
    },
    "offerType": {
      "type": "string",
      "enum": [
        "direct_offer",
        "front_end_offer",
        "trial"
      ]
    }
  },
  "required": [
    "workspaceId",
    "offeringId",
    "candidate"
  ],
  "additionalProperties": false
}
See this operation inCLI MCP REST API
TypeScript SDK | Pipeline v2 preview