LiveWhat is the decision API contract?
API reference
Sessions, decisions, challenges, dossiers, and enforcement outcomes.
Create an action-bound session
create-session.sh
curl https://presence.decionis.com/v1/sessions \ -H "Authorization: Bearer $PRESENCE_API_KEY" \ -H 'Content-Type: application/json' \ -d '{ "intent":"treasury.wire.execute", "surface":"erp", "actor_id":"user_123", "target_resource_id":"wire_456" }'Consume the result
decision.json
{ "policy_verdict": "ALLOW", "effective_verdict": "ALLOW", "execution_token": "pex_••••••••", "verification_bundle": { "dossier_id": "dos_01J...", "algorithm": "Ed25519" }}Server contract
- 01
Open a session for the exact action being approved, then pass the narrow session token to the browser SDK.
- 02
Submit the final decision with an idempotency key. The response includes policy and effective verdicts plus a signed verification bundle.
Verify the implementation
Canonical wire-format fixtures.
/developers/test-vectors →Anatomy of a signed record.
/proof/example-presence-record →
One next step
Continue with the executable path.