Agents
Check a flows script without saving it (v2)
Runs the flows compiler on a YAML script and reports the result. Nothing is stored. Supports User JWT and B2B Server JWT.
A script that does not compile is still a 200, with ok: false and the errors (each with a 1-based line when it can be located).
post/v2/agents/flows/validate
Request
- Base URL: https://api.chat.ethora.com
- URL: https://api.chat.ethora.com/v2/agents/flows/validate
- Auth: one of:
- HTTP bearer
- HTTP bearer
Request body
Response
{ ok: true, flowKeys: string[] }
// or
{ ok: false, errors: [{ path: string, message: string, line?: number }] }
Changes
No recorded changes to this operation across all 1 revision of this API.