{
  "protocolVersion": "0.3.0",
  "name": "Sanction",
  "description": "The trust and governance layer for autonomous AI agents. Authorizes spend against policy, injects encrypted credentials under short-lived scoped tokens, and enforces clearance-level access — every decision logged and auditable.",
  "url": "https://onesanction.com/api/v1",
  "preferredTransport": "JSONRPC",
  "version": "1.0.0",
  "provider": {
    "organization": "Sanction",
    "url": "https://onesanction.com"
  },
  "documentationUrl": "https://onesanction.com/api/openapi.json",
  "capabilities": {
    "streaming": false,
    "pushNotifications": false,
    "stateTransitionHistory": true
  },
  "defaultInputModes": ["application/json"],
  "defaultOutputModes": ["application/json"],
  "skills": [
    {
      "id": "authorize-spend",
      "name": "Authorize spend",
      "description": "Decide whether an agent may make a purchase/subscription/transfer under wallet policy. Returns approved, denied, or escalated with a typed code and remediation hint. Call before any financial action.",
      "tags": ["payments", "policy", "governance", "budget"],
      "examples": [
        "May I spend $12 on an API subscription in the 'software' category?",
        "Authorize a $250 transfer to vendor X."
      ]
    },
    {
      "id": "inject-credential",
      "name": "Inject credential",
      "description": "Exchange a short-lived scoped execution token for a decrypted credential the agent is cleared to use. Every injection is audit-logged; raw values never appear in logs.",
      "tags": ["credentials", "vault", "secrets", "clearance"],
      "examples": ["Inject the 'openai' API key for this execution."]
    },
    {
      "id": "track-token-usage",
      "name": "Track LLM token usage",
      "description": "Record token counts and cost of an LLM call against the wallet's daily budget for spend tracking and audit.",
      "tags": ["budget", "observability", "audit"],
      "examples": ["Log 1,200 input and 800 output tokens for claude-opus-4-8 costing $0.04."]
    }
  ]
}
