---
title: "Process multiple decisions"
method: POST
path: "/zephr/decide"
tags: ["SDK Feature Decision Engine"]
---

# Process multiple decisions

`POST /zephr/decide`

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 body

- object
  - `features` unknown[], required — The list of features to evaluate. This must be contain at least one element. Features are evaluated sequentially, in the order they are provided.
    - unknown
  - `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.
  - `user_agent` string — Client user agent
  - `jwt` string — A Json Web Token, may include identity or product holding claims.
  - `dry_run_mode` boolean — A flag to indicate where the decision request would persist states such as user entitlement, segments, test groups, etc.

## Response `200`

OK

- FeatureDecisionsResponse
  - `results` FeatureDecisionResponse[], required — List of feature decision outcomes. These will be ordered as provided in the request.
    - `sdkFeatureSlug` string, required — The slug of the SDK feature which has been evaluated.
    - `outputType` 'ENUM' | 'STRING' | 'NUMBER' | 'JSON' | 'TRANSFORMATION' | 'COMPONENT' — Feature output type. Present if there were no errors.
    - `outputValue` string — Feature output value. Present if there were no errors. - For the 'JSON_COMPONENT' output type, the response will be stringified JSON. - For the 'TRANSFORMATION' output type, the response will contain a stringified JSON array of transformations to be applied, including ENABLE_CONTENT, CUSTOM_COMPONENT, TEMPLATE_COMPONENT and FORM.
    - `error` string — The error message explaining why this decision failed to resolve. Present only if there was an error.

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/zuora/apis/public-api-reference.md) · [All operations](https://skmtc.net/zuora/apis/public-api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/zuora/public-api-reference/revisions/0400dd83950b/schema)
