Workflows and apps
Create a workflow
Create a workflow and scaffold its starting files. Pull the scaffold with the bundle URL.
POST
https://cloud.generalinput.com/v1/workflowsAuthenticationRequires
workflows:manage on a personal API key. A CLI session always passes.Body
| Field | Type | Required | Notes |
|---|---|---|---|
workflowType | string | yes | code, agent, or app. Skills are created under skills. |
name | string | no | Up to 200 characters, Title Case. A name is generated when omitted. |
Response
The new workflow's detail.
{
"id": "wf_01HX…",
"name": "Daily Digest",
"workflowType": "code",
"isEnabled": false,
"isValid": false,
"storagePath": "workflows/wf_01HX…",
"updatedAt": "2026-09-03T10:00:00.000Z"
}The scaffold is already stored as the live bundle. Download it with bundle URL, edit, then push through bundle upload URL.