---
title: "Retrieve a single decision"
method: GET
path: "/zephr/decision-engine"
tags: ["SDK Feature Decision Engine"]
---

# Retrieve a single decision

`GET /zephr/decision-engine`

## Request

- Base URL: `https://demo-site`
- URL: `https://demo-site/zephr/decision-engine`
- Auth: one of:
  - API key in cookie `blaize_session`
  - API key in query parameter `jwt`
  - API key in header `x-blaize-jwt`
  - API key in header `x-zephr-jwt`
  - HTTP bearer
  - API key in cookie `blaize_jwt`

For compatibility with CDN, any web headers (Referrer, User-Agent) will be accepted and passed onto the rule engine

## Query parameters

- `sdkFeatureSlug` string, required
- `session` string, required
- `foreign_id.xxx` string, required
- `ip` string, required
- `userAgent` string, required
- `path` string, required
- `content_id` string, required
- `jwt` string, required
- `raw` boolean, required

## Response `200`

Raw parameter response

- FeatureDecisionResponse
  - `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.

---

[API](https://skmtc.dev/zuora/apis/zuora-2.md) - [All operations](https://skmtc.dev/zuora/apis/zuora-2/llms.txt) - [OpenAPI document](https://skmtc.dev/zuora/apis/zuora-2/revisions/678190d04c40?raw)
