{
  "openapi": "3.0.0",
  "info": {
    "title": "EXPOSE API",
    "description": "Reference for the EXPOSE API.\n\n## Authentication\nAll endpoints require an API Key in the `Authorization` header:\n```\nAuthorization: Bearer YOUR_API_TOKEN\n```\n\n## Errors\nEvery error response, JSON or HTML, uses the same envelope: `{ \"error\": { \"code\", \"message\", \"requestId\" } }` (a browser hitting an endpoint directly gets an equivalent small HTML page showing the same three fields). `code` is a short string that does not change, so build your error handling on it. `message` is written for people and we may reword it. `requestId` lets us find the request in our logs, so please include it when you report a problem.\n\nEach code means one thing. For example, every kind of rate limit (per-route IP limit, hourly key limit, AI cooldown) returns `code: \"RATE_LIMIT\"`, and only `message` tells them apart. The `Error` schema below lists every code.\n\n## Rate Limiting\nThere are two separate rate limits. Both return HTTP `429` with `code: \"RATE_LIMIT\"`; `message` tells you which one you hit:\n- **Per-route (IP-based):** 10 to 100 requests per minute depending on the endpoint (AI Analyzer 10, changelogs 30, verify 100, everything else 50).\n- **Per-API-key (hourly):** 1,000 requests per hour by default.\n\nRate-limit headers (`RateLimit-Limit`, `RateLimit-Remaining`, `RateLimit-Reset` and legacy `X-RateLimit-*` variants) are sent by our server, but a proxy in between may remove them when you call the public domain.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://api.expose-bots.de",
      "description": "Production Server"
    }
  ],
  "security": [
    {
      "bearerAuth": []
    }
  ],
  "components": {
    "securitySchemes": {
      "bearerAuth": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "API Key"
      }
    },
    "schemas": {
      "Error": {
        "type": "object",
        "properties": {
          "error": {
            "type": "object",
            "properties": {
              "code": {
                "type": "string",
                "enum": [
                  "NO_KEY",
                  "KEY_UNKNOWN",
                  "KEY_EXPIRED",
                  "KEY_SUSPENDED",
                  "MISSING_DISCORD_ID",
                  "INVALID_DISCORD_ID",
                  "INVALID_IDENTIFIER",
                  "VALIDATION",
                  "BAD_REQUEST",
                  "PAYLOAD_TOO_LARGE",
                  "RESTRICTED",
                  "RATE_LIMIT",
                  "UPSTREAM_RATE_LIMIT",
                  "IP_BLOCKED",
                  "ACCESS_DENIED",
                  "UNAUTHORIZED",
                  "NOT_CONFIGURED",
                  "UPSTREAM_ERROR",
                  "DATABASE_UNAVAILABLE",
                  "NOT_FOUND",
                  "METHOD_NOT_ALLOWED",
                  "INTERNAL_ERROR"
                ],
                "description": "Error code for your code to check. Each code means one thing; for example, every kind of rate limit returns RATE_LIMIT and only `message` tells them apart. NO_KEY/KEY_UNKNOWN/KEY_EXPIRED: API key auth. KEY_SUSPENDED: the key owner is blacklisted from EXPOSE; the key works again once the blacklist is lifted. MISSING_DISCORD_ID/INVALID_DISCORD_ID: discordId-specific request validation. INVALID_IDENTIFIER: the `identifier` query of /v1/identifiers has an unsupported type or a malformed value. VALIDATION: other request validation failures. BAD_REQUEST: the request could not be parsed. PAYLOAD_TOO_LARGE: the request body is too large. RESTRICTED: the target Discord user's data is GDPR/bypass-restricted. RATE_LIMIT: caller is going too fast (retriable). UPSTREAM_RATE_LIMIT: a third-party provider is rate-limiting EXPOSE, not the caller. IP_BLOCKED: this IP is blocked after repeated abuse; an automatic block ends on its own after a while, a block set by staff stays until it is lifted. ACCESS_DENIED: this IP is not allowed to use the endpoint. UNAUTHORIZED: request rejected before reaching auth. NOT_CONFIGURED: a feature has no credentials on this server. UPSTREAM_ERROR: a third-party service EXPOSE depends on failed. DATABASE_UNAVAILABLE: our database could not be read for a moment, so the request or the API key could not be checked (retriable, see `Retry-After` where sent). NOT_FOUND/METHOD_NOT_ALLOWED: the endpoint/method doesn't exist. INTERNAL_ERROR: unexpected server-side failure."
              },
              "message": {
                "type": "string",
                "description": "Human-readable error message"
              },
              "requestId": {
                "type": "string",
                "description": "Lets us find this request in our logs. Usually it is Cloudflare's `cf-ray` id (e.g. \"a38096e3eb3cef8d-WAW\": 16 hex characters, a hyphen, and the airport code of the Cloudflare datacenter). A request that did not pass through Cloudflare gets a random UUID instead."
              },
              "retryAfter": {
                "type": "integer",
                "description": "Seconds until you can try again. Only sent with some rate-limit errors (AI Analyzer cooldown, OpenRouter rate limit)."
              }
            },
            "required": ["code", "message", "requestId"]
          }
        },
        "required": ["error"]
      },
      "UserIdentity": {
        "type": "object",
        "description": "The requested Discord user's identity, resolved via the Discord API. `username`/`avatarUrl` are null when the user couldn't be resolved (e.g. account deleted) or isn't cached yet; the profile is then looked up in the background and included in later responses.",
        "properties": {
          "id": {
            "type": "string",
            "description": "The requested Discord user ID (echoes the discordId query parameter)"
          },
          "username": {
            "type": ["string", "null"],
            "description": "The user's global display name, falling back to their username"
          },
          "avatarUrl": {
            "type": ["string", "null"],
            "format": "uri",
            "description": "Full CDN URL of the user's avatar, or null if they have none set"
          }
        },
        "required": ["id", "username", "avatarUrl"]
      },
      "ExposeItem": {
        "type": "object",
        "properties": {
          "timestamp": {
            "type": "string",
            "format": "date-time",
            "description": "ISO 8601 timestamp of when the ban/expose occurred"
          },
          "server": {
            "type": "string",
            "description": "Name of the server that reported the cheater"
          },
          "serverMessageLink": {
            "type": ["string", "null"],
            "format": "uri",
            "description": "Direct Discord link to the original ban message in the expose server"
          },
          "serverGuildId": {
            "type": ["string", "null"],
            "description": "Discord guild (server) ID of the expose server"
          },
          "serverMessageId": {
            "type": ["string", "null"],
            "description": "Discord message ID of the ban message in the expose server"
          },
          "exposeChannelMessageLink": {
            "type": ["string", "null"],
            "format": "uri",
            "description": "Direct Discord link to the forwarded expose message in the EXPOSE channel"
          },
          "exposeWebsite": {
            "type": ["string", "null"],
            "format": "uri",
            "description": "Public embed viewer URL at embeds.expose-bots.de"
          }
        },
        "required": ["timestamp", "server"]
      },
      "IdentifiersItem": {
        "type": "object",
        "description": "Known machine/account identifiers stored for this Discord user, as reported by the integrated anti-cheat services. Only types with at least one known value are present.",
        "properties": {
          "steam": {
            "type": "array",
            "items": { "type": "string" },
            "description": "Steam IDs (steamID64 or hex form, as reported upstream)"
          },
          "license": {
            "type": "array",
            "items": { "type": "string" },
            "description": "FiveM \"license\" identifiers"
          },
          "license2": {
            "type": "array",
            "items": { "type": "string" },
            "description": "FiveM \"license2\" identifiers"
          },
          "fivem": {
            "type": "array",
            "items": { "type": "string" },
            "description": "FiveM platform account IDs"
          },
          "xbl": {
            "type": "array",
            "items": { "type": "string" },
            "description": "Xbox Live identifiers"
          },
          "live": {
            "type": "array",
            "items": { "type": "string" },
            "description": "Xbox Live \"live\" identifiers"
          },
          "discord": {
            "type": "array",
            "items": { "type": "string" },
            "description": "Other Discord user IDs linked to the same identifiers (related accounts)"
          },
          "hwids": {
            "type": "array",
            "items": { "type": "string" },
            "description": "Hardware ID fingerprints, in \"N:hash\" form"
          }
        }
      },
      "EntyCaughtOnEntry": {
        "type": "object",
        "description": "One Discord server Enty recorded this user being flagged/caught cheating in",
        "properties": {
          "id": {
            "type": "string",
            "description": "Discord guild (server) ID"
          },
          "name": {
            "type": "string",
            "description": "Server name at the time it was recorded"
          },
          "types": {
            "type": "array",
            "items": { "type": "string" },
            "description": "Flag categories reported by that server, e.g. \"cheating\""
          },
          "rIds": {
            "type": "array",
            "items": { "type": "string" },
            "description": "Discord role IDs the user held in that server"
          },
          "roles": {
            "type": "array",
            "items": { "type": "string" },
            "description": "Discord role names the user held in that server"
          },
          "at": {
            "type": ["integer", "null"],
            "description": "Unix epoch milliseconds this record was captured, or null/absent if unknown"
          }
        }
      },
      "EntyResponse": {
        "type": "object",
        "description": "Enty's own checkuser response, passed through unchanged (see /v1/enty). Enty controls this shape, so fields not listed here can appear.",
        "properties": {
          "status": {
            "type": "integer",
            "description": "Enty's own status for this lookup (200 = data found, 404 = no data). This is separate from the HTTP status, which is 200 whenever the lookup worked."
          },
          "timestamp": {
            "type": "integer",
            "description": "Unix epoch milliseconds Enty generated this response at"
          },
          "data": {
            "type": "object",
            "properties": {
              "userId": { "type": "string" },
              "total": {
                "type": "integer",
                "description": "Total number of servers/records this user was caught in"
              },
              "last": {
                "type": ["object", "null"],
                "description": "Most recent record, or null"
              },
              "matches": {
                "type": "array",
                "items": {},
                "description": "Identifier/account matches Enty found (shape varies)"
              },
              "caughtOn": {
                "type": "array",
                "items": { "$ref": "#/components/schemas/EntyCaughtOnEntry" }
              },
              "flaggedAt": {
                "type": ["integer", "null"],
                "description": "Unix epoch milliseconds this user was first flagged, or null"
              },
              "cheatProducts": {
                "type": "array",
                "items": { "type": "string" },
                "description": "Known cheat/menu product names associated with this user"
              },
              "types": {
                "type": "array",
                "items": { "type": "string" }
              },
              "manualTimestamp": { "type": ["integer", "null"] },
              "riskScore": { "type": "number" },
              "message": {
                "type": "string",
                "description": "Human-readable summary, e.g. \"User flagged as cheater.\" or \"No data found for this identifier.\""
              }
            }
          }
        },
        "required": ["status", "data"]
      },
      "EmbedAuthor": {
        "type": "object",
        "properties": {
          "name": { "type": "string" },
          "icon_url": { "type": "string", "format": "uri" },
          "proxy_icon_url": { "type": "string", "format": "uri" }
        }
      },
      "EmbedImage": {
        "type": "object",
        "properties": {
          "url": { "type": "string", "format": "uri" },
          "proxy_url": { "type": "string", "format": "uri" },
          "width": { "type": "integer" },
          "height": { "type": "integer" },
          "content_type": { "type": "string" },
          "placeholder": { "type": "string" },
          "placeholder_version": { "type": "integer" },
          "flags": { "type": "integer" }
        }
      },
      "EmbedField": {
        "type": "object",
        "properties": {
          "name": { "type": "string" },
          "value": { "type": "string" },
          "inline": { "type": "boolean" }
        },
        "required": ["name", "value"]
      },
      "DiscordEmbed": {
        "type": "object",
        "properties": {
          "type": { "type": "string", "example": "rich" },
          "title": { "type": "string" },
          "description": { "type": "string" },
          "color": { "type": "integer" },
          "timestamp": { "type": "string", "format": "date-time" },
          "author": { "$ref": "#/components/schemas/EmbedAuthor" },
          "image": { "$ref": "#/components/schemas/EmbedImage" },
          "thumbnail": { "$ref": "#/components/schemas/EmbedImage" },
          "footer": {
            "type": "object",
            "properties": {
              "text": { "type": "string" },
              "icon_url": { "type": "string", "format": "uri" },
              "proxy_icon_url": { "type": "string", "format": "uri" }
            }
          },
          "fields": {
            "type": "array",
            "items": { "$ref": "#/components/schemas/EmbedField" }
          }
        }
      },
      "DiscordMessageAuthor": {
        "type": "object",
        "properties": {
          "id": { "type": "string" },
          "username": { "type": "string" },
          "avatar": { "type": "string" },
          "discriminator": { "type": "string" },
          "public_flags": { "type": "integer" },
          "flags": { "type": "integer" },
          "bot": { "type": "boolean" },
          "banner": { "type": ["string", "null"] },
          "accent_color": { "type": ["integer", "null"] },
          "global_name": { "type": ["string", "null"] },
          "avatar_decoration_data": { "type": ["object", "null"] },
          "banner_color": { "type": ["string", "null"] },
          "clan": { "type": ["object", "null"] },
          "primary_guild": { "type": ["object", "null"] }
        },
        "required": ["id", "username"]
      },
      "AiAnalyzerApisUsed": {
        "type": "object",
        "description": "Which external sources returned a result",
        "properties": {
          "securoxinspect": { "type": "boolean" },
          "cheaterStatsCheating": { "type": "boolean" },
          "gamma": { "type": "boolean" },
          "screensharelol": { "type": "boolean" },
          "screensharex": { "type": "boolean" },
          "oceananticheat": { "type": "boolean" },
          "anvilanticheatBans": { "type": "boolean" },
          "anvilanticheatAccounts": { "type": "boolean" },
          "exposures": { "type": "boolean" },
          "electronanticheat": { "type": "boolean" },
          "fivemspyUser": { "type": "boolean" },
          "fivemspyCheater": { "type": "boolean" },
          "fivemspyMessages": { "type": "boolean" },
          "forensic": { "type": "boolean" },
          "cheaterStatsMessages": { "type": "boolean" },
          "cheaterStatsServerBans": { "type": "boolean" },
          "cheaterStatsServerHistory": { "type": "boolean" },
          "cheaterStatsTickets": { "type": "boolean" },
          "cheaterStatsCheatCustomers": { "type": "boolean" },
          "asuasnetworkServers": { "type": "boolean" },
          "asuasnetworkMessages": { "type": "boolean" },
          "asuasnetworkEvents": { "type": "boolean" },
          "asuasnetworkCheaters": { "type": "boolean" },
          "asuasnetworkIdentifiers": { "type": "boolean" },
          "entyV2": { "type": "boolean" },
          "entyV1Archived": {
            "type": "boolean",
            "description": "Whether an old saved Enty V1 copy exists for this user (Enty V1 is retired and never asked live)"
          },
          "fiveguard": { "type": "boolean" },
          "threatless": { "type": "boolean" },
          "felox": { "type": "boolean" },
          "xeroshield": { "type": "boolean" },
          "argos": { "type": "boolean" },
          "fairshield": { "type": "boolean" },
          "analystic": { "type": "boolean" },
          "waveshield": { "type": "boolean" },
          "detectacArchive": { "type": "boolean" },
          "relatedAccounts": { "type": "boolean" }
        }
      },
      "AiAnalyzerResult": {
        "type": "object",
        "description": "One AI risk analysis: the only element of the `aianalyzer` array in the /v1/ai-analyzer response.",
        "properties": {
          "cached": {
            "type": "boolean",
            "description": "Whether this result was served from the 15-minute response cache"
          },
          "fetchedAt": {
            "type": "integer",
            "description": "Unix timestamp (milliseconds) when the analysis was produced",
            "example": 1781071905884
          },
          "confidence": {
            "type": "string",
            "enum": ["Low", "Medium", "High", "Unknown"],
            "description": "How sure the AI is about its assessment. The model itself only answers Low, Medium or High. \"Unknown\" means we could not read the expected fields (Confidence, Risk Score, Type, Analysis) from the model's answer, so it is a parsing failure and not a real assessment. In that case `riskScore` is 0 and `analysis` is \"No analysis provided.\", even though the data was fetched fine. Retry when you get `confidence: \"Unknown\"`. A real \"no risk\" result is `confidence: \"Low\"` with an explanation."
          },
          "riskScore": {
            "type": "integer",
            "minimum": 0,
            "maximum": 100,
            "description": "Risk score from 0 (no risk) to 100 (definite cheater)",
            "example": 92
          },
          "type": {
            "type": "string",
            "description": "Primary type of suspected activity as determined by the AI (e.g. Cheating, Reselling, Leaking, Spoofing, None, or a combined value like Cheating/Reselling)",
            "example": "Cheating"
          },
          "analysis": {
            "type": "string",
            "description": "AI-generated plain-text summary of the findings"
          },
          "apisUsed": { "$ref": "#/components/schemas/AiAnalyzerApisUsed" }
        },
        "required": [
          "cached",
          "fetchedAt",
          "confidence",
          "riskScore",
          "type",
          "analysis",
          "apisUsed"
        ]
      },
      "DiscordMessage": {
        "type": "object",
        "description": "Part of a Discord message as the EXPOSE bot stored it: embeds, components, text and attachments. Message metadata such as id, channel_id and author is not included.",
        "properties": {
          "embeds": {
            "type": "array",
            "items": { "$ref": "#/components/schemas/DiscordEmbed" },
            "description": "Discord rich embed objects contained in the message"
          },
          "components": {
            "type": "array",
            "description": "Discord action row and button components",
            "items": {
              "type": "object",
              "properties": {
                "type": { "type": "integer" },
                "id": { "type": "integer" },
                "components": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "type": { "type": "integer" },
                      "id": { "type": "integer" },
                      "style": { "type": "integer" },
                      "label": { "type": "string" },
                      "emoji": {
                        "type": "object",
                        "properties": {
                          "id": { "type": "string" },
                          "name": { "type": "string" }
                        }
                      },
                      "url": { "type": "string", "format": "uri" }
                    }
                  }
                }
              }
            }
          },
          "content": {
            "type": ["string", "null"],
            "description": "Raw text content of the message (e.g. a user mention)"
          },
          "attachments": {
            "type": "array",
            "description": "Files attached to the message",
            "items": {
              "type": "object",
              "properties": {
                "url": { "type": "string", "format": "uri" },
                "name": { "type": "string" },
                "size": { "type": "integer" }
              }
            }
          }
        }
      }
    },
    "responses": {
      "Unauthorized": {
        "description": "Unauthorized: API key missing or invalid",
        "content": {
          "application/json": {
            "schema": { "$ref": "#/components/schemas/Error" },
            "examples": {
              "apiKeyRequired": {
                "summary": "No API key provided",
                "value": {
                  "error": {
                    "code": "NO_KEY",
                    "message": "No API key provided. Send it in the Authorization header as \"Bearer <your_api_key>\".",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              },
              "apiKeyInvalid": {
                "summary": "API key does not exist",
                "value": {
                  "error": {
                    "code": "KEY_UNKNOWN",
                    "message": "This API key was not recognized. Double-check it was copied correctly.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              }
            }
          }
        }
      },
      "ForbiddenExpired": {
        "description": "Forbidden: API key expired or suspended",
        "content": {
          "application/json": {
            "schema": { "$ref": "#/components/schemas/Error" },
            "examples": {
              "apiKeyExpired": {
                "summary": "API key expired",
                "value": {
                  "error": {
                    "code": "KEY_EXPIRED",
                    "message": "This API key has expired. Request a new one to continue using the API.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              },
              "apiKeySuspended": {
                "summary": "API key suspended (owner blacklisted)",
                "value": {
                  "error": {
                    "code": "KEY_SUSPENDED",
                    "message": "This API key is suspended because its owner is blacklisted from EXPOSE. If you think this is a mistake, appeal in our Discord server (discord.gg/JKu3QyAGGf) or email legal@expose-bots.de.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              }
            }
          }
        }
      },
      "ForbiddenContent": {
        "description": "Forbidden: API key expired or suspended, user data is restricted (GDPR erasure / bypass), or your IP address is blocked",
        "content": {
          "application/json": {
            "schema": { "$ref": "#/components/schemas/Error" },
            "examples": {
              "apiKeyExpired": {
                "summary": "API key expired",
                "value": {
                  "error": {
                    "code": "KEY_EXPIRED",
                    "message": "This API key has expired. Request a new one to continue using the API.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              },
              "apiKeySuspended": {
                "summary": "API key suspended (owner blacklisted)",
                "value": {
                  "error": {
                    "code": "KEY_SUSPENDED",
                    "message": "This API key is suspended because its owner is blacklisted from EXPOSE. If you think this is a mistake, appeal in our Discord server (discord.gg/JKu3QyAGGf) or email legal@expose-bots.de.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              },
              "rtbfRestricted": {
                "summary": "User has an active GDPR erasure request",
                "value": {
                  "error": {
                    "code": "RESTRICTED",
                    "message": "This user has an active GDPR Article 17/21 request",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              },
              "bypassRestricted": {
                "summary": "User is bypassed",
                "value": {
                  "error": {
                    "code": "RESTRICTED",
                    "message": "This user is bypassed (EXPOSE)",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              },
              "ipBlocked": {
                "summary": "Your IP address is blocked after repeated abuse (not retriable)",
                "value": {
                  "error": {
                    "code": "IP_BLOCKED",
                    "message": "This IP address has been blocked due to repeated abuse.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              }
            }
          }
        }
      },
      "TooManyRequests": {
        "description": "Too Many Requests: route IP limit or per-key hourly limit. Both carry `code: \"RATE_LIMIT\"`; distinguish them by `message`.",
        "content": {
          "application/json": {
            "schema": { "$ref": "#/components/schemas/Error" },
            "examples": {
              "routeLimit": {
                "summary": "Route IP rate limit exceeded (10 to 100 req/min, depending on the endpoint)",
                "value": {
                  "error": {
                    "code": "RATE_LIMIT",
                    "message": "Too many requests. Please slow down.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              },
              "keyHourlyLimit": {
                "summary": "Per-API-key hourly rate limit exceeded",
                "value": {
                  "error": {
                    "code": "RATE_LIMIT",
                    "message": "This API key has exceeded its hourly rate limit. Wait for the window to reset, or contact us to raise your limit.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              }
            }
          }
        }
      },
      "TooManyRequestsAiAnalyzer": {
        "description": "Too Many Requests: the per-route IP limit, the 5-minute AI cooldown per key (with `error.retryAfter`), the hourly key limit, or OpenRouter rate-limiting us (`code: \"UPSTREAM_RATE_LIMIT\"`, with `error.retryAfter`)",
        "headers": {
          "Retry-After": {
            "schema": { "type": "integer" },
            "description": "Seconds until the limit clears: present on the AI cooldown and OpenRouter rate-limit variants"
          }
        },
        "content": {
          "application/json": {
            "schema": { "$ref": "#/components/schemas/Error" },
            "examples": {
              "routeLimit": {
                "summary": "Route IP rate limit exceeded (10 req/min)",
                "value": {
                  "error": {
                    "code": "RATE_LIMIT",
                    "message": "Too many requests. Please slow down.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              },
              "aiCooldown": {
                "summary": "Per-key AI cooldown (5 minutes between analyses)",
                "value": {
                  "error": {
                    "code": "RATE_LIMIT",
                    "message": "Rate limited: please wait 5 minutes between AI Analyzer requests.",
                    "requestId": "a38096e3eb3cef8d-WAW",
                    "retryAfter": 248
                  }
                }
              },
              "keyHourlyLimit": {
                "summary": "Per-API-key hourly rate limit exceeded",
                "value": {
                  "error": {
                    "code": "RATE_LIMIT",
                    "message": "This API key has exceeded its hourly rate limit. Wait for the window to reset, or contact us to raise your limit.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              },
              "openRouterRateLimited": {
                "summary": "OpenRouter itself is rate-limited across all configured keys",
                "value": {
                  "error": {
                    "code": "UPSTREAM_RATE_LIMIT",
                    "message": "AI Analyzer is temporarily unavailable: OpenRouter is rate-limited across all configured keys.",
                    "requestId": "a38096e3eb3cef8d-WAW",
                    "retryAfter": 600
                  }
                }
              }
            }
          }
        }
      },
      "TooManyRequestsEnty": {
        "description": "Too Many Requests: the per-route IP limit, the hourly key limit, or our own cap of 60 Enty calls a minute with no saved copy to fall back on. All of them use `code: \"RATE_LIMIT\"`; `message` tells them apart.",
        "content": {
          "application/json": {
            "schema": { "$ref": "#/components/schemas/Error" },
            "examples": {
              "routeLimit": {
                "summary": "Route IP rate limit exceeded (50 req/min)",
                "value": {
                  "error": {
                    "code": "RATE_LIMIT",
                    "message": "Too many requests. Please slow down.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              },
              "keyHourlyLimit": {
                "summary": "Per-API-key hourly rate limit exceeded",
                "value": {
                  "error": {
                    "code": "RATE_LIMIT",
                    "message": "This API key has exceeded its hourly rate limit. Wait for the window to reset, or contact us to raise your limit.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              },
              "entyUpstreamLimit": {
                "summary": "Our cap of 60 live Enty lookups a minute was reached and there is no saved copy yet",
                "value": {
                  "error": {
                    "code": "RATE_LIMIT",
                    "message": "Enty upstream rate limit exceeded. Try again shortly.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              },
              "entyApiLimit": {
                "summary": "Enty's own API returned a rate-limit error and no cached copy exists yet",
                "value": {
                  "error": {
                    "code": "RATE_LIMIT",
                    "message": "Enty API rate limit exceeded.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              }
            }
          }
        }
      },
      "BadGateway": {
        "description": "Bad Gateway: all upstream AI models are unavailable",
        "content": {
          "application/json": {
            "schema": { "$ref": "#/components/schemas/Error" },
            "examples": {
              "upstreamUnavailable": {
                "summary": "All upstream AI models unavailable",
                "value": {
                  "error": {
                    "code": "UPSTREAM_ERROR",
                    "message": "AI analysis failed. The upstream model provider is unavailable. Try again shortly.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              }
            }
          }
        }
      },
      "ServiceUnavailable": {
        "description": "Service Unavailable: the AI Analyzer feature is not configured on this server, or the exposure data could not be read or the API key could not be checked for a moment (retriable)",
        "content": {
          "application/json": {
            "schema": { "$ref": "#/components/schemas/Error" },
            "examples": {
              "notConfigured": {
                "summary": "AI Analyzer not configured",
                "value": {
                  "error": {
                    "code": "NOT_CONFIGURED",
                    "message": "AI Analyzer is not configured on this server.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              },
              "databaseUnavailable": {
                "summary": "Exposure data could not be read (try again shortly)",
                "value": {
                  "error": {
                    "code": "DATABASE_UNAVAILABLE",
                    "message": "Exposure data could not be read right now. Please try again shortly.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              }
            }
          }
        }
      },
      "DatabaseUnavailable": {
        "description": "Service Unavailable: the API key or the data for this request could not be checked for a moment. Nothing is wrong with the request; send it again after `Retry-After` seconds.",
        "headers": {
          "Retry-After": {
            "schema": { "type": "integer" },
            "description": "Seconds to wait before trying again"
          }
        },
        "content": {
          "application/json": {
            "schema": { "$ref": "#/components/schemas/Error" },
            "examples": {
              "databaseUnavailable": {
                "summary": "API key could not be checked (try again shortly)",
                "value": {
                  "error": {
                    "code": "DATABASE_UNAVAILABLE",
                    "message": "API keys could not be checked right now. Please try again in a few seconds.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              }
            }
          }
        }
      },
      "InternalServerError": {
        "description": "Internal Server Error",
        "content": {
          "application/json": {
            "schema": { "$ref": "#/components/schemas/Error" },
            "examples": {
              "internalError": {
                "summary": "Unexpected server error",
                "value": {
                  "error": {
                    "code": "INTERNAL_ERROR",
                    "message": "Something went wrong on our side. If it keeps happening, send us the requestId.",
                    "requestId": "a38096e3eb3cef8d-WAW"
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "tags": [
    { "name": "Auth", "description": "Authentication & key verification" },
    { "name": "Exposes", "description": "Cheater expose lookup" },
    { "name": "Embeds", "description": "Raw Discord embed/message data" },
    {
      "name": "Identifiers",
      "description": "Known machine/account identifiers (Steam, license, HWID, related Discord accounts, ...)"
    },
    { "name": "Customers", "description": "Known cheat-buyer data" },
    { "name": "AI Analyzer", "description": "AI-powered risk analysis" },
    { "name": "Enty V2", "description": "Enty lookup (mirrored)" },
    {
      "name": "Changelogs",
      "description": "Public change history of the EXPOSE platform"
    }
  ],
  "paths": {
    "/v1/verify": {
      "get": {
        "tags": ["Auth"],
        "summary": "Verify API Key",
        "description": "Validates the provided API key and returns key metadata. Rate limit: 100 req/min per IP.",
        "security": [{ "bearerAuth": [] }],
        "responses": {
          "200": {
            "description": "API key is valid",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "valid": { "type": "boolean", "example": true },
                    "key": {
                      "type": "object",
                      "properties": {
                        "name": {
                          "type": ["string", "null"],
                          "description": "Optional label/note for the key"
                        },
                        "createdAt": {
                          "type": ["string", "null"],
                          "format": "date-time"
                        },
                        "expires": {
                          "type": ["string", "null"],
                          "format": "date-time"
                        },
                        "usage": {
                          "type": ["integer", "null"],
                          "description": "Total request count since key creation"
                        },
                        "recentIps": {
                          "type": ["array", "null"],
                          "items": { "type": "string" },
                          "description": "Last few IPs that used this key"
                        }
                      },
                      "required": ["createdAt", "expires"]
                    },
                    "meta": {
                      "type": "object",
                      "properties": {
                        "requestId": {
                          "type": ["string", "null"],
                          "description": "Cloudflare's `cf-ray` id for the request (e.g. \"a38096e3eb3cef8d-WAW\"). It is null only for a request that did not pass through Cloudflare."
                        },
                        "timestamp": {
                          "type": "string",
                          "format": "date-time"
                        }
                      },
                      "required": ["timestamp"]
                    }
                  },
                  "required": ["valid", "key", "meta"]
                },
                "examples": {
                  "validKey": {
                    "summary": "Valid API key (real response; IPs replaced with documentation addresses)",
                    "value": {
                      "valid": true,
                      "key": {
                        "name": "EXPOSE",
                        "createdAt": "2026-08-23T17:18:14.564Z",
                        "expires": null,
                        "usage": 10,
                        "recentIps": ["192.0.2.1", "192.0.2.15"]
                      },
                      "meta": {
                        "requestId": "a38096e3eb3cef8d-WAW",
                        "timestamp": "2026-09-08T20:06:19.183Z"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": { "$ref": "#/components/responses/Unauthorized" },
          "403": { "$ref": "#/components/responses/ForbiddenExpired" },
          "429": { "$ref": "#/components/responses/TooManyRequests" },
          "500": { "$ref": "#/components/responses/InternalServerError" },
          "503": { "$ref": "#/components/responses/DatabaseUnavailable" }
        }
      }
    },
    "/v1/exposes": {
      "get": {
        "tags": ["Exposes"],
        "summary": "Get exposes for a Discord user",
        "description": "Returns all cheater expose records for the given Discord user ID. Rate limit: 50 req/min per IP, 1,000 req/hr per API key.\n\nSupports conditional requests via `If-None-Match` / `ETag` (returns `304` when data is unchanged). Response is cached for 3 seconds.",
        "security": [{ "bearerAuth": [] }],
        "parameters": [
          {
            "in": "query",
            "name": "discordId",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{17,20}$"
            },
            "description": "Discord user ID to look up (17 to 20 digits). Also accepted as `discordid` or `id`."
          }
        ],
        "responses": {
          "200": {
            "description": "Expose records for the requested Discord user",
            "headers": {
              "ETag": {
                "schema": { "type": "string" },
                "description": "Cache tag for conditional requests"
              },
              "Cache-Control": {
                "schema": { "type": "string" },
                "description": "private, max-age=3"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    { "$ref": "#/components/schemas/UserIdentity" },
                    {
                      "type": "object",
                      "properties": {
                        "exposes": {
                          "type": "array",
                          "items": { "$ref": "#/components/schemas/ExposeItem" }
                        }
                      },
                      "required": ["exposes"]
                    }
                  ]
                },
                "examples": {
                  "withExposes": {
                    "summary": "User with expose records (real response; 6 of 28 records shown)",
                    "value": {
                      "id": "780583942029180978",
                      "username": "weshmigo",
                      "avatarUrl": "https://cdn.discordapp.com/avatars/780583942029180978/df67a4a14b0b141ea505702aa50a0c1a.png",
                      "exposes": [
                        {
                          "timestamp": "2025-12-06T11:34:12.262Z",
                          "server": "Revo Crimelife V3 🎅🎄",
                          "serverMessageLink": "https://discord.com/channels/1443740069763616921/1443740700096073769/1446827054635941968",
                          "serverGuildId": "1443740069763616921",
                          "serverMessageId": "1446827054635941968",
                          "exposeChannelMessageLink": "https://discord.com/channels/1370040220170584154/1370073918290788472/1446827058696032369",
                          "exposeWebsite": "https://embeds.expose-bots.de/1446827058696032369"
                        },
                        {
                          "timestamp": "2025-12-06T13:17:20.544Z",
                          "server": "Revo Crimelife V3 🎅🎄",
                          "serverMessageLink": "https://discord.com/channels/1443740069763616921/1443740700096073769/1446853009802788865",
                          "serverGuildId": "1443740069763616921",
                          "serverMessageId": "1446853009802788865",
                          "exposeChannelMessageLink": "https://discord.com/channels/1370040220170584154/1370073918290788472/1446853014223851520",
                          "exposeWebsite": "https://embeds.expose-bots.de/1446853014223851520"
                        },
                        {
                          "timestamp": "2025-12-06T22:55:57.623Z",
                          "server": "Revo Crimelife V3 🎅🎄",
                          "serverMessageLink": "https://discord.com/channels/1443740069763616921/1443740700096073769/1446998625204047892",
                          "serverGuildId": "1443740069763616921",
                          "serverMessageId": "1446998625204047892",
                          "exposeChannelMessageLink": "https://discord.com/channels/1370040220170584154/1370073918290788472/1446998629394157619",
                          "exposeWebsite": "https://embeds.expose-bots.de/1446998629394157619"
                        },
                        {
                          "timestamp": "2025-12-22T22:33:18.295Z",
                          "server": "🔎 SecuroX Inspect.  V3 Soon?",
                          "serverMessageLink": "https://discord.com/channels/1339038475546267751/1357413221677666525/1452791129534894272",
                          "serverGuildId": "1339038475546267751",
                          "serverMessageId": "1452791129534894272",
                          "exposeChannelMessageLink": "https://discord.com/channels/1370040220170584154/1370073918290788472/1452791133473345738",
                          "exposeWebsite": "https://embeds.expose-bots.de/1452791133473345738"
                        },
                        {
                          "timestamp": "2026-01-17T12:08:49.182Z",
                          "server": "𝒮𝒜𝐼𝒩𝒯 | Hostet by Avoro",
                          "serverMessageLink": "https://discord.com/channels/1042424230282797166/1442565767693467801/1462056053674868736",
                          "serverGuildId": "1042424230282797166",
                          "serverMessageId": "1462056053674868736",
                          "exposeChannelMessageLink": "https://discord.com/channels/1370040220170584154/1370073918290788472/1462056060222181409",
                          "exposeWebsite": "https://embeds.expose-bots.de/1462056060222181409"
                        },
                        {
                          "timestamp": "2026-04-06T12:24:40.579Z",
                          "server": "Wentex Crimelife",
                          "serverMessageLink": "https://discord.com/channels/1482685633028947988/1482685634417266790/1490688689251025066",
                          "serverGuildId": "1482685633028947988",
                          "serverMessageId": "1490688689251025066",
                          "exposeChannelMessageLink": "https://discord.com/channels/1370040220170584154/1370073918290788472/1490688691889246329",
                          "exposeWebsite": "https://embeds.expose-bots.de/1490688691889246329"
                        }
                      ]
                    }
                  },
                  "noExposes": {
                    "summary": "User with no expose records (real response)",
                    "value": {
                      "id": "1154118474432524361",
                      "username": "Morfeusz",
                      "avatarUrl": "https://cdn.discordapp.com/avatars/1154118474432524361/364f877a567ddec90751f3ac7a1bd361.png",
                      "exposes": []
                    }
                  }
                }
              }
            }
          },
          "304": {
            "description": "Not Modified: ETag matches, response body is empty"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { "$ref": "#/components/schemas/Error" },
                "examples": {
                  "discordIdRequired": {
                    "summary": "Missing discordId parameter",
                    "value": {
                      "error": {
                        "code": "MISSING_DISCORD_ID",
                        "message": "The discordId query parameter is required.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  },
                  "discordIdInvalid": {
                    "summary": "discordId is not 17 to 20 digits",
                    "value": {
                      "error": {
                        "code": "INVALID_DISCORD_ID",
                        "message": "discordId must be a 17-20 digit Discord user ID.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": { "$ref": "#/components/responses/Unauthorized" },
          "403": { "$ref": "#/components/responses/ForbiddenContent" },
          "429": { "$ref": "#/components/responses/TooManyRequests" },
          "500": { "$ref": "#/components/responses/InternalServerError" },
          "503": { "$ref": "#/components/responses/DatabaseUnavailable" }
        }
      }
    },
    "/v1/embeds": {
      "get": {
        "tags": ["Embeds"],
        "summary": "Get raw Discord embed data for a user",
        "description": "Returns the full raw Discord message objects (including embeds, attachments, and components) for each expose record tied to the given Discord user ID. Rate limit: 50 req/min per IP, 1,000 req/hr per API key.\n\nSupports conditional requests via `If-None-Match` / `ETag`. Response is cached for 3 seconds.",
        "security": [{ "bearerAuth": [] }],
        "parameters": [
          {
            "in": "query",
            "name": "discordId",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{17,20}$"
            },
            "description": "Discord user ID to look up (17 to 20 digits). Also accepted as `discordid` or `id`."
          }
        ],
        "responses": {
          "200": {
            "description": "Raw Discord message objects for the requested user",
            "headers": {
              "ETag": {
                "schema": { "type": "string" },
                "description": "Cache tag for conditional requests"
              },
              "Cache-Control": {
                "schema": { "type": "string" },
                "description": "private, max-age=3"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    { "$ref": "#/components/schemas/UserIdentity" },
                    {
                      "type": "object",
                      "properties": {
                        "embeds": {
                          "type": "array",
                          "items": {
                            "$ref": "#/components/schemas/DiscordMessage"
                          },
                          "description": "Raw Discord message objects stored for this user"
                        }
                      },
                      "required": ["embeds"]
                    }
                  ]
                },
                "examples": {
                  "withEmbeds": {
                    "summary": "User with embed records (real response; 1 of 27 records shown)",
                    "value": {
                      "id": "780583942029180978",
                      "username": "weshmigo",
                      "avatarUrl": "https://cdn.discordapp.com/avatars/780583942029180978/df67a4a14b0b141ea505702aa50a0c1a.png",
                      "embeds": [
                        {
                          "embeds": [
                            {
                              "type": "rich",
                              "title": ":Info: Neuer Ban auf Revo Crimelife",
                              "description": ":User: **Spieler:** **Cursed** __<@780583942029180978>__\n:Speichern: **Grund:** Sicherheitsbann mit @analyse im Warteraum einfinden [https://discord.gg/revocl]\n:Mod: **Von:** **Manetti**\n:Kalendar: **Expiration:** Permanent",
                              "color": 16776960,
                              "author": {
                                "name": "REVO CRIMELIFE",
                                "icon_url": "https://upload.alvera.info/901834657912459264/weihnachten.gif",
                                "proxy_icon_url": "https://images-ext-1.discordapp.net/external/QDDzi3m0edOXvCYOS62Am_a_leHGBxMRZ0w9pFJD9do/https/upload.alvera.info/901834657912459264/weihnachten.gif"
                              },
                              "image": {
                                "url": "https://img.revocrimelife.de/embed/Revo-Ban.png",
                                "proxy_url": "https://images-ext-1.discordapp.net/external/VrRTduk3vwoazw4hkyVhRNlxVPhdgIRUVLb1osgvBeU/https/img.revocrimelife.de/embed/Revo-Ban.png",
                                "width": 4042,
                                "height": 1202,
                                "content_type": "image/png",
                                "placeholder": "jQgKCoD/eafat8uHcKQOOvw=",
                                "placeholder_version": 1,
                                "flags": 0
                              },
                              "thumbnail": {
                                "url": "https://upload.alvera.info/901834657912459264/weihnachten.gif",
                                "proxy_url": "https://images-ext-1.discordapp.net/external/QDDzi3m0edOXvCYOS62Am_a_leHGBxMRZ0w9pFJD9do/https/upload.alvera.info/901834657912459264/weihnachten.gif",
                                "width": 300,
                                "height": 300,
                                "content_type": "image/gif",
                                "placeholder": "FhgKHwQMaMismoanZ3mZhoh4aRB3CIMI",
                                "placeholder_version": 1,
                                "flags": 32
                              },
                              "footer": {
                                "text": "Made by Abdi",
                                "icon_url": "https://cdn.discordapp.com/avatars/901834657912459264/a_841cc1fb1ddf41d988c177459030e172.gif?size=1024",
                                "proxy_icon_url": "https://images-ext-1.discordapp.net/external/1rQ59Uiinl_b5Qjr0mplFg2oUHY_YYUue158HBsQlG8/%3Fsize%3D1024/https/cdn.discordapp.com/avatars/901834657912459264/a_841cc1fb1ddf41d988c177459030e172.gif"
                              }
                            }
                          ],
                          "components": [
                            {
                              "type": 1,
                              "id": 1,
                              "components": [
                                {
                                  "type": 2,
                                  "id": 2,
                                  "style": 5,
                                  "label": "Revo Crimelife V3 🎅🎄",
                                  "emoji": {
                                    "id": "1370885608557252679",
                                    "name": "server_revo_cl"
                                  },
                                  "url": "https://discord.com/channels/1443740069763616921/1443740700096073769/1446827054635941968"
                                }
                              ]
                            }
                          ],
                          "content": "<@780583942029180978>",
                          "attachments": []
                        }
                      ]
                    }
                  },
                  "noEmbeds": {
                    "summary": "User with no embed records (real response)",
                    "value": {
                      "id": "1154118474432524361",
                      "username": "Morfeusz",
                      "avatarUrl": "https://cdn.discordapp.com/avatars/1154118474432524361/364f877a567ddec90751f3ac7a1bd361.png",
                      "embeds": []
                    }
                  }
                }
              }
            }
          },
          "304": {
            "description": "Not Modified: ETag matches, response body is empty"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { "$ref": "#/components/schemas/Error" },
                "examples": {
                  "discordIdRequired": {
                    "summary": "Missing discordId parameter",
                    "value": {
                      "error": {
                        "code": "MISSING_DISCORD_ID",
                        "message": "The discordId query parameter is required.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  },
                  "discordIdInvalid": {
                    "summary": "discordId is not 17 to 20 digits",
                    "value": {
                      "error": {
                        "code": "INVALID_DISCORD_ID",
                        "message": "discordId must be a 17-20 digit Discord user ID.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": { "$ref": "#/components/responses/Unauthorized" },
          "403": { "$ref": "#/components/responses/ForbiddenContent" },
          "429": { "$ref": "#/components/responses/TooManyRequests" },
          "500": { "$ref": "#/components/responses/InternalServerError" },
          "503": { "$ref": "#/components/responses/DatabaseUnavailable" }
        }
      }
    },
    "/v1/identifiers": {
      "get": {
        "tags": ["Identifiers"],
        "summary": "Get the identifiers of a Discord user, or find accounts by identifier",
        "description": "Returns the known identifiers (Steam, FiveM license/license2, Xbox Live, hardware IDs, and related Discord accounts) stored for the given Discord user ID, as reported by the integrated anti-cheat services. Rate limit: 50 req/min per IP, 1,000 req/hr per API key.\n\n**Search by identifier.** You can send `identifier=type:value` instead of `discordId`, for example `identifier=steam:11000016fc6f3fd`. Supported types: `discord`, `steam`, `license`, `license2`, `fivem`, `xbl`, `live`, and `xbox` (the same as `xbl`).\n\nThe answer then lists every account that has this identifier on record. `results` holds up to 10 of them, each in the same shape as a normal `discordId` answer. `count` is the total number of matches, and `truncated` is `true` when some were left out. Accounts under a GDPR or bypass restriction never appear.\n\n`discord:<id>` returns just that account, in the same list format. If the account is restricted you get `403`, as with `discordId`.\n\nIdentifier searches are not cached. Only `discord:<id>` starts the background lookup described below.\n\nIf we have no identifiers on file yet, this starts a background lookup in Electron, FiveGuard and Enty about 15 seconds later. It does not slow down or change this response, but asking again after that may return more data.\n\nSupports conditional requests via `If-None-Match` / `ETag` (returns `304` when data is unchanged). Response is cached for 3 seconds.",
        "security": [{ "bearerAuth": [] }],
        "parameters": [
          {
            "in": "query",
            "name": "discordId",
            "required": false,
            "schema": {
              "type": "string",
              "pattern": "^\\d{17,20}$"
            },
            "description": "Discord user ID to look up (17 to 20 digits). Also accepted as `discordid` or `id`. Needed unless you send `identifier`. If you send both, `discordId` is used."
          },
          {
            "in": "query",
            "name": "identifier",
            "required": false,
            "schema": {
              "type": "string",
              "maxLength": 200,
              "pattern": "^[A-Za-z0-9]+:.+$"
            },
            "description": "Find accounts by identifier instead of `discordId`, written as `type:value`, e.g. `steam:11000016fc6f3fd`, `license:<40 hex characters>`, `xbox:2535467684865952` or `discord:780583942029180978`. Upper or lower case both work for the type. The value has to look like a real identifier of that type. Hardware IDs (`hwids`) can't be searched."
          }
        ],
        "responses": {
          "200": {
            "description": "Identifiers stored for the requested Discord user",
            "headers": {
              "ETag": {
                "schema": { "type": "string" },
                "description": "Cache tag for conditional requests"
              },
              "Cache-Control": {
                "schema": { "type": "string" },
                "description": "private, max-age=3"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "allOf": [
                        { "$ref": "#/components/schemas/UserIdentity" },
                        {
                          "type": "object",
                          "properties": {
                            "identifiers": {
                              "oneOf": [
                                {
                                  "$ref": "#/components/schemas/IdentifiersItem"
                                },
                                { "type": "null" }
                              ],
                              "description": "Known identifiers for this user, or null if none are on record"
                            }
                          },
                          "required": ["identifiers"]
                        }
                      ]
                    },
                    {
                      "type": "object",
                      "description": "Answer to an `identifier` search",
                      "properties": {
                        "identifier": {
                          "type": "object",
                          "properties": {
                            "type": {
                              "type": "string",
                              "enum": [
                                "discord",
                                "steam",
                                "license",
                                "license2",
                                "fivem",
                                "xbl",
                                "live"
                              ]
                            },
                            "value": { "type": "string" }
                          },
                          "required": ["type", "value"]
                        },
                        "count": {
                          "type": "integer",
                          "description": "How many accounts matched (restricted accounts are not counted)"
                        },
                        "truncated": {
                          "type": "boolean",
                          "description": "`true` when more than 10 accounts matched, so only the first 10 are in `results`"
                        },
                        "results": {
                          "type": "array",
                          "maxItems": 10,
                          "items": {
                            "allOf": [
                              { "$ref": "#/components/schemas/UserIdentity" },
                              {
                                "type": "object",
                                "properties": {
                                  "identifiers": {
                                    "oneOf": [
                                      {
                                        "$ref": "#/components/schemas/IdentifiersItem"
                                      },
                                      { "type": "null" }
                                    ],
                                    "description": "Known identifiers for this user, or null if none are on record"
                                  }
                                },
                                "required": ["identifiers"]
                              }
                            ]
                          }
                        }
                      },
                      "required": [
                        "identifier",
                        "count",
                        "truncated",
                        "results"
                      ]
                    }
                  ]
                },
                "examples": {
                  "withIdentifiers": {
                    "summary": "User with known identifiers (real response; 3 of 63 hwids shown)",
                    "value": {
                      "id": "780583942029180978",
                      "username": "weshmigo",
                      "avatarUrl": "https://cdn.discordapp.com/avatars/780583942029180978/df67a4a14b0b141ea505702aa50a0c1a.png",
                      "identifiers": {
                        "steam": ["11000015104d520", "110000154e8f79c"],
                        "license": [
                          "71619bca2d3b8245b979bc732e903faa97b89440",
                          "912417985111555bdcb94f0836b1765664d94bad",
                          "e185aa9cf78bddc8e4c84e1a691e0339f2840b6b"
                        ],
                        "license2": [
                          "c5dc8e223762fdbc68c927fb67c681d394a1694d",
                          "e185aa9cf78bddc8e4c84e1a691e0339f2840b6b"
                        ],
                        "fivem": ["11425299"],
                        "xbl": ["2535467684865952"],
                        "live": ["914804638487231"],
                        "discord": [
                          "818934829935886397",
                          "1214895929405218821",
                          "945317485744390185",
                          "231837025576157195"
                        ],
                        "hwids": [
                          "3:f10b88be2a2d35edf19965d80f22339f1e613eda15fccc76fbe6cd9807cccb08",
                          "4:3896bf331f0593e5840097e97cecb8b10e26cf8a3c5b22882c028ab633e54241",
                          "4:6d688c78681a0bf0cd39fc1e04b54f2f6bb78205a214853e7a96560774449453"
                        ]
                      }
                    }
                  },
                  "byIdentifier": {
                    "summary": "Search with identifier=steam:11000015104d520 (example)",
                    "value": {
                      "identifier": {
                        "type": "steam",
                        "value": "11000015104d520"
                      },
                      "count": 1,
                      "truncated": false,
                      "results": [
                        {
                          "id": "780583942029180978",
                          "username": "weshmigo",
                          "avatarUrl": "https://cdn.discordapp.com/avatars/780583942029180978/df67a4a14b0b141ea505702aa50a0c1a.png",
                          "identifiers": {
                            "steam": ["11000015104d520", "110000154e8f79c"],
                            "fivem": ["11425299"]
                          }
                        }
                      ]
                    }
                  },
                  "noIdentifiers": {
                    "summary": "User with no known identifiers (example)",
                    "value": {
                      "id": "1471997455980691568",
                      "username": null,
                      "avatarUrl": null,
                      "identifiers": null
                    }
                  }
                }
              }
            }
          },
          "304": {
            "description": "Not Modified: ETag matches, response body is empty"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { "$ref": "#/components/schemas/Error" },
                "examples": {
                  "discordIdRequired": {
                    "summary": "No discordId or identifier was sent",
                    "value": {
                      "error": {
                        "code": "MISSING_DISCORD_ID",
                        "message": "The discordId or identifier query parameter is required.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  },
                  "discordIdInvalid": {
                    "summary": "discordId is not 17 to 20 digits",
                    "value": {
                      "error": {
                        "code": "INVALID_DISCORD_ID",
                        "message": "discordId must be a 17-20 digit Discord user ID.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  },
                  "identifierInvalid": {
                    "summary": "identifier has a malformed value",
                    "value": {
                      "error": {
                        "code": "INVALID_IDENTIFIER",
                        "message": "That doesn't look like a valid steam identifier.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  },
                  "identifierUnsupportedType": {
                    "summary": "identifier has no type, an unsupported type (hwids included) or is over 200 characters",
                    "value": {
                      "error": {
                        "code": "INVALID_IDENTIFIER",
                        "message": "Write it as type:value, for example steam:11000016fc6f3fd. Supported types: discord, steam, license, license2, fivem, xbl, live, xbox.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  },
                  "identifierMultiple": {
                    "summary": "More than one identifier was sent",
                    "value": {
                      "error": {
                        "code": "INVALID_IDENTIFIER",
                        "message": "You can search for one identifier at a time. Write it as type:value, for example steam:11000016fc6f3fd. Supported types: discord, steam, license, license2, fivem, xbl, live, xbox.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  },
                  "deletedUser": {
                    "summary": "The ID is Discord's Deleted User placeholder account",
                    "value": {
                      "error": {
                        "code": "INVALID_DISCORD_ID",
                        "message": "That ID is Discord's Deleted User placeholder account and can't be looked up.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": { "$ref": "#/components/responses/Unauthorized" },
          "403": { "$ref": "#/components/responses/ForbiddenContent" },
          "429": { "$ref": "#/components/responses/TooManyRequests" },
          "500": { "$ref": "#/components/responses/InternalServerError" },
          "503": {
            "description": "Service Unavailable: the identifier data could not be read, or the API key could not be checked, for a moment. Nothing is wrong with the request; send it again after `Retry-After` seconds.",
            "headers": {
              "Retry-After": {
                "schema": { "type": "integer" },
                "description": "Seconds to wait before trying again"
              }
            },
            "content": {
              "application/json": {
                "schema": { "$ref": "#/components/schemas/Error" },
                "examples": {
                  "databaseUnavailable": {
                    "summary": "Database read failed",
                    "value": {
                      "error": {
                        "code": "DATABASE_UNAVAILABLE",
                        "message": "Identifier data could not be read right now. Please try again in a few seconds.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "/v1/customers": {
      "get": {
        "tags": ["Customers"],
        "summary": "Get known cheat-buyer data for a Discord user",
        "description": "Returns customer records for users known to have purchased cheats or menus. Rate limit: 50 req/min per IP, 1,000 req/hr per API key.\n\nSupports conditional requests via `If-None-Match` / `ETag`. Response is cached for 60 seconds.",
        "security": [{ "bearerAuth": [] }],
        "parameters": [
          {
            "in": "query",
            "name": "discordId",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{17,20}$"
            },
            "description": "Discord user ID to look up (17 to 20 digits). Also accepted as `discordid` or `id`."
          }
        ],
        "responses": {
          "200": {
            "description": "Customer data for the requested Discord user",
            "headers": {
              "ETag": {
                "schema": { "type": "string" },
                "description": "Cache tag for conditional requests"
              },
              "Cache-Control": {
                "schema": { "type": "string" },
                "description": "private, max-age=60"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    { "$ref": "#/components/schemas/UserIdentity" },
                    {
                      "type": "object",
                      "properties": {
                        "customers": {
                          "type": ["array", "null"],
                          "items": { "type": "string" },
                          "description": "List of known customer labels, or null if no data"
                        }
                      },
                      "required": ["customers"]
                    }
                  ]
                },
                "examples": {
                  "withCustomers": {
                    "summary": "User with customer records (example)",
                    "value": {
                      "id": "1000034472512733184",
                      "username": null,
                      "avatarUrl": null,
                      "customers": [
                        "Cleaner Customer",
                        "HX Customer",
                        "TZ Customer"
                      ]
                    }
                  },
                  "noCustomers": {
                    "summary": "User with no customer records (real response)",
                    "value": {
                      "id": "780583942029180978",
                      "username": "weshmigo",
                      "avatarUrl": "https://cdn.discordapp.com/avatars/780583942029180978/df67a4a14b0b141ea505702aa50a0c1a.png",
                      "customers": null
                    }
                  }
                }
              }
            }
          },
          "304": {
            "description": "Not Modified: ETag matches, response body is empty"
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { "$ref": "#/components/schemas/Error" },
                "examples": {
                  "discordIdRequired": {
                    "summary": "Missing discordId parameter",
                    "value": {
                      "error": {
                        "code": "MISSING_DISCORD_ID",
                        "message": "The discordId query parameter is required.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  },
                  "discordIdInvalid": {
                    "summary": "discordId is not 17 to 20 digits",
                    "value": {
                      "error": {
                        "code": "INVALID_DISCORD_ID",
                        "message": "discordId must be a 17-20 digit Discord user ID.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": { "$ref": "#/components/responses/Unauthorized" },
          "403": { "$ref": "#/components/responses/ForbiddenExpired" },
          "429": { "$ref": "#/components/responses/TooManyRequests" },
          "500": { "$ref": "#/components/responses/InternalServerError" },
          "503": { "$ref": "#/components/responses/DatabaseUnavailable" }
        }
      }
    },
    "/v1/ai-analyzer": {
      "get": {
        "tags": ["AI Analyzer"],
        "summary": "Run AI risk analysis on a Discord user",
        "description": "Collects data from about 20 anticheat and screenshare sources (live services plus some saved archives) and asks an AI model for a risk assessment. The answer uses the same `id`/`username`/`avatarUrl` envelope as the other /v1 endpoints, and `aianalyzer` is an array with the one result in it.\n\nRate limits: 10 req/min per IP; 5-minute per-key AI cooldown between analyses (only set on successful calls); 1,000 req/hr per API key (shared).\n\nEach user's result is cached for 15 minutes. A cached result comes back right away and does not use up your AI cooldown.\n\n**A first (uncached) call can be slow.** Fetching all these sources and then asking the AI model sometimes takes longer than our proxy waits. You then get a plain-text `504` instead of the usual JSON error, but the analysis often still finishes and is cached a moment later. If you get a bare 504 here, retry after a few seconds and you will usually get the cached result straight away.",
        "security": [{ "bearerAuth": [] }],
        "parameters": [
          {
            "in": "query",
            "name": "discordId",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{17,20}$"
            },
            "description": "Discord user ID to analyze (17 to 20 digits)."
          }
        ],
        "responses": {
          "200": {
            "description": "AI risk analysis result (fresh or from 15-minute cache)",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    { "$ref": "#/components/schemas/UserIdentity" },
                    {
                      "type": "object",
                      "properties": {
                        "aianalyzer": {
                          "type": "array",
                          "minItems": 1,
                          "maxItems": 1,
                          "items": {
                            "$ref": "#/components/schemas/AiAnalyzerResult"
                          }
                        }
                      },
                      "required": ["aianalyzer"]
                    }
                  ]
                },
                "examples": {
                  "fresh": {
                    "summary": "Cheater found (real response). `cached` is true only because the first request timed out at the proxy (see the 504 note above) while the analysis still finished, and the retry got it from the cache. A first-time answer (`cached: false`) looks the same.",
                    "value": {
                      "id": "1030766914047332443",
                      "username": "Willi",
                      "avatarUrl": "https://cdn.discordapp.com/avatars/1030766914047332443/399731dc62441fb6fb37c6775bde8372.png",
                      "aianalyzer": [
                        {
                          "cached": true,
                          "fetchedAt": 1788898868555,
                          "confidence": "High",
                          "riskScore": 100,
                          "type": "Cheating",
                          "analysis": "Ocean Anticheat confirms the user with overallStatus \"cheating\" and 2431 total detections across 22 scans (bypass methods, generic cheats, kernel drivers, DLL injections). FiveGuard shows a confirmed ban for \"Super Jump Detected.\" The user was banned from Revo Crimelife V3 for \"Analyse verweigert\" (screenshare refusal/exposure). Enty reports riskScore 7.8/10 and types including cheating and leaking, with caughtOn records across 15+ bypass/cheat servers. Customer/buyer roles (\"Cant Purchase (DWC)\", \"Fuse Vip\", \"Vip\", \"» Customer\") appear on multiple cheating discords. Leaking evidence exists via gxstuff.cc role and Enty's \"leaking\" type. Related Accounts confirm shared license/fivem identifiers linking alt accounts. Enty V2 riskScore 0.6 corroborates high risk. The evidence overwhelmingly confirms active cheating, with additional involvement in spoofing and leaking.",
                          "apisUsed": {
                            "securoxinspect": true,
                            "cheaterStatsCheating": true,
                            "gamma": true,
                            "screensharelol": false,
                            "screensharex": false,
                            "oceananticheat": true,
                            "anvilanticheatBans": true,
                            "anvilanticheatAccounts": true,
                            "exposures": true,
                            "electronanticheat": true,
                            "fivemspyUser": false,
                            "fivemspyCheater": false,
                            "fivemspyMessages": false,
                            "forensic": false,
                            "cheaterStatsMessages": true,
                            "cheaterStatsServerBans": true,
                            "cheaterStatsServerHistory": true,
                            "asuasnetworkServers": true,
                            "asuasnetworkMessages": true,
                            "asuasnetworkEvents": true,
                            "asuasnetworkCheaters": true,
                            "asuasnetworkIdentifiers": true,
                            "entyV2": true,
                            "entyV1Archived": false,
                            "fiveguard": true,
                            "threatless": false,
                            "waveshield": true,
                            "relatedAccounts": true
                          }
                        }
                      ]
                    }
                  },
                  "cached": {
                    "summary": "Parsing failed (real response). This is what `confidence: \"Unknown\"` looks like: the data was fetched (most `apisUsed` flags are true), but the model's answer had none of the expected fields, so every field kept its default. See `confidence` above. This is not a clean result.",
                    "value": {
                      "id": "780583942029180978",
                      "username": "weshmigo",
                      "avatarUrl": "https://cdn.discordapp.com/avatars/780583942029180978/df67a4a14b0b141ea505702aa50a0c1a.png",
                      "aianalyzer": [
                        {
                          "cached": true,
                          "fetchedAt": 1788898300230,
                          "confidence": "Unknown",
                          "riskScore": 0,
                          "type": "None",
                          "analysis": "No analysis provided.",
                          "apisUsed": {
                            "securoxinspect": true,
                            "cheaterStatsCheating": true,
                            "gamma": true,
                            "screensharelol": false,
                            "screensharex": false,
                            "oceananticheat": true,
                            "anvilanticheatBans": true,
                            "anvilanticheatAccounts": true,
                            "exposures": true,
                            "electronanticheat": true,
                            "fivemspyUser": false,
                            "fivemspyCheater": false,
                            "fivemspyMessages": false,
                            "forensic": false,
                            "cheaterStatsMessages": true,
                            "cheaterStatsServerBans": true,
                            "cheaterStatsServerHistory": true,
                            "asuasnetworkServers": true,
                            "asuasnetworkMessages": true,
                            "asuasnetworkEvents": true,
                            "asuasnetworkCheaters": true,
                            "asuasnetworkIdentifiers": true,
                            "entyV2": true,
                            "entyV1Archived": false,
                            "fiveguard": true,
                            "threatless": false,
                            "waveshield": true,
                            "relatedAccounts": true
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { "$ref": "#/components/schemas/Error" },
                "examples": {
                  "discordIdRequired": {
                    "summary": "Missing discordId parameter",
                    "value": {
                      "error": {
                        "code": "MISSING_DISCORD_ID",
                        "message": "The discordId query parameter is required.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  },
                  "discordIdInvalid": {
                    "summary": "discordId is not 17 to 20 digits",
                    "value": {
                      "error": {
                        "code": "INVALID_DISCORD_ID",
                        "message": "discordId must be a 17-20 digit Discord user ID.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": { "$ref": "#/components/responses/Unauthorized" },
          "403": { "$ref": "#/components/responses/ForbiddenContent" },
          "429": { "$ref": "#/components/responses/TooManyRequestsAiAnalyzer" },
          "500": { "$ref": "#/components/responses/InternalServerError" },
          "502": { "$ref": "#/components/responses/BadGateway" },
          "503": { "$ref": "#/components/responses/ServiceUnavailable" },
          "504": {
            "description": "Gateway Timeout: a plain-text timeout from our proxy, not the usual JSON error. It happens on slow first-time analyses. The analysis often still finishes and gets cached, so retry after a few seconds.",
            "content": {
              "text/plain": {
                "schema": { "type": "string", "example": "error code: 504" }
              }
            }
          }
        }
      }
    },
    "/v1/changelogs": {
      "get": {
        "tags": ["Changelogs"],
        "summary": "Get the public changelog",
        "description": "Returns the most recent platform changes, newest first. No API key needed. Rate limit: 30 req/min per IP. Cached for 30 seconds (`Cache-Control: public, max-age=30`). The commit author's e-mail is never returned: `author.email` is always `null`.",
        "security": [],
        "responses": {
          "200": {
            "description": "List of changelog entries, newest first",
            "headers": {
              "Cache-Control": {
                "schema": { "type": "string" },
                "description": "public, max-age=30"
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "messageId": { "type": ["string", "null"] },
                      "timestamp": { "type": "string", "format": "date-time" },
                      "commitId": { "type": "string" },
                      "commitUrl": { "type": "string" },
                      "message": { "type": "string" },
                      "aiSummary": { "type": ["string", "null"] },
                      "author": {
                        "type": "object",
                        "properties": {
                          "name": { "type": "string" },
                          "email": {
                            "type": ["string", "null"],
                            "description": "Always null on this endpoint"
                          },
                          "username": { "type": ["string", "null"] }
                        }
                      },
                      "repository": { "type": "string" },
                      "branch": { "type": "string" },
                      "additions": { "type": "integer" },
                      "deletions": { "type": "integer" },
                      "filesAdded": {
                        "type": "array",
                        "items": { "type": "string" }
                      },
                      "filesRemoved": {
                        "type": "array",
                        "items": { "type": "string" }
                      },
                      "filesModified": {
                        "type": "array",
                        "items": { "type": "string" }
                      }
                    }
                  }
                }
              }
            }
          },
          "429": { "description": "Rate limit exceeded" },
          "500": { "description": "The changelog list could not be loaded" }
        }
      }
    },
    "/v1/enty": {
      "get": {
        "tags": ["Enty V2"],
        "summary": "Get Enty data for a Discord user",
        "description": "Returns Enty data for a Discord user ID in the same `id`/`username`/`avatarUrl` envelope as the other /v1 endpoints. `enty` is an array with one element, and Enty decides its shape (see EntyResponse). Rate limit: 50 req/min per IP, 1,000 req/hr per API key.\n\nAnswers come from a cache first: memory (15 min), then Redis (15 min), then a saved copy on disk that the Discord bot shares. We only ask Enty live when the saved copy is more than 24 hours old, and at most 60 times a minute, which matches Enty's own limit.\n\nEnty retired its V1 API. This route reads Enty V2 and converts the answer to the old V1 shape, so `enty[0]` looks the same as before.",
        "security": [{ "bearerAuth": [] }],
        "parameters": [
          {
            "in": "query",
            "name": "discordId",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^\\d{17,20}$"
            },
            "description": "Discord user ID to look up (17 to 20 digits). Also accepted as `discordid` or `id`."
          }
        ],
        "responses": {
          "200": {
            "description": "Enty data for the requested Discord user",
            "content": {
              "application/json": {
                "schema": {
                  "allOf": [
                    { "$ref": "#/components/schemas/UserIdentity" },
                    {
                      "type": "object",
                      "properties": {
                        "enty": {
                          "type": "array",
                          "minItems": 1,
                          "maxItems": 1,
                          "items": {
                            "$ref": "#/components/schemas/EntyResponse"
                          },
                          "description": "Single-element array holding Enty's own checkuser response, as-is"
                        }
                      },
                      "required": ["enty"]
                    }
                  ]
                },
                "examples": {
                  "flagged": {
                    "summary": "User with Enty records, status 200 (real response)",
                    "value": {
                      "id": "780583942029180978",
                      "username": "weshmigo",
                      "avatarUrl": "https://cdn.discordapp.com/avatars/780583942029180978/df67a4a14b0b141ea505702aa50a0c1a.png",
                      "enty": [
                        {
                          "status": 200,
                          "timestamp": 1786111381710,
                          "data": {
                            "userId": "780583942029180978",
                            "total": 2,
                            "last": 1783849556365,
                            "matches": [
                              {
                                "id": "1352629081350606929",
                                "name": ".gg/dmatag # DMA",
                                "types": ["cheating"],
                                "rIds": [
                                  "1352792878765834372",
                                  "1352828239114014750",
                                  "1370753354237481021",
                                  "1380539271546409062",
                                  "1394398534975098971",
                                  "1461642944804032543"
                                ],
                                "roles": [
                                  "special member ⭐",
                                  "verified dma user 💻",
                                  "dma cheat dealer 🚀",
                                  "discord.gg/dmatag",
                                  "iri",
                                  "+"
                                ],
                                "at": 1773923573723
                              },
                              {
                                "id": "1512699666041667595",
                                "name": "HumveSquad | WIELKIE ROZDANIE",
                                "types": ["cheating"],
                                "rIds": ["1512699666041667599"],
                                "roles": ["・User"],
                                "at": 1783849556365
                              }
                            ],
                            "caughtOn": [],
                            "cheatProducts": [],
                            "types": ["cheating"],
                            "riskScore": 3.3,
                            "message": "User found in scraped data."
                          }
                        }
                      ]
                    }
                  },
                  "noData": {
                    "summary": "User with no Enty records: Enty status 404 inside an HTTP 200 (example)",
                    "value": {
                      "id": "1471997455980691568",
                      "username": null,
                      "avatarUrl": null,
                      "enty": [
                        {
                          "status": 404,
                          "timestamp": 1787506242756,
                          "data": {
                            "userId": "1471997455980691568",
                            "total": 0,
                            "last": null,
                            "matches": [],
                            "caughtOn": [],
                            "flaggedAt": null,
                            "cheatProducts": [],
                            "types": [],
                            "manualTimestamp": null,
                            "riskScore": 0,
                            "message": "No data found for this identifier."
                          }
                        }
                      ]
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": { "$ref": "#/components/schemas/Error" },
                "examples": {
                  "discordIdRequired": {
                    "summary": "Missing discordId parameter",
                    "value": {
                      "error": {
                        "code": "MISSING_DISCORD_ID",
                        "message": "The discordId query parameter is required.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  },
                  "discordIdInvalid": {
                    "summary": "discordId is not 17 to 20 digits",
                    "value": {
                      "error": {
                        "code": "INVALID_DISCORD_ID",
                        "message": "discordId must be a 17-20 digit Discord user ID.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  }
                }
              }
            }
          },
          "401": { "$ref": "#/components/responses/Unauthorized" },
          "403": { "$ref": "#/components/responses/ForbiddenContent" },
          "429": { "$ref": "#/components/responses/TooManyRequestsEnty" },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": { "$ref": "#/components/schemas/Error" },
                "examples": {
                  "internalError": {
                    "summary": "Unexpected server error",
                    "value": {
                      "error": {
                        "code": "INTERNAL_ERROR",
                        "message": "Something went wrong on our side. If it keeps happening, send us the requestId.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  },
                  "notConfigured": {
                    "summary": "Enty integration is not configured on this server",
                    "value": {
                      "error": {
                        "code": "NOT_CONFIGURED",
                        "message": "Enty integration is not configured on this server.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  },
                  "upstreamFailed": {
                    "summary": "The live Enty lookup failed and there is no saved copy yet (real response)",
                    "value": {
                      "error": {
                        "code": "UPSTREAM_ERROR",
                        "message": "Failed to fetch Enty data. The upstream service may be unavailable. Try again shortly.",
                        "requestId": "a38096e3eb3cef8d-WAW"
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
