Verdicts

Run a decision through the full engine and get the verdict slip

Synchronous — the request does not return until the pipeline (clarify → deep run → verify → assemble) has finished or the 300s server budget is exhausted. On any failure the spent credit is refunded automatically (see failRunAndRefund in the source).

POST
/api/v1/verdict

Synchronous — the request does not return until the pipeline (clarify → deep run → verify → assemble) has finished or the 300s server budget is exhausted. On any failure the spent credit is refunded automatically (see failRunAndRefund in the source).

Authorization

bearerAuth
AuthorizationBearer <token>

An smx_live_... API key, issued at /developers. Send as: Authorization: Bearer smx_live_...

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/api/v1/verdict" \  -H "Content-Type: application/json" \  -d '{    "decision": "stringstringstringst"  }'
{  "slug": "string",  "url": "string",  "clarified": [    {}  ],  "slip": {},  "credits_remaining": 0}