Skip to main content
POST
Evaluates a 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
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.