Skip to main content

Endpoint

POST https://api.ugc.inc/automations/run

Request Body

templateId
string
required
Template ID to execute.
variableInputs
Record<string, PortValue>
Optional runtime variable values keyed by input node ID.
saveAsPreview
boolean
Optional flag to save output as preview.
tag
string
Optional run tag.

Response

data
{ runIds: string[] }
Array of run IDs started by this call.

TypeScript

const res = await client.automations.run({ templateId: 'tpl_123', orgId: 'org-id' });