Integration API
Developer Reference
Consume WyzBench evaluation results programmatically. Use the Recommendation and WyzRouter Config endpoints to integrate model-selection intelligence into Wyzard or any downstream system.
๐ Authentication
All endpoints require an X-API-Key header. Your API key is scoped to your organisation โ it cannot access other orgs' data. Keys are long-lived; rotate via your team admin.
Base URL
https://wyzbench.34.56.55.184.nip.ioHeader format
X-API-Key: wb_your_key_here
โก Rate Limits
| Tier | Req / min | Req / day |
|---|---|---|
| Dev key | 10 | 500 |
| Production | 60 | 10,000 |
429 responses include a Retry-After header (seconds). Only POST /v1/evaluations is rate-limited; GET endpoints are unlimited.
# Respect Retry-After on 429 HTTP/1.1 429 Too Many Requests Retry-After: 30 # Retry after the header value: sleep 30 && curl -H "X-API-Key: ..." \ https://wyzbench.34.56.55.184.nip.io/v1/evaluations
๐ฆ Versioning
All endpoints are under /v1/. Breaking changes increment the version. The current stable version is v1.
๐ WyzRouter Integration Pattern
The recommended integration pattern is:
- Submit a WyzBench evaluation for your task type once (or after a supersession alert)
- Fetch the router config โ
GET /v1/evaluations/{job_id}/router-config - Store the config in your WyzRouter or routing layer
- At inference time, WyzRouter selects
primary_modelwith automatic fallback tofallback_model - Re-run evaluations on a schedule or when a supersession nudge is received
Filter:8 endpoints
GET
/v1/evaluations/{job_id}/recommendationโ Get RecommendationPrimaryGET
/v1/evaluations/{job_id}/router-configโ Get Router ConfigPOST
/v1/evaluationsโ Submit EvaluationPrimaryGET
/v1/evaluations/{job_id}โ Get Evaluation StatusGET
/v1/evaluationsโ List EvaluationsGET
/v1/evaluations/{job_id}/certificationโ Certification ReportGET
/v1/orgs/me/criteria-weightsโ Get Org Criteria WeightsPATCH
/v1/orgs/me/criteria-weightsโ Update Criteria WeightsNeed help?
Questions about the integration API โ contact your WyzBench account team.