Developers
The assessment API is being designed now, alongside an app that does the same without code. Both use one assessment engine, so results match. This page describes the plan so you can tell us whether it fits your integration. The sandbox is not open yet.
Proposed endpoints
| Endpoint | What it does |
|---|---|
POST /v1/assessments | Create an assessment for one exact transaction |
GET /v1/assessments/{id} | Read its processing status and result |
POST /v1/assessments/{id}/revisions | Submit corrected terms or new evidence as a new revision |
GET /v1/assessments/{id}/decision-record | Retrieve the structured decision record |
GET /v1/assessments | List your assessments, with filters and cursor pages |
POST /v1/assessments/{id}/reviews | Record a review, where your role allows it |
How it behaves
- Processing and outcome are separate. A request is queued, processing, complete or failed. Only a complete assessment has an outcome, so an error or timeout can never read as eligible.
- Retries are safe. Every create call carries an idempotency key. The same key and request return the original assessment; a changed request under the same key is refused.
- Money is exact. Amounts are integer strings in minor units with an explicit currency. Different currencies are never compared without a stated rate.
- Your organisation comes from your credentials, never from the request body. Sandbox and live keys, data and limits are separate.
- History is kept. New evidence or terms create a new revision linked to the old one. Event notifications are signed, timestamped and safe to receive twice.
Example
POST /v1/assessments
Idempotency-Key: 7c1e2b0a-order-1042
{
"schemaVersion": "assessment-request/0",
"customerReference": "order-1042",
"transactionType": "order-backed-input-purchase",
"principal": { "principalRef": "org-example-manufacturer" },
"agent": {
"agentId": "procurement-agent-7",
"mandateRef": "mandate-2026-11",
"scope": ["purchase:inputs"]
},
"buyerCommitment": {
"reference": "po-88213",
"amount": { "amount": "1200000",
"unit": { "kind": "currency", "code": "GBP", "scale": 2 } }
},
"supplierQuote": {
"reference": "quote-5530",
"cost": { "amount": "800000",
"unit": { "kind": "currency", "code": "GBP", "scale": 2 } }
},
"policy": { "policyId": "input-purchase", "version": "3" }
}{
"assessmentId": "asm-example-0142",
"status": "complete",
"eligibility": "conditional",
"financingAuthority": "none",
"simulated": true,
"reasons": [
{ "code": "QUOTE_EXPIRES_BEFORE_PURCHASE",
"ruleId": "quote-freshness",
"evidenceRefs": ["ev-quote-5530"] }
],
"conditions": [
{ "requirement": "Quote valid until purchase date",
"responsibleParty": "supplier",
"status": "open" }
]
}Invented values. The API may change before the sandbox opens.
Early access
We are looking for a small number of teams to help shape the API. Ask about early access