curl --request POST \
--url https://api.example.com/api/projects/{projectId}/releases/{releaseId}/evaluate/{*} \
--header 'Content-Type: application/json' \
--header 'X-Access-Token: <api-key>' \
--data '
{
"context": {
"cart": {
"total": 1500
},
"customer": {
"country": "US",
"tier": "gold"
}
},
"trace": false
}
'{
"result": "<unknown>",
"performance": "<string>",
"trace": {}
}Evaluates a decision from a specific release version.
curl --request POST \
--url https://api.example.com/api/projects/{projectId}/releases/{releaseId}/evaluate/{*} \
--header 'Content-Type: application/json' \
--header 'X-Access-Token: <api-key>' \
--data '
{
"context": {
"cart": {
"total": 1500
},
"customer": {
"country": "US",
"tier": "gold"
}
},
"trace": false
}
'{
"result": "<unknown>",
"performance": "<string>",
"trace": {}
}Documentation Index
Fetch the complete documentation index at: https://docs.gorules.io/llms.txt
Use this file to discover all available pages before exploring further.
Project access token is obtained within project settings
ProjectId or projectKey
ReleaseId or releaseVersion
Decision document key
Successful release decision evaluation result
Was this page helpful?