Skip to main content
POST
Evaluates a Business Rule directly from an input context payload. Use this when you want to test rule behavior without binding the evaluation to an existing conversation.

Headers

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

Path parameters

string
required
Business Rule ID to evaluate.

Body parameters

object
required
Input context to evaluate the rule against.
object
Optional schema overrides for the evaluation.

Response

Returns an array of rule-node evaluation results.
This route uses synthetic public-API test identifiers for the bot, trace, and session context. Use Evaluate conversation rule when you need to evaluate against a real conversation.

Errors

The API key is missing, malformed, revoked, or invalid.
The API key does not include the write scope required for this route.
The Business Rule does not exist in your workspace.