{"openapi":"3.1.0","info":{"title":"Essentials Artwork","description":"\nLogo / image lookup service.\n\n**Flow:** `GET /api/v1/logo?q=<name>` →\n* **200** `approved` – `url` is the public CDN URL.\n* **202** `pending` – unknown so far; a logo search was queued and an admin will approve/deny it. Poll again later.\n* **404** `denied` – an admin rejected it.\n\n**Getting started:** [`/developers`](/developers) has copy-paste examples for JavaScript, Python, cURL and common\nserver setups (Express, Next.js, FastAPI, Nginx), plus a live \"try a lookup\" demo.\n\n**Public website:** [`/`](/) lets anyone browse, download and request logos (see the `site` endpoints).\n\n**Logging:** every request is logged with a request id (returned as `X-Request-ID`), caller, timing and\nendpoint details; image records keep requested / searched / approved / denied / served / downloaded dates.\n\n**Auth:** send an API key as `Authorization: Bearer <key>` — the only accepted method. Keys are **never accepted in\nURLs** — a request with `?api_key=` is rejected with **400**, as is the old `X-API-Key` header. Get a key on [`/api-keys`](/api-keys) (an admin reviews\nevery request and you collect the key once) or from an admin in the [admin panel](/admin). Store keys in a secret\nstore or environment variable, never in client-side code or source control.\n**Your limits:** `POST /site/api/key-limits` with your request email and your key in the `Authorization` header shows\nyour current limits, remaining quota and reset times.\n**Rate limits:** every response carries `X-RateLimit-Limit`, `X-RateLimit-Remaining`, `X-RateLimit-Reset` (seconds)\nand `X-RateLimit-Bucket`. Over the limit you get **429** with `Retry-After`. Defaults: 120 req/min per API key\n(adjustable per key), 100 new logo searches/hour per key, plus per-IP limits on the public site.\n","version":"1.0.0"},"paths":{"/api/v1/logo":{"get":{"tags":["logos"],"summary":"Look up a logo","description":"Returns the approved logo for `q`. If it is not in the library, a logo search is started and the result is queued for admin review (HTTP 202). Lookups are case/spacing-insensitive; domains (`discord.com`, `https://www.discord.com/app`) are normalised to the bare host.","operationId":"get_logo_api_v1_logo_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"description":"Brand / company name or domain","examples":["Discord"],"title":"Q"},"description":"Brand / company name or domain"},{"name":"domain","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":253},{"type":"null"}],"description":"Optional domain hint for better search","title":"Domain"},"description":"Optional domain hint for better search"},{"name":"queue","in":"query","required":false,"schema":{"type":"boolean","description":"Queue a search when the logo is unknown","default":true,"title":"Queue"},"description":"Queue a search when the logo is unknown"}],"responses":{"200":{"description":"Logo is approved — `url` points at the CDN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoResult"}}}},"202":{"description":"Not in the library yet (or awaiting review). A search was queued; poll again later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoResult"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded — see `Retry-After` / `X-RateLimit-*` headers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"An admin denied this logo, or `queue=false` and it is unknown","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/logo/image":{"get":{"tags":["logos"],"summary":"Redirect straight to the logo image","description":"Same lookup as `GET /logo` but responds with a `302` redirect to the CDN image when approved — handy for `<img src>` when anonymous lookups are enabled, or from a server-side proxy that adds the `Authorization` header. Keys in the URL (`?api_key=`) are rejected with 400. Pending/denied return the JSON body.","operationId":"get_logo_image_api_v1_logo_image_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":200,"title":"Q"}},{"name":"domain","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":253},{"type":"null"}],"title":"Domain"}},{"name":"queue","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Queue"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"302":{"description":"Redirect to the CDN image"},"202":{"description":"Not in the library yet (or awaiting review). A search was queued; poll again later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoResult"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded — see `Retry-After` / `X-RateLimit-*` headers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"An admin denied this logo, or `queue=false` and it is unknown","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/logo/request":{"post":{"tags":["logos"],"summary":"Request a logo (with optional domain hint)","description":"Body-based variant of `GET /logo`. Returns the approved logo if present, otherwise queues it.","operationId":"request_logo_api_v1_logo_request_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoRequest"}}},"required":true},"responses":{"200":{"description":"Logo is approved — `url` points at the CDN","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoResult"}}}},"202":{"description":"Not in the library yet (or awaiting review). A search was queued; poll again later.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoResult"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded — see `Retry-After` / `X-RateLimit-*` headers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"An admin denied this logo, or `queue=false` and it is unknown","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LogoResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/logo/batch":{"post":{"tags":["logos"],"summary":"Look up / request many logos at once","description":"Send up to `BATCH_MAX_ITEMS` (default 100) names or `{name, domain}` objects. Each item is resolved like `GET /logo`: approved logos come back with their CDN `url`, unknown ones are queued for search + review. Duplicates (after normalisation) are resolved once. Every item gets its own `http_status` (200 approved, 202 pending, 404 denied/unknown, 422 invalid, 429 new-search limit reached); the call itself returns 200 unless the whole request is rejected. A batch counts as `ceil(items / 10)` requests against the key's per-minute limit, and each *new* search counts against `API_NEW_SEARCHES_PER_HOUR`.","operationId":"batch_logos_api_v1_logo_batch_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BatchResponse"}}}},"401":{"description":"Missing or invalid API key","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"429":{"description":"Rate limit exceeded — see `Retry-After` / `X-RateLimit-*` headers","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/v1/logos":{"get":{"tags":["logos"],"summary":"List approved logos","description":"Paged list of the approved library, newest first. `search` filters by name, domain or alias.","operationId":"list_logos_api_v1_logos_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"search","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"title":"Search"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":50,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/LogoResult"},"title":"Response List Logos Api V1 Logos Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/site/api/logos":{"get":{"tags":["site"],"summary":"Browse approved logos","operationId":"list_logos_site_api_logos_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string","maxLength":200},{"type":"null"}],"description":"Search name, domain or alias","title":"Q"},"description":"Search name, domain or alias"},{"name":"sort","in":"query","required":false,"schema":{"type":"string","pattern":"^(name|newest|popular)$","default":"name","title":"Sort"}},{"name":"quality","in":"query","required":false,"schema":{"anyOf":[{"enum":["verified","needs_review"],"type":"string"},{"type":"null"}],"description":"Only logos whose details are all known (`verified`) or that have unknown details","title":"Quality"},"description":"Only logos whose details are all known (`verified`) or that have unknown details"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":48,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteLogoPage"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/site/api/logos/bulk-download":{"get":{"tags":["site"],"summary":"Download several logos as one ZIP","description":"Comma-separated ids of approved logos (up to `SITE_BULK_DOWNLOAD_MAX_ITEMS`, default 100). The ZIP holds one file per logo plus `logos.json` (name, domain, file, CDN url, size).","operationId":"bulk_download_site_api_logos_bulk_download_get","parameters":[{"name":"ids","in":"query","required":true,"schema":{"type":"string","maxLength":4000,"title":"Ids"}}],"responses":{"200":{"description":"Successful Response","content":{"application/zip":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/site/api/logos/{image_id}":{"get":{"tags":["site"],"summary":"One approved logo","operationId":"get_logo_site_api_logos__image_id__get","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"integer","title":"Image Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteLogo"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/site/api/logos/{image_id}/reports":{"post":{"tags":["site"],"summary":"Report a problem with a logo","description":"Flag a broken, outdated or incorrect logo, optionally with a link to a better image. Reports go to the admin review queue; the current logo stays published until a reviewer acts. Sending another report for the same logo updates your open one (200).","operationId":"submit_report_site_api_logos__image_id__reports_post","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"integer","title":"Image Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteReportBody"}}}},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteReportResult"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/site/api/logos/{image_id}/download":{"get":{"tags":["site"],"summary":"Download an approved logo file","operationId":"download_logo_site_api_logos__image_id__download_get","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"integer","title":"Image Id"}}],"responses":{"200":{"description":"Successful Response","content":{"image/*":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/site/api/collections":{"get":{"tags":["site"],"summary":"Curated logo collections","description":"Published collections that have at least one logo, in the order the admins chose.","operationId":"list_collections_site_api_collections_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SiteCollection"},"type":"array","title":"Response List Collections Site Api Collections Get"}}}}}}},"/site/api/collections/{slug}":{"get":{"tags":["site"],"summary":"One collection with its logos","operationId":"get_collection_site_api_collections__slug__get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteCollectionDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/site/api/collections/{slug}/download":{"get":{"tags":["site"],"summary":"Download a whole collection as one ZIP","operationId":"download_collection_site_api_collections__slug__download_get","parameters":[{"name":"slug","in":"path","required":true,"schema":{"type":"string","title":"Slug"}}],"responses":{"200":{"description":"Successful Response","content":{"application/zip":{}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/site/api/requests":{"post":{"tags":["site"],"summary":"Request a logo","description":"Anyone can ask for a logo. If it already exists you get it straight back; otherwise a search is queued for admin review. Keep the returned `id` to check the status later.","operationId":"submit_request_site_api_requests_post","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteRequestBody"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteRequestStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"tags":["site"],"summary":"Check several requests","description":"Comma-separated ids (max 50) — the website uses this to show 'My requests'.","operationId":"request_statuses_site_api_requests_get","parameters":[{"name":"ids","in":"query","required":true,"schema":{"type":"string","maxLength":600,"title":"Ids"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/SiteRequestStatus"},"title":"Response Request Statuses Site Api Requests Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/site/api/requests/{image_id}":{"get":{"tags":["site"],"summary":"Check one request","operationId":"request_status_site_api_requests__image_id__get","parameters":[{"name":"image_id","in":"path","required":true,"schema":{"type":"integer","title":"Image Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SiteRequestStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/site/api/key-requests":{"post":{"tags":["api keys"],"summary":"Request an API key","description":"Submit an email and username. Every request is reviewed by an administrator; nothing is issued automatically. The response contains a **claim token** — the only way to check the request and to collect the key — and is identical whether or not the email already has a request or key (duplicates are not created and their token stays `pending`).\n\nErrors: **422** invalid email/username (format only), **409** username already in use, **429** too many requests from your network (`Retry-After`), **503** requests are closed.","operationId":"request_key_site_api_key_requests_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyRequestIn"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/KeyRequestReceived"}}}},"409":{"description":"Username already in use"},"422":{"description":"Invalid email or username"},"429":{"description":"Too many requests"},"503":{"description":"Not accepting requests right now"}}}},"/site/api/key-requests/status":{"post":{"tags":["api keys"],"summary":"Check a key request","description":"Send the claim token in the JSON body (never in the URL). Unknown tokens report `pending`. Once collected, only a masked prefix of the key is returned.","operationId":"request_status_site_api_key_requests_status_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/site/api/key-requests/reveal":{"post":{"tags":["api keys"],"summary":"Collect an approved key (one time only)","description":"Returns the full API key **once**. The server then deletes its sealed copy, so later calls get **410** with a masked prefix. Before approval you get **409** with the current status.","operationId":"reveal_key_site_api_key_requests_reveal_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClaimIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevealedKey"}}}},"409":{"description":"Not approved (pending, denied or revoked)"},"410":{"description":"Already collected"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/site/api/key-limits":{"post":{"tags":["api keys"],"summary":"Look up your API rate limits","description":"Send the email from your key request in the JSON body and prove you own the key by sending it in the `Authorization: Bearer <key>` header. Returns limits, remaining quota and reset times only — never the key or account details. Wrong email, unknown or revoked key all return the same **401**. Checking doesn't use up any quota. Rate limited per network (**429**).","operationId":"key_limits_site_api_key_limits_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LimitLookupIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LimitLookupOut"}}}},"401":{"description":"Could not verify (generic)"},"429":{"description":"Too many lookups"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/health":{"get":{"tags":["system"],"summary":"Liveness / readiness probe","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"BatchItemResult":{"properties":{"index":{"type":"integer","title":"Index","description":"Position in the request's `items`"},"name":{"type":"string","title":"Name"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"},"http_status":{"type":"integer","title":"Http Status","description":"200 approved, 202 pending, 404 denied/unknown, 422 invalid, 429 limited"},"outcome":{"type":"string","title":"Outcome","description":"found_approved | found_pending | found_denied | queued | unknown_not_queued | rate_limited | invalid"},"result":{"anyOf":[{"$ref":"#/components/schemas/LogoResult"},{"type":"null"}]},"error":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Error"},"duplicate_of":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Duplicate Of","description":"Index of the earlier identical item, if deduplicated"}},"type":"object","required":["index","name","http_status","outcome"],"title":"BatchItemResult"},"BatchRequest":{"properties":{"items":{"items":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/LogoRequest"}]},"type":"array","minItems":1,"title":"Items","description":"Names (strings) and/or `{name, domain}` objects","examples":[["Discord",{"domain":"stripe.com","name":"Stripe"},"github.com"]]},"queue":{"type":"boolean","title":"Queue","description":"Queue searches for unknown logos","default":true}},"type":"object","required":["items"],"title":"BatchRequest"},"BatchResponse":{"properties":{"summary":{"additionalProperties":{"type":"integer"},"type":"object","title":"Summary"},"results":{"items":{"$ref":"#/components/schemas/BatchItemResult"},"type":"array","title":"Results"}},"type":"object","required":["summary","results"],"title":"BatchResponse"},"ClaimIn":{"properties":{"claim_token":{"type":"string","maxLength":100,"minLength":10,"title":"Claim Token","description":"The token from your request confirmation"}},"type":"object","required":["claim_token"],"title":"ClaimIn"},"ClaimStatus":{"properties":{"status":{"type":"string","enum":["pending","approved","denied","retrieved","revoked"],"title":"Status","description":"`pending`: waiting for review. `approved`: your key is ready to collect (once). `denied`: see `reason`. `retrieved`: already collected, can't be shown again. `revoked`: the key was disabled."},"message":{"type":"string","title":"Message"},"reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Reason","description":"Why the request was denied, when the reviewer gave a reason"},"key_hint":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Key Hint","description":"Masked key prefix (e.g. `ipt_AbCd1234…`) once collected"},"decided_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Decided At"},"retrieved_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Retrieved At"}},"type":"object","required":["status","message"],"title":"ClaimStatus"},"ErrorResponse":{"properties":{"detail":{"type":"string","title":"Detail"}},"type":"object","required":["detail"],"title":"ErrorResponse"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"KeyRequestIn":{"properties":{"email":{"type":"string","maxLength":254,"title":"Email","description":"Where we can reach you. Also used (with your key) to look up rate limits.","examples":["dev@example.com"]},"username":{"type":"string","maxLength":32,"title":"Username","description":"3–32 characters: letters, digits, `.`, `_`, `-`; starts with a letter or digit. Becomes the key's name.","examples":["modora-bot"]}},"type":"object","required":["email","username"],"title":"KeyRequestIn"},"KeyRequestReceived":{"properties":{"status":{"type":"string","const":"received","title":"Status","default":"received"},"claim_token":{"type":"string","title":"Claim Token","description":"Shown only in this response. You need it to check the request and to collect your key once it's approved. Keep it private."},"message":{"type":"string","title":"Message"}},"type":"object","required":["claim_token","message"],"title":"KeyRequestReceived"},"LimitInfo":{"properties":{"bucket":{"type":"string","title":"Bucket"},"description":{"type":"string","title":"Description"},"limit":{"type":"integer","title":"Limit","description":"Requests allowed per window (0 = unlimited)"},"window_seconds":{"type":"integer","title":"Window Seconds"},"remaining":{"type":"integer","title":"Remaining"},"reset_seconds":{"type":"integer","title":"Reset Seconds","description":"Seconds until the oldest counted request leaves the window (0 = nothing counted yet)"}},"type":"object","required":["bucket","description","limit","window_seconds","remaining","reset_seconds"],"title":"LimitInfo"},"LimitLookupIn":{"properties":{"email":{"type":"string","maxLength":254,"title":"Email","description":"The email address from your key request"}},"type":"object","required":["email"],"title":"LimitLookupIn"},"LimitLookupOut":{"properties":{"status":{"type":"string","const":"verified","title":"Status","default":"verified"},"limits":{"items":{"$ref":"#/components/schemas/LimitInfo"},"type":"array","title":"Limits"},"note":{"type":"string","title":"Note","default":"Counts are live and kept in server memory (they reset if the service restarts). Every API response also carries X-RateLimit-* headers for the limit that's closest to running out."}},"type":"object","required":["limits"],"title":"LimitLookupOut"},"LogoRequest":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name","examples":["Discord"]},"domain":{"anyOf":[{"type":"string","maxLength":253},{"type":"null"}],"title":"Domain","description":"Optional domain hint, improves search accuracy","examples":["discord.com"]}},"type":"object","required":["name"],"title":"LogoRequest"},"LogoResult":{"properties":{"status":{"type":"string","enum":["approved","pending","denied"],"title":"Status","description":"`approved` = url is ready, `pending` = waiting for admin review, `denied` = an admin rejected this logo"},"query":{"type":"string","title":"Query","description":"Normalised lookup key"},"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url","description":"Public CDN URL (only when approved)"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"file_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"File Size","description":"Bytes"},"transparent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Transparent","description":"True if the image has transparent pixels, false if fully opaque, null if unknown (SVG or not yet checked)"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"Where the image came from, e.g. `Website (discord.com)`"},"quality":{"anyOf":[{"type":"string","enum":["verified","needs_review"]},{"type":"null"}],"title":"Quality","description":"`verified`: approved by a reviewer and its transparency, dimensions, file size and source are known. `needs_review`: one or more of those details is unknown (listed in `missing`). Null unless approved."},"missing":{"items":{"type":"string","enum":["transparency","dimensions","file_size","source"]},"type":"array","title":"Missing","description":"Details that are unknown for this logo","default":[]},"attribution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attribution","description":"Credit line to use with the logo, if any"},"usage_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Usage Notes","description":"Known usage guidance (brand guidelines, restrictions)"},"updated_at":{"type":"string","title":"Updated At"},"message":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Message"}},"type":"object","required":["status","query","id","name","updated_at"],"title":"LogoResult","description":"Response for a logo lookup."},"RevealedKey":{"properties":{"api_key":{"type":"string","title":"Api Key","description":"Your full API key. This is the only time it is shown."},"key_hint":{"type":"string","title":"Key Hint"},"warning":{"type":"string","title":"Warning","default":"Copy it now and keep it in a secret store (environment variable, password manager or your platform's secrets). Never put it in URLs, client-side code or source control. It can't be shown again."},"usage":{"type":"string","title":"Usage","default":"Send it as `Authorization: Bearer <key>`. Keys in URLs are rejected."}},"type":"object","required":["api_key","key_hint"],"title":"RevealedKey"},"ReviewWindow":{"properties":{"typical_hours":{"type":"number","title":"Typical Hours","description":"Median wait for a decision"},"most_within_hours":{"type":"number","title":"Most Within Hours","description":"80% of recent requests were decided within this many hours"},"sample_size":{"type":"integer","title":"Sample Size","description":"Decided requests the estimate is based on"},"basis":{"type":"string","enum":["recent","default"],"title":"Basis","description":"`recent` = measured from the last 90 days, `default` = configured fallback (not enough history yet)"}},"type":"object","required":["typical_hours","most_within_hours","sample_size","basis"],"title":"ReviewWindow"},"SiteCollection":{"properties":{"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"count":{"type":"integer","title":"Count","description":"Number of published logos in the collection"},"previews":{"items":{"type":"string"},"type":"array","title":"Previews","description":"CDN URLs of the first few logos","default":[]},"download_url":{"type":"string","title":"Download Url","description":"ZIP of every logo in the collection"},"updated_at":{"type":"string","title":"Updated At"}},"type":"object","required":["slug","title","count","download_url","updated_at"],"title":"SiteCollection"},"SiteCollectionDetail":{"properties":{"slug":{"type":"string","title":"Slug"},"title":{"type":"string","title":"Title"},"description":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Description"},"count":{"type":"integer","title":"Count","description":"Number of published logos in the collection"},"previews":{"items":{"type":"string"},"type":"array","title":"Previews","description":"CDN URLs of the first few logos","default":[]},"download_url":{"type":"string","title":"Download Url","description":"ZIP of every logo in the collection"},"updated_at":{"type":"string","title":"Updated At"},"items":{"items":{"$ref":"#/components/schemas/SiteLogo"},"type":"array","title":"Items"}},"type":"object","required":["slug","title","count","download_url","updated_at","items"],"title":"SiteCollectionDetail"},"SiteLogo":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"domain":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Domain"},"url":{"type":"string","title":"Url","description":"Public CDN URL"},"download_url":{"type":"string","title":"Download Url"},"content_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Content Type"},"width":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Width"},"height":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Height"},"file_size":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"File Size"},"transparent":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Transparent","description":"True if the image has transparent pixels, false if fully opaque, null if unknown (SVG or not yet checked)"},"source":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source","description":"Where the image came from, e.g. `Website (discord.com)`"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url","description":"Original location of the file, when it can be shared"},"quality":{"type":"string","enum":["verified","needs_review"],"title":"Quality","description":"`verified`: approved by a reviewer and its transparency, dimensions, file size and source are known. `needs_review`: one or more of those details is unknown (listed in `missing`).","default":"needs_review"},"missing":{"items":{"type":"string","enum":["transparency","dimensions","file_size","source"]},"type":"array","title":"Missing","description":"Details that are unknown for this logo","default":[]},"attribution":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Attribution","description":"Credit line to use with the logo, if any"},"usage_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Usage Notes","description":"Known usage guidance (brand guidelines, restrictions)"},"aliases":{"items":{"type":"string"},"type":"array","title":"Aliases","default":[]},"approved_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved At"},"updated_at":{"type":"string","title":"Updated At"},"downloads":{"type":"integer","title":"Downloads"}},"type":"object","required":["id","name","domain","url","download_url","content_type","width","height","file_size","approved_at","updated_at","downloads"],"title":"SiteLogo"},"SiteLogoPage":{"properties":{"total":{"type":"integer","title":"Total"},"items":{"items":{"$ref":"#/components/schemas/SiteLogo"},"type":"array","title":"Items"}},"type":"object","required":["total","items"],"title":"SiteLogoPage"},"SiteReportBody":{"properties":{"reason":{"type":"string","enum":["broken","outdated","incorrect","low_quality","other"],"title":"Reason","description":"`broken` = file doesn't load, `outdated` = the brand has a newer logo, `incorrect` = wrong brand or version, `low_quality` = blurry/cropped, `other` = explain in `note`"},"note":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}],"title":"Note","description":"What's wrong, for the reviewers"},"suggested_url":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}],"title":"Suggested Url","description":"Link to a better image or the brand's official logo page"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website","description":"Leave empty (spam trap)"}},"type":"object","required":["reason"],"title":"SiteReportBody"},"SiteReportResult":{"properties":{"id":{"type":"integer","title":"Id"},"image_id":{"type":"integer","title":"Image Id"},"status":{"type":"string","enum":["open","resolved","dismissed"],"title":"Status"},"created":{"type":"boolean","title":"Created","description":"False if this updated your earlier open report for the same logo"}},"type":"object","required":["id","image_id","status","created"],"title":"SiteReportResult"},"SiteRequestBody":{"properties":{"name":{"type":"string","maxLength":200,"minLength":1,"title":"Name","examples":["Discord"]},"domain":{"anyOf":[{"type":"string","maxLength":253},{"type":"null"}],"title":"Domain","examples":["discord.com"]},"note":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Note","description":"Optional note for the reviewers"},"website":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Website","description":"Leave empty (spam trap)"}},"type":"object","required":["name"],"title":"SiteRequestBody"},"SiteRequestStatus":{"properties":{"id":{"type":"integer","title":"Id"},"name":{"type":"string","title":"Name"},"status":{"type":"string","enum":["approved","pending","denied"],"title":"Status"},"state":{"type":"string","title":"State","description":"Human-readable state"},"stage":{"type":"string","enum":["searching","in_review","manual_search","approved","denied"],"title":"Stage","description":"Finer-grained progress than `status`"},"explanation":{"type":"string","title":"Explanation","description":"Plain-language description of what is happening and what comes next"},"created":{"type":"boolean","title":"Created","description":"True if this call created a new request","default":false},"requested_at":{"type":"string","title":"Requested At"},"last_requested_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Last Requested At"},"approved_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Approved At"},"denied_at":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Denied At"},"updated_at":{"type":"string","title":"Updated At"},"review_window":{"anyOf":[{"$ref":"#/components/schemas/ReviewWindow"},{"type":"null"}],"description":"Recent review times (pending requests only)"},"expected_by":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected By","description":"When most requests like this have been decided"},"overdue":{"type":"boolean","title":"Overdue","description":"True once `expected_by` has passed","default":false},"logo":{"anyOf":[{"$ref":"#/components/schemas/SiteLogo"},{"type":"null"}]}},"type":"object","required":["id","name","status","state","stage","explanation","requested_at","last_requested_at","approved_at","denied_at","updated_at"],"title":"SiteRequestStatus"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"HTTPBearer":{"type":"http","description":"`Authorization: Bearer <api key>`","scheme":"bearer"}}},"tags":[{"name":"logos","description":"Look up / request logos (API key)"},{"name":"site","description":"Public website API — browse, download and request logos (no key needed)"},{"name":"api keys","description":"Request an API key, collect it once after approval, and look up your rate limits"},{"name":"system","description":"Health"}]}