Skip to main content

Eval Result

Getting Evaluation Results

GET https://api.regle.dev/v2/event_results

Request Format

event_results endpiont allows you to retrieve evaluation results of events specified via query parameter ids, which is a comma separated list of event ids. Note that if you specified a custom event id with commas, they need to be URL encoded.

Each request take up 1000 event ids.

Response

TBD

Authentication

event_results require authentication via X-Regle-ApiKey header.

This API key can be obtained from your Regle account under "Account" -> "Api keys".

Regle API keys looks like ak_api_key.

Example Request

curl example
curl -s -XGET \
-H 'Content-Type: application/json' \
-H "X-Regle-ApiKey: $REGLE_API_KEY" \
https://api.regle.dev/v2/event_results?ids=70ec1f09-c873-4529-9f91-f14f0bdc4aa8