Workflow definitions
Validate a definition
Changed onDry-run validation of a definition (graph shape plus step configs) with no writes. Always returns 200; inspect valid and errors.
post/workflows/definitions/{id}/validate
Request
- Base URLhttps://api.nullplatform.com
- URLhttps://api.nullplatform.com/workflows/definitions/{id}/validate
- AuthHTTP bearer
Path parameters
idstring required
Workflow reference: a server-minted id (wf_...) or the workflow's client-chosen key (lowercase slug, unique per organization).
Request body
Example request
{
"name": "AMI drift scanner",
"key": "ami-drift-scanner",
"description": "Scans deployed scopes for outdated AMIs.",
"path": "/action-items/ami-drift",
"semanticVersion": "1.2.0"
}Response
The validation verdict, valid or not.
Example response
{
"errors": [
{
"path": "/steps/scan"
}
]
}Changes
- info
endpoint added
- info