Test the Decision Verification API with live requests, structured inputs, and verifiable responses.
Use this playground to inspect the request and response shape before integrating Trust OS into your application.
Live responses are shown when credentials are configured. Sandbox responses preserve the same structure for integration planning.
{
"decision_id": "—",
"recommendation": "—",
"risk_score": null,
"risk_level": "—",
"policy": "—",
"proof_hash": "—",
"verified": false,
"latency_ms": null
}
| Field | Type | Description |
|---|---|---|
| decision_id | string | Unique identifier for this verification event |
| recommendation | string | APPROVE · REVIEW · DENY |
| risk_score | number | 0.0 – 1.0 policy evaluation score |
| risk_level | string | LOW · MEDIUM · HIGH |
| policy | string | Name of the policy applied to this decision |
| proof_hash | string | SHA-256 cryptographic verification proof |
| latency_ms | number | API evaluation latency in milliseconds |
| mode | string | "sandbox" when live API is unavailable |
const { TrustOSClient } = require("@trust-os-sdk/trust-os-sdk");
const client = new TrustOSClient({
apiKey: process.env.TRUST_OS_API_KEY
});
const result = await client.verifyDecision({
action: "stablecoin_transfer",
amount: 50000,
currency: "USDC",
destination: "wallet_abc"
});import requests
import os
response = requests.post(
"https://trustos-core-gateway-v2-7jm9owrs.an.gateway.dev/v1/decision/verify",
headers={
"Content-Type": "application/json",
"x-api-key": os.environ["TRUST_OS_API_KEY"],
},
json={
"action": "stablecoin_transfer",
"amount": 50000,
"currency": "USDC",
"destination": "wallet_abc",
},
)
print(response.json())package main
import (
"bytes"
"fmt"
"net/http"
"os"
)
func main() {
body := []byte(`{
"action": "stablecoin_transfer",
"amount": 50000,
"currency": "USDC",
"destination": "wallet_abc"
}`)
req, _ := http.NewRequest(
"POST",
"https://trustos-core-gateway-v2-7jm9owrs.an.gateway.dev/v1/decision/verify",
bytes.NewBuffer(body),
)
req.Header.Set("Content-Type", "application/json")
req.Header.Set("x-api-key", os.Getenv("TRUST_OS_API_KEY"))
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
fmt.Println(res.Status)
}POST /v1/decision/verify
Host: trustos-core-gateway-v2-7jm9owrs.an.gateway.dev
Content-Type: application/json
x-api-key: YOUR_API_KEY
{
"action": "stablecoin_transfer",
"amount": 50000,
"currency": "USDC",
"destination": "wallet_abc"
}curl -X POST https://trustos-core-gateway-v2-7jm9owrs.an.gateway.dev/v1/decision/verify \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"action": "stablecoin_transfer",
"amount": 50000,
"currency": "USDC",
"destination": "wallet_abc"
}'One API, multiple verification workflows
Verify high-impact decisions before execution — across payments, AI agents, and governance.
Integrate the Decision Verification API into payment infrastructure, AI agent systems, treasury platforms, and compliance workflows.
Trust OS is in private beta. API keys are provisioned by invitation.
Request API Access