Evaluate ordered feature-flag rules (attribute operators, semver comparison, det
Evaluate ordered feature-flag rules (attribute operators, semver comparison, deterministic percentage rollout) for one user context and explain which rule matched. Docs: https://www.brainiac.software/api/experimentation/flag-rule-evaluate
Answeringour last check, 2026-11-27
4 of 4checks answered this week
309 msmedian answer time
$0.01listed price per call
$0.01price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://www.brainiac.software/api/v1/experimentation/flag-rule-evaluate
| Category | Everything else |
|---|---|
| Provider host | www.brainiac.software |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-11-27 | valid payment request | 402 | $0.01 | 259 ms |
| 2026-11-26 | valid payment request | 402 | $0.01 | 312 ms |
| 2026-11-25 | valid payment request | 402 | $0.01 | 306 ms |
| 2026-11-24 | valid payment request | 402 | $0.01 | 756 ms |
Example input (from the provider)
{
"body": {
"context": {
"appVersion": "5.2.0",
"country": "GB",
"email": "a@b.com",
"userId": "user_42"
},
"flag": {
"default": false,
"key": "new_checkout",
"rules": [
{
"conditions": [
{
"attribute": "email",
"op": "ends_with",
"value": "@acme.com"
}
],
"id": "staff",
"serve": true
},
{
"conditions": [
{
"attribute": "country",
"op": "in",
"value": [
"GB"
]
}
],
"id": "uk_rollout",
"rollout": 0.25,
"serve": true
}
],
"salt": "new_checkout"
}
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"context": {
"description": "context supplied by the caller for this operation.",
"example": {
"appVersion": "5.2.0",
"country": "GB",
"email": "a@b.com",
"userId": "user_42"
},
"type": "object"
},
"flag": {
"description": "flag supplied by the caller for this operation.",
"example": {
"default": false,
"key": "new_checkout",
"rules": [
{
"conditions": [
{
"attribute": "email",
"op": "ends_with",
"value": "@acme.com"
}
],
"id": "staff",
"serve": true
},
{
"conditions": [
{
"attribute": "country",
"op": "in",
"value": [
"GB"
]
}
],
"id": "uk_rollout",
"rollout": 0.25,
"serve": true
}
],
"salt": "new_checkout"
},
"type": "object"
}
},
"required": [
"flag",
"context"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}