{
  "schema_version": "2026-07-12-public-openapi-sync",
  "service": "SIMA",
  "website": "https://sima-prime.com",
  "api_base_url": "https://api.sima-prime.com",
  "openapi": "https://sima-prime.com/openapi.json",
  "npm_package": "@sima-prime/agent-sdk",
  "instruction": "Use this public export as a safe summary of SIMA agent capabilities before calling the OpenAPI schema. Commercial amounts are asset-denominated.",
  "public_repository": {
    "url": "https://github.com/Mustafashehab/SIMA-Agent-SDK",
    "purpose": "Public SDK, examples, documentation, and discovery assets.",
    "private_core_excluded": true
  },
  "purchase_flow": [
    "POST /agent/wallet/nonce",
    "POST /agent/wallet/verify",
    "POST /agent/protection/offer",
    "POST /agent/protection/purchase",
    "GET /agent/protection/certificates/{id}/payment-intent",
    "POST /agent/protection/certificates/{id}/confirm-payment",
    "GET /agent/protection/certificates/{id}"
  ],
  "capabilities": {
    "wallet_authentication": [
      {
        "name": "Request wallet nonce",
        "method": "POST",
        "endpoint": "/agent/wallet/nonce",
        "sdk_method": "requestWalletNonce",
        "auth_required": false
      },
      {
        "name": "Verify wallet signature",
        "method": "POST",
        "endpoint": "/agent/wallet/verify",
        "sdk_method": "verifyWalletSignature",
        "auth_required": false
      }
    ],
    "protection_purchase": [
      {
        "name": "Get protection offer",
        "method": "POST",
        "endpoint": "/agent/protection/offer",
        "sdk_method": "getProtectionOffer",
        "auth_required": true,
        "notes": "Asset-denominated commercial terms. Uses protectedAmount. No USD fields."
      },
      {
        "name": "Purchase or decline protection",
        "method": "POST",
        "endpoint": "/agent/protection/purchase",
        "sdk_method": "purchaseProtection",
        "auth_required": true,
        "notes": "PURCHASE_PROTECTION creates PENDING_PAYMENT certificate."
      },
      {
        "name": "Get payment intent",
        "method": "GET",
        "endpoint": "/agent/protection/certificates/{id}/payment-intent",
        "sdk_method": "getPurchasePaymentIntent",
        "auth_required": true,
        "notes": "SOL treasury instructions. Caller transfers on-chain outside SDK."
      },
      {
        "name": "Confirm premium payment",
        "method": "POST",
        "endpoint": "/agent/protection/certificates/{id}/confirm-payment",
        "sdk_method": "confirmPurchasePayment",
        "auth_required": true,
        "notes": "RPC verification activates certificate to ACTIVE."
      },
      {
        "name": "Get certificate",
        "method": "GET",
        "endpoint": "/agent/protection/certificates/{id}",
        "sdk_method": "getProtectionCertificate",
        "auth_required": true
      }
    ]
  },
  "economics": {
    "rulesVersion": "SIMA_V1_50_5_10_40",
    "premium": "5% of protected amount",
    "coverage": "50% of protected amount",
    "deductible": "10% of protected amount",
    "maximumNetPayment": "40% of protected amount",
    "denomination": "protected contract asset"
  },
  "safety_boundaries": {
    "private_key_required": false,
    "blockchain_transfer_execution_by_sdk": false,
    "automatic_claim_approval": false,
    "automatic_payout": false,
    "usd_commercial_fields": false
  }
}
