Evaluate
Path Parameters
projectId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
personId?string|null
distinctId?string|null
email?string|null
externalIds?array<string>|null
keys?array<string>|null
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/projects/string/feature-flags/evaluate" \ -H "Content-Type: application/json" \ -d '{}'{ "flags": [ { "featureFlagId": "string", "key": "string", "isEnabled": true, "variantKey": "string", "value": null, "reason": "disabled" } ]}{ "error": { "type": "invalid_request", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "unauthenticated", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "permission_denied", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "not_found", "code": "string", "message": "string", "param": "string" }}{ "error": { "type": "internal", "code": "string", "message": "string", "param": "string" }}