Workflows and apps
Validate a bundle
Check a staged bundle against the spec, the credential and const wiring, and (for code) TypeScript. Nothing is persisted.
POST
https://cloud.generalinput.com/v1/workflows/:id/validateAuthenticationRequires
workflows:manage on a personal API key. A CLI session always passes.The real compile gate. Code workflows are type-checked server-side against the real @general-input/core; apps get the design-system lint and handler references; agent workflows get the agent.json schema and a non-empty instructions.md.
Body
| Field | Type | Required | Notes |
|---|---|---|---|
bundleKey | string | yes | From bundle upload URL. |
Response
{
"valid": false,
"errors": [
{
"path": "main.ts",
"message": "Property 'foo' does not exist on type 'WorkflowContext'."
},
{ "message": "Credential slot 'slack' is not wired." }
]
}path is present when an error belongs to one file. A valid: true response has an empty errors array.