Read a randomly drawn sample of service tests
What you can call today
Every example here runs against api.xovris.ai with a key from your account’s settings. GET /v1/health and GET /v1/public/status answer without one.
const url = 'https://api.xovris.ai/v1/public/random-service-test';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.xovris.ai/v1/public/random-service-testNo token needed: anyone may call this.
Responses
Section titled “Responses”Done.
object
object
object
object
object
object
object
object
object
object
object
Example
{ "protocol": { "id": "string", "registeredAt": "string", "beacon": { "chain": "string", "round": 1, "fallsAt": "string", "fallback": "nist-beacon-2.0" }, "strata": [ { "id": "A_documented_api", "frames": [ { "name": "string", "url": "string", "sha256": "string", "size": 1 } ], "frameSize": 1, "n": 1 } ], "timeCapMinutes": 1, "recheckHours": 1 }, "exclusions": { "E1": "string", "E2": "string", "E3": "string", "E4": "string", "E5": "string" }, "gate": { "minN": 300, "minObserved": 0.99, "minWilsonLower": 0.97, "maxAgeDays": 60 }, "latest": { "protocolId": "string", "drawnAt": "string", "completedAt": "string", "ageDays": 1, "strata": [ { "valid": 1, "connected": 1, "rate": 1, "wilson": { "lower": 1, "upper": 1 }, "id": "A_documented_api", "excluded": { "E1": 1, "E2": 1, "E3": 1, "E4": 1, "E5": 1 } } ], "overall": { "valid": 1, "connected": 1, "rate": 1, "wilson": { "lower": 1, "upper": 1 } }, "worstCase": { "valid": 1, "connected": 1, "rate": 1, "wilson": { "lower": 1, "upper": 1 } }, "pending": 1, "gate": { "open": true, "reasons": [ "string" ] } }, "results": [ { "stratum": "A_documented_api", "key": "string", "interfaces": [ "string" ], "outcome": "failed", "failure": "provider_refused", "exclusion": "E1", "xovrisSeconds": 1, "humanActs": [ { "kind": "string", "count": 1, "waitSeconds": 1 } ], "recheck24h": "failed" } ]}Nothing with that id here, or it belongs to another workspace. Nothing was changed.
object
object
A stable code a program can branch on.
What happened, in plain words.
What to do next.
The recorded authorisation decision, when a role refused it.
Example generated
{ "error": { "code": "example", "message": "example", "nextStep": "example", "decisionId": "example" }}default
Section titled “default”Any other refusal or failure. The answer says what happened and what to do next.
object
object
A stable code a program can branch on.
What happened, in plain words.
What to do next.
The recorded authorisation decision, when a role refused it.
Example generated
{ "error": { "code": "example", "message": "example", "nextStep": "example", "decisionId": "example" }}Your data is never used to train our AI. How your data is kept
A problem is called fixed only once it works again. How each fix is checked
XOVRIS LTD, registered in England and Wales, company number 17499910. Registered office: 66 Paul Street, London EC2A 4NA.