---
title: Model: OptimizelyDecision
slug: feature-experimentation/api/model-optimizelydecision
docTags: 
createdAt: 2026-09-16T16:59:34.550Z
---

### Code examples

```json
{
  "variables": {},
  "variationKey": "",
  "enabled": false,
  "ruleKey": "",
  "flagKey": "",
  "userContext": {
    "userId": "",
    "attributes": {}
  },
  "reasons": [
    ""
  ]
}
```
