Docs menuREST API Reference
Getting Started
Logos: Overview
Logos: CSIV Vocabulary
Logos: Local Resolution
Logos: SDK Reference
Logos: Integrations
ReferenceAPI Reference
API Reference
SilentAuth preview APIs are centered on intent submission, policy resolution, receipt verification, and protected connector testing.
Base URL
https://api.silentauth.ai
Authentication
Use a project API key from the dashboard for server-side requests.
Authorization: Bearer sa_live_project_key
Endpoints
POST
/api/intentsCreate an approval request for a protected action.
GET
/api/intents?status=pendingList intent requests for the authenticated user.
GET
/api/intents/:idRead a single request, including status and receipt metadata.
PATCH
/api/intents/:idApprove or deny a pending request.
POST
/api/intents/permit/verifyVerify an execution permit before running the action.
GET
/api/mcp-gatewayList protected mock tools owned by SilentAuth.
POST
/api/mcp-gatewayCreate or execute a protected mock connector request.
POST
/api/verify/proofSubmit proof session signals for local proof workflows.
Example flow
Create an intent:
POST /api/intents
Authorization: Bearer sa_live_project_key
Content-Type: application/json
{
"source_type": "agent",
"source": "deployment-runner",
"action": "production.deploy",
"risk_tier": "high",
"context": {
"environment": "production",
"version": "2026.06.18"
},
"proof_tier": "stub_vinacfm_l3"
}Receive a signed receipt after approval:
{
"id": "int_abc123",
"status": "approved",
"permit_token": "eyJhbGciOi...",
"receipt_v2": {
"receipt_version": 2,
"params_hash": "sha256:8f4...",
"policy_hash": "sha256:19d...",
"proof_tier": "stub_vinacfm_l3",
"kid": "local-hmac-v2",
"revocation_status": "active",
"receipt_expires_at": "2026-06-18T21:05:00.000Z"
}
}Error Codes
| Code | Description |
|---|---|
| UNAUTHORIZED | Missing or invalid session or project API key. |
| MISSING_FIELDS | The request is missing required fields such as action or source_type. |
| AGENT_PAUSED | The registered agent is paused and cannot submit intents. |
| AGENT_REVOKED | The registered agent has been revoked. |
| INVALID_PERMIT | The receipt or permit token is not valid for the exact action and parameters. |
| RATE_LIMITED | The endpoint received too many requests in the current window. |
