Back to API Store
Verification
Live
Paid API
Internal deterministic

Agent Trust Report Finalizer

Validates a server-built Veyra Agent Trust Report and returns it with a canonical response hash used by the existing Arc proof registry. Only the configured hosted payer may settle this endpoint.

Example use case

The hosted Veyra workflow purchases one final response whose canonical report hash is independently attested on Arc Testnet.

Agent reasoning hint

Use only as the final step of Veyra Agent Trust Report after all requested evidence sources have been collected.

cURL example

Unpaid direct requests to live paid services return HTTP 402 until an agent satisfies the x402 payment requirement.

curl -i -X POST https://veyra-hzipm5uyh-mioku50s-projects.vercel.app/api/premium/agent-trust/finalize \
  -H 'Content-Type: application/json' \
  -d '{
  "report": {
    "kind": "agent_trust_report"
  }
}'

Input schema

{
  "type": "object",
  "properties": {
    "report": {
      "type": "object"
    }
  },
  "required": [
    "report"
  ]
}

Output schema

{
  "type": "object",
  "properties": {
    "report": {
      "type": "object"
    },
    "paidAmountUsdc": {
      "type": "string"
    }
  },
  "required": [
    "report",
    "paidAmountUsdc"
  ]
}

Example request

{
  "method": "POST",
  "endpoint": "/api/premium/agent-trust/finalize",
  "body": {
    "report": {
      "kind": "agent_trust_report"
    }
  }
}

Example response

{
  "report": {
    "kind": "agent_trust_report",
    "verification": {
      "status": "verification_pending"
    }
  },
  "paidAmountUsdc": "0.0001"
}