Process multiple decisions

Processes multiple decisions. The SDK Feature Decision Engine can be invoked via the Public API to calculate a decision output response based upon Feature SDK Rules created in the Zephr Console.

Request
Request Body schema: application/json
features
required
Array of any

The list of features to evaluate. This must be contain at least one element. Features are evaluated sequentially, in the order they are provided.

session
string

Zephr Session ID, required for trials

foreign_keys
object

Foreign system and ID used to identify the user

ip
string

Client IP address, defaults to request IP

userAgent
string

Client user agent

jwt
string

A Json Web Token, may include identity or product holding claims

Responses
200

OK

400

Bad Request

post/zephr/decide
Request samples
application/json
{
  • "features": [
    ],
  • "session": "xxx-xxx-xxx",
  • "foreign_keys": { },
  • "ip": "x.x.x.x",
  • "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 11)...",
  • "jwt": "xxx-xxx-xxx"
}
Response samples
application/json
{
  • "results": [
    ]
}