Workflows and apps
Get workflow config
The runtime bindings: which credential fills each slot, each const's value, and each trigger's schedule or poll inputs.
GET
https://cloud.generalinput.com/v1/workflows/:id/configAuthenticationRequires
workflows:manage on a personal API key. A CLI session always passes.Config lives in the database, not in the bundle. A run with an unwired credential or an unset schedule is blocked.
Response
{
"credentials": {
"slack": "cred_01HX…",
"search-internet": "psvc_search-internet"
},
"variables": { "days": 7, "greeting": "Good morning" },
"triggers": {
"daily": {
"type": "cron",
"schedule": "0 9 * * 1-5",
"timezone": "America/New_York"
},
"newEmail": {
"type": "poll",
"selectedCredentialId": "cred_02AB…",
"inputValues": { "label": "INBOX" }
},
"inbound": {
"type": "webhook",
"webhookUrl": "https://cloud.generalinput.com/webhooks/…"
}
}
}| Field | Notes |
|---|---|
credentials | Service slug to credential id. Hosted services and platform resources (databases, stores, browsers) appear here too. |
variables | Const key to value. |
triggers | Keyed by the trigger id declared in workflow.json. Shape depends on type. |