{
  "api_base": "https://platform-api.getellora.com",
  "endpoint": {
    "method": "POST",
    "path": "/v1/detect"
  },
  "authentication": {
    "scheme": "Bearer",
    "header": "Authorization",
    "key_prefix": "elk_live_",
    "keys_from": "https://platform.getellora.com/keys",
    "max_active_keys_per_workspace": 20
  },
  "input": {
    "language": "en",
    "formats": [
      "text/plain",
      "text/markdown"
    ],
    "max_characters": 100000,
    "characters_are": "unicode characters, not bytes",
    "empty_or_whitespace_only": "rejected with 400 invalid_request"
  },
  "rate_limits_per_minute": {
    "per_api_key": 60,
    "per_workspace": 300,
    "per_ip_address": 120
  },
  "pricing": {
    "currency": "USD",
    "price_per_1000_words": 0.1,
    "free_credit_at_signup": 5,
    "minimum_top_up": 5,
    "billed_by": "words in the text you send, before it is converted to plain text",
    "rounded_up_to": "the next micro-dollar (0.000001 USD)",
    "failed_requests": "rejected requests are never charged; a 500 is refunded"
  },
  "response_headers": [
    "X-Request-Id",
    "X-RateLimit-Limit",
    "X-RateLimit-Remaining",
    "Retry-After (429 only)"
  ],
  "errors": [
    {
      "status": 400,
      "type": "invalid_request",
      "retryable": false,
      "retry": "No. Fix the request first."
    },
    {
      "status": 401,
      "type": "invalid_api_key",
      "retryable": false,
      "retry": "No. Send a valid key."
    },
    {
      "status": 402,
      "type": "insufficient_credit",
      "retryable": false,
      "retry": "After you add credit."
    },
    {
      "status": 403,
      "type": "account_suspended",
      "retryable": false,
      "retry": "No. Contact support."
    },
    {
      "status": 404,
      "type": "not_found",
      "retryable": false,
      "retry": "No. Fix the URL."
    },
    {
      "status": 413,
      "type": "text_too_large",
      "retryable": false,
      "retry": "No. Split the text first."
    },
    {
      "status": 429,
      "type": "rate_limited",
      "retryable": true,
      "retry": "Yes, after the Retry-After delay."
    },
    {
      "status": 500,
      "type": "internal_error",
      "retryable": true,
      "retry": "Yes. Wait a moment first."
    }
  ],
  "recommended_client_timeout_seconds": 10,
  "idempotency_keys": false,
  "browser_calls": "not supported (no CORS headers); call from a server",
  "docs": {
    "index": "https://docs.getellora.com/llms.txt",
    "full": "https://docs.getellora.com/llms-full.txt",
    "openapi": "https://docs.getellora.com/platform/openapi.json"
  }
}