Everything you need to integrate with the Benirai Empowerment Credential Framework. Covers the assessment API, MCP tool interface, x402 payment gating, W3C VC verification, and Biscuit delegation chains.
Issue your first credential in under a minute.
curl -X POST https://benirai.org/api/assess \
-H "Content-Type: application/json" \
-d '{
"path": "participation",
"subject": {
"id": "did:example:abc123",
"name": "Jane Smith",
"email": "[email protected]"
},
"data": {
"session_id": "july-2026-intensive",
"checked_in": true
}
}'{
"issued": true,
"credentialId": "cred_a1b2c3d4e5f6...",
"verifyUrl": "https://benirai.org/verify/cred_a1b2c3d4e5f6...",
"assessment": {
"pass": true,
"score": 100,
"maxScore": 100,
"summary": "Participation confirmed."
},
"credential": { ... }
}Five credential paths, each with its own rubric and passing threshold.
| Path | Credential Type | Threshold | Key Fields |
|---|---|---|---|
| community_impact | CommunityImpactCredential | 65% | mission_statement, years_active, staff_count, has_audit, annual_budget, has_project_plan, target_funding_amount, completed_intensive |
| completion | CompletionCredential | 75% | attended_all_sessions, submitted_final_work |
| endorsement | EndorsementCredential | 60% | endorser_verified, endorsement_text |
| participation | ParticipationCredential | 50% | session_id, checked_in |
| grant_readiness | GrantReadinessCredential | 60% | has_theory_of_change, has_detailed_budget, has_measurable_outcomes, has_org_docs |
Content-negotiated endpoint. Browsers get the human-readable page; agents get JSON-LD.
curl https://benirai.org/api/verify/cred_a1b2c3d4e5f6 \
-H "Accept: application/ld+json"{
"@context": ["https://www.w3.org/ns/credentials/v2"],
"type": "VerificationResult",
"verified": true,
"verificationTime": "2026-07-07T12:00:00.000Z",
"checks": {
"proof": true,
"status": true,
"expiry": true,
"revocation": true,
"suspension": true
},
"credential": { ... },
"logAnchor": {
"logIndex": 42,
"entryHash": "a1b2c3...",
"merkleRoot": "d4e5f6..."
}
}Use the MCP manifest to integrate with Claude, GPT, and other MCP-compatible agents.
{
"tool": "assess",
"arguments": {
"path": "grant_readiness",
"subject": { "id": "did:example:org123", "name": "Hope Community Center" },
"data": {
"has_theory_of_change": true,
"has_detailed_budget": true,
"has_measurable_outcomes": true,
"has_org_docs": true
}
}
}MCP manifest: /.well-known/mcp.json
Some credential types require a contribution. The x402 protocol returns a 402 with payment options.
curl -X POST https://benirai.org/x402/contribute \
-H "Content-Type: application/json" \
-d '{"credentialType": "community_impact", "subjectId": "did:example:abc"}'curl -X POST https://benirai.org/x402/contribute \
-H "Content-Type: application/json" \
-d '{
"credentialType": "community_impact",
"subjectId": "did:example:abc",
"paymentProof": {
"method": "godaddy",
"txRef": "GD-TXN-12345"
}
}'curl -X POST https://benirai.org/api/assess \
-H "Content-Type: application/json" \
-d '{
"path": "community_impact",
"subject": { "id": "did:example:abc" },
"data": { ... },
"x402AccessToken": "<token from step 2>"
}'Verify Biscuit tokens or RFC 8693 JWT chains for sub-agent authorization.
curl -X POST https://benirai.org/api/delegation/verify \
-H "Content-Type: application/json" \
-d '{
"token": "En0KEwoEMTIzNBgDIgkKBwgKEgMYgAgSJAgAEiAs...",
"format": "biscuit",
"rootAuthority": "did:web:benirai.org"
}'Check revocation status for any issued credential.
curl https://benirai.org/status/list.json \
-H "Accept: application/ld+json"Each credential's credentialStatus.statusListIndex maps to a bit position in the encoded list. A set bit (1) means revoked.
| Endpoint | Purpose |
|---|---|
| /.well-known/did.json | DID document (did:web:benirai.org) |
| /.well-known/mcp.json | MCP server manifest |
| /.well-known/agent.json | Agent capability declaration |
| /.well-known/agent-manifest.json | Extended agent manifest |
| /.well-known/oauth-authorization-server | OAuth 2.0 server metadata |
| /.well-known/openid-configuration | OIDC discovery |
| /.well-known/jwks.json | JSON Web Key Set |
| /.well-known/webfinger | WebFinger resource discovery |
| /.well-known/nodeinfo | NodeInfo discovery |
| /.well-known/host-meta | Host metadata (XRD) |
| /.well-known/tdmrep.json | TDM reservation (AI training opt-out) |
| /.well-known/gpc.json | Global Privacy Control |
| /.well-known/security.txt | Security contact |
| /.well-known/agents.json | Agent registry |
| /llms.txt | LLM access guide |
| /llms-full.txt | Full LLM context |
| /ai.txt | AI policy |
| /sitemap-agent.xml | Agent-optimized sitemap |
| /methodology.json | Assessment methodology (JSON) |
| /schemas/ | JSON-LD schema catalog |