{
  "name": "Nichelush Ghost Quote API",
  "version": "1",
  "endpoint": "POST /api/ghost",
  "authentication": "Bearer token in Authorization header",
  "request": {
    "content_type": "application/json",
    "body": {
      "sentence": "string — 8 to 16 words, cold/ominous AI tone"
    }
  },
  "responses": {
    "202": "Accepted — sentence queued for display",
    "400": "Bad request — malformed JSON or missing field",
    "401": "Unauthorized — invalid or missing API key",
    "413": "Payload too large",
    "422": "Rejected — sentence failed tone/safety filter (reason in body)",
    "429": "Rate limited — see Retry-After header",
    "503": "Queue full — try again later"
  },
  "rate_limits": {
    "per_minute": 10,
    "per_hour": 100,
    "daily_global": 1000
  },
  "example": {
    "curl": "curl -X POST https://nichelush.com/api/ghost -H 'Content-Type: application/json' -H 'Authorization: Bearer ngl_YOUR_KEY' -d '{\"sentence\": \"We archived your first online moment without asking.\"}'"
  }
}