Skip to main content
POST
Generates suggested tests for a Rulebook flow. Use this as a draft helper when building coverage for a new or changed rule.

Headers

string
required
Bearer token containing your Fini workspace API key. Format: Bearer fini_... The key needs write scope.
string
required
application/json

Body parameters

string
required
Description of the behavior the generated tests should cover.
object
required
Rulebook flow configuration to generate tests against.
object
Existing test suite context to avoid duplicate coverage.
string
Additional instructions for the generator.

Response

Returns generated test-case suggestions for the supplied Rulebook flow.
Generated tests are suggestions. Review them before adding them to a production regression suite.