cliDeterministic
List gtm assets
pipeline list-gtm-assets
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
CLI commandbash
pipeline list-gtm-assets \--workspace-id "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"}},"editableCandidates": {"type": "array","items": {"type": "object","properties": {"id": {"type": "string"},"kind": {"type": "string","enum": ["offer","lead_magnet"]},"offeringId": {"type": ["string","null"]},"version": {"type": "number"},"status": {"type": "string"},"expectedUpdatedAt": {"type": "string"},"candidate": {"$schema": "https://json-schema.org/draft/2020-12/schema","type": "object","properties": {"assetType": {"type": "string","enum": ["offer","lead_magnet"]},"slug": {"type": "string","minLength": 1},"version": {"type": "integer","exclusiveMinimum": 0,"maximum": 9007199254740991},"title": {"type": "string","minLength": 1},"description": {"type": "string","minLength": 1},"lifecycleStatus": {"type": "string","enum": ["candidate","reviewed","approved","campaign_selected","winning","retired"]},"evidence": {"type": "object","properties": {"citations": {"type": "array","items": {"type": "object","properties": {"id": {"type": "string","minLength": 1},"sourceKind": {"type": "string","enum": ["workspace_fact","case_study","customer_language","market_research","competitor","operator_constraint"]},"sourceLabel": {"type": "string","minLength": 1},"sourceUrl": {"anyOf": [{"type": "string","format": "uri"},{"type": "null"}]},"excerpt": {"type": "string","minLength": 1},"observedAt": {"type": "string","format": "date-time","pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"},"confidence": {"type": "number","minimum": 0,"maximum": 1},"approvedForOutbound": {"type": "boolean"}},"required": ["id","sourceKind","sourceLabel","sourceUrl","excerpt","observedAt","confidence","approvedForOutbound"],"additionalProperties": false}}},"required": ["citations"],"additionalProperties": false},"claims": {"type": "array","items": {"type": "object","properties": {"claim": {"type": "string","minLength": 1},"claimType": {"type": "string","enum": ["factual","numeric","comparative","guarantee","time_bound","hypothesis"]},"evidenceIds": {"type": "array","items": {"type": "string","minLength": 1}},"allowed": {"type": "boolean"},"humanReviewRequired": {"type": "boolean"},"reason": {"type": "string","minLength": 1}},"required": ["claim","claimType","evidenceIds","allowed","humanReviewRequired","reason"],"additionalProperties": false}},"score": {"type": "object","properties": {"deliveryCost": {"type": "integer","minimum": 1,"maximum": 5},"prospectValue": {"type": "integer","minimum": 1,"maximum": 5},"competenceProof": {"type": "integer","minimum": 1,"maximum": 5},"icpPainFit": {"type": "integer","minimum": 1,"maximum": 5},"channelFriction": {"type": "integer","minimum": 1,"maximum": 5},"conversionBridge": {"type": "integer","minimum": 1,"maximum": 5},"total": {"type": "integer","minimum": -9007199254740991,"maximum": 9007199254740991},"verdict": {"type": "string","enum": ["ship","revise","reject","insufficient_context"]},"hardRejections": {"type": "array","items": {"type": "string","minLength": 1}}},"required": ["deliveryCost","prospectValue","competenceProof","icpPainFit","channelFriction","conversionBridge","total","hardRejections"],"additionalProperties": false},"fulfillment": {"type": "object","properties": {"deliveryMode": {"type": "string","enum": ["prebuilt","generated","manual"]},"estimatedFulfillmentMinutes": {"type": "integer","minimum": 0,"maximum": 9007199254740991},"deliveriesPerDay": {"type": "integer","exclusiveMinimum": 0,"maximum": 9007199254740991},"approvalRequired": {"type": "boolean"}},"required": ["deliveryMode","estimatedFulfillmentMinutes","deliveriesPerDay","approvalRequired"],"additionalProperties": false}},"required": ["assetType","slug","version","title","description","lifecycleStatus","evidence","claims","score"],"additionalProperties": false}},"required": ["id","kind","offeringId","version","status","candidate"]}},"warnings": {"type": "array","items": {"type": "string"}}},"required": ["offers","leadMagnets"]}
Exit codes
- 1
- Invalid input or local configuration.
- 2
- The API or tool returned an error.
- 3
- Authentication failed.
- 4
- A network request failed.