Trigger evaluation
Evaluation runs asynchronously. The endpoint returns immediately with202 Accepted.
Poll evaluation status
Fetch the current status and results for a version. The response includes per-file results, so single-file promotions return an array of one.status is pending and its result is absent. When a file fails, its status is failed and no result is returned. A 404 means no evaluation exists for the version yet; trigger one first.
Aggregate status:
Aggregate status | Condition |
|---|---|
processing | Any individual evaluation is still pending |
succeeded | All evaluations have succeeded |
failed | At least one failed, none pending |
Recommended flow
- Trigger the evaluation with
POST .../evaluate. - Receive the result via a webhook. This is the recommended approach: Adclear pushes the result to your endpoint as soon as itβs ready, with no polling.
GET .../evaluation every 5 to 10 seconds until status is succeeded or failed.
Polling example
Troubleshooting
Evaluation stuck in processing
Evaluation stuck in processing
Typical evaluation time is 30 to 90 seconds. Continue polling every 5 to 10 seconds for up to 5 minutes. If itβs still processing after that, re-trigger with
POST .../evaluate. If it persists, contact support with the correlationId and evaluationId.Can I re-evaluate the same version?
Can I re-evaluate the same version?
Yes. Each
POST .../evaluate creates a new evaluation, and GET .../evaluation always returns the most recent result for that version. Previous results are retained internally for audit.