Skip to main content
Check the HTTP status and response body together. Most errors include a detail field; it can be a string, a list of field errors, or a structured validation result.

HTTP status codes

Workflow validation

The validation endpoint returns is_valid and errors. Publishing an invalid definition can return the same result inside detail.
This illustrates the response shape; error messages depend on the failed check. Use kind, id, and field to locate the item to correct.

Retry carefully

Retry read-only requests with bounded exponential backoff after a transient error. Do not blindly retry a request that starts a call, starts a campaign, creates a resource, or invokes an action: it might have succeeded before the response was lost. Check recent runs or the resource state first. Record the status, time, target agent, and any returned run ID in your own application logs. Keep keys and customer content out of diagnostic logs.