sdkDeterministic
List gtm assets
pipeline.listGtmAssets
List offering-scoped direct offers, front-end offers, and lead magnets, optionally filtered by lifecycle. Read-only.
Parameters
workspaceIdrequired
string
No description.
offeringId
string
No description.
kind
string
No description.
offer | lead_magnet
lifecycle
string
No description.
candidate | reviewed | approved | campaign_selected | winning | retired
Example
TypeScripttypescript
await pipeline.listGtmAssets({"workspaceId": "00000000-0000-4000-8000-000000000000"})
Response
Success response schemajson schema
{"type": "object","properties": {"offers": {"type": "array","items": {"type": "object"}},"leadMagnets": {"type": "array","items": {"type": "object"}}},"required": ["offers","leadMagnets"]}
Exceptions
- PipelineError
- Thrown for validation, authentication, JSON-RPC, HTTP, and network failures. Inspect code and data when present.