{
  "name": "Sentinel OS API",
  "version": "1.1.0",
  "description": "Mission assurance API for critical infrastructure protection. 265+ endpoints across incidents, threats, assets, sensors, workflows, replay, and agent orchestration.",
  "base_url": "https://api.usesentinel.io/api/v1",
  "openapi_spec": "https://api.usesentinel.io/openapi.json",
  "interactive_docs": "https://api.usesentinel.io/docs",
  "authentication": {
    "methods": [
      "Bearer JWT",
      "X-API-Key"
    ],
    "token_endpoint": "POST /api/v1/portal/login",
    "key_endpoint": "POST /api/v1/portal/api-keys"
  },
  "rate_limits": {
    "default": "100 requests/minute",
    "headers": [
      "X-RateLimit-Limit",
      "X-RateLimit-Remaining",
      "X-RateLimit-Reset"
    ]
  },
  "endpoints": {
    "core": [
      {
        "method": "GET",
        "path": "/health",
        "description": "Health check",
        "auth": false
      },
      {
        "method": "GET",
        "path": "/api/v1/live-status",
        "description": "Real-time platform status",
        "auth": false
      }
    ],
    "incidents": [
      {
        "method": "GET",
        "path": "/api/v1/incidents",
        "description": "List incidents"
      },
      {
        "method": "POST",
        "path": "/api/v1/incidents",
        "description": "Create incident"
      },
      {
        "method": "GET",
        "path": "/api/v1/incidents/{id}",
        "description": "Get incident detail"
      }
    ],
    "replay": [
      {
        "method": "GET",
        "path": "/api/v1/replay/{incident_id}",
        "description": "Full incident timeline reconstruction"
      },
      {
        "method": "GET",
        "path": "/api/v1/replay/{incident_id}/snapshot",
        "description": "Point-in-time state snapshot"
      }
    ],
    "threats": [
      {
        "method": "GET",
        "path": "/api/v1/threat-intel/libraries",
        "description": "List threat libraries"
      },
      {
        "method": "GET",
        "path": "/api/v1/threats",
        "description": "Active threats"
      }
    ],
    "assets": [
      {
        "method": "GET",
        "path": "/api/v1/assets",
        "description": "List assets"
      },
      {
        "method": "GET",
        "path": "/api/v1/sensors",
        "description": "List sensors with health"
      }
    ],
    "workflows": [
      {
        "method": "GET",
        "path": "/api/v1/workflows",
        "description": "List workflows"
      },
      {
        "method": "POST",
        "path": "/api/v1/workflows",
        "description": "Create workflow"
      }
    ],
    "agents": [
      {
        "method": "GET",
        "path": "/api/v1/agents",
        "description": "List all 9 AI agents and status"
      }
    ],
    "portal": [
      {
        "method": "POST",
        "path": "/api/v1/portal/login",
        "description": "Authenticate and get JWT",
        "auth": false
      },
      {
        "method": "POST",
        "path": "/api/v1/portal/register",
        "description": "Register new account",
        "auth": false
      },
      {
        "method": "GET",
        "path": "/api/v1/portal/plans",
        "description": "List available plans",
        "auth": false
      },
      {
        "method": "POST",
        "path": "/api/v1/portal/api-keys",
        "description": "Generate API key",
        "auth": false
      }
    ]
  },
  "sdks": {
    "python": "pip install spacetime-os",
    "dotnet": "dotnet add package SpaceTimeOS.Client",
    "mcp": "npx @spacetime-os/mcp-server"
  },
  "support": {
    "email": "support@usesentinel.io",
    "docs": "https://usesentinel.io/developers"
  }
}