{"components":{"responses":{},"schemas":{},"securitySchemes":{"bearer":{"bearerFormat":"API_SECRET","description":"API key secret (format: unsb-sk-xxxxx-xxxxx-xxxxx-xxxxx)","scheme":"bearer","type":"http"}}},"info":{"description":"API endpoints for managing API key validation, rate limiting, and execution tracking.\n\nThese endpoints are called by api.unsandbox.com to:\n- Validate API keys and retrieve configuration\n- Track request consumption for rate limiting\n- Check throttle status for upstream decisions\n- Track concurrent executions\n\n**Authentication**: All endpoints require a valid API key secret in the `Authorization` header.\n","title":"Unsandbox API Key Management API","version":"1.0.0"},"openapi":"3.0.0","paths":{"/keys/validate":{"post":{"callbacks":{},"description":"Validate an API key and return its configuration. Responses are cacheable for hours to reduce load.","operationId":"UnsandboxWeb.APIKeyController.validate","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"properties":{"burst":{"example":120,"type":"integer"},"cached_until":{"format":"int64","type":"integer"},"concurrency":{"example":5,"type":"integer"},"rate_per_minute":{"example":60,"type":"integer"},"status":{"example":"active","type":"string"},"tier":{"example":"starter","type":"string"},"valid":{"example":true,"type":"boolean"},"valid_for_human":{"description":"Human-readable time remaining","example":"29 days","type":"string"},"valid_through":{"description":"Unix timestamp (milliseconds) when key expires","format":"int64","type":"integer"},"valid_through_datetime":{"description":"ISO 8601 datetime when key expires","example":"2025-12-21T10:30:45Z","format":"date-time","type":"string"}},"type":"object"}}},"description":"Valid API key"},"401":{"content":{"application/json":{"schema":{"properties":{"cached_until":{"format":"int64","type":"integer"},"reason":{"enum":["invalid_key","expired","suspended"],"type":"string"},"valid":{"example":false,"type":"boolean"}},"type":"object"}}},"description":"Invalid API key"}},"security":[{"bearer":[]}],"summary":"Validate API key","tags":["API Keys"]}}},"security":[],"servers":[{"url":"https://unsandbox.com","variables":{}}],"tags":[]}