{"openapi":"3.1.0","info":{"title":"Lobby Radar API","version":"1.0.0","description":"Read-only access to your workspace: lobbies, games, deals with their current status, placements, events and screenshots. Send your key as `Authorization: Bearer lr_live_…`. Keys are created by owners and admins in Settings → API (Pro and Enterprise plans). 60 requests a minute per key."},"servers":[{"url":"https://lobby-radar.com/api/v1"}],"security":[{"apiKey":[]}],"paths":{"/workspace":{"get":{"operationId":"list_workspace","summary":"Your workspace and key","description":"","tags":["Your workspace and key"],"parameters":[],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per minute (60).","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute ends (Unix time, seconds).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Workspace"}}}}}},"400":{"description":"A query parameter isn't valid (invalid_parameter).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or the key is invalid or revoked (missing_api_key, invalid_api_key, revoked_api_key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace is paused: its trial or paid year has ended (workspace_paused).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Your plan doesn't include the API (plan_without_api).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 60 requests in a minute (rate_limited). Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait.","schema":{"type":"integer"}}}}}}},"/lobbies":{"get":{"operationId":"list_lobbies","summary":"Lobbies you track","description":" In a stable order; page with cursor.","tags":["Lobbies you track"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Items per page, 1–200 (default 50).","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per minute (60).","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute ends (Unix time, seconds).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","next_cursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Lobby"}},"next_cursor":{"type":["string","null"],"description":"Pass it as cursor to get the next page; null on the last page."}}}}}},"400":{"description":"A query parameter isn't valid (invalid_parameter).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or the key is invalid or revoked (missing_api_key, invalid_api_key, revoked_api_key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace is paused: its trial or paid year has ended (workspace_paused).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Your plan doesn't include the API (plan_without_api).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 60 requests in a minute (rate_limited). Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait.","schema":{"type":"integer"}}}}}}},"/lobbies/{id}":{"get":{"operationId":"get_lobbies","summary":"One lobby","description":"404 if there is no lobby with this id in your workspace. In a stable order; page with cursor.","tags":["Lobbies you track"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per minute (60).","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute ends (Unix time, seconds).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Lobby"}}}}}},"400":{"description":"A query parameter isn't valid (invalid_parameter).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or the key is invalid or revoked (missing_api_key, invalid_api_key, revoked_api_key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace is paused: its trial or paid year has ended (workspace_paused).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Your plan doesn't include the API (plan_without_api).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not in your workspace, or no such id (not_found).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 60 requests in a minute (rate_limited). Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait.","schema":{"type":"integer"}}}}}}},"/sections":{"get":{"operationId":"list_sections","summary":"Sections of your lobbies","description":" In a stable order; page with cursor.","tags":["Sections of your lobbies"],"parameters":[{"name":"lobby_id","in":"query","required":false,"description":"Only this lobby.","schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","required":false,"description":"Items per page, 1–200 (default 50).","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per minute (60).","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute ends (Unix time, seconds).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","next_cursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Section"}},"next_cursor":{"type":["string","null"],"description":"Pass it as cursor to get the next page; null on the last page."}}}}}},"400":{"description":"A query parameter isn't valid (invalid_parameter).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or the key is invalid or revoked (missing_api_key, invalid_api_key, revoked_api_key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace is paused: its trial or paid year has ended (workspace_paused).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Your plan doesn't include the API (plan_without_api).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 60 requests in a minute (rate_limited). Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait.","schema":{"type":"integer"}}}}}}},"/games":{"get":{"operationId":"list_games","summary":"Your games","description":" In a stable order; page with cursor.","tags":["Your games"],"parameters":[{"name":"limit","in":"query","required":false,"description":"Items per page, 1–200 (default 50).","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per minute (60).","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute ends (Unix time, seconds).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","next_cursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Game"}},"next_cursor":{"type":["string","null"],"description":"Pass it as cursor to get the next page; null on the last page."}}}}}},"400":{"description":"A query parameter isn't valid (invalid_parameter).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or the key is invalid or revoked (missing_api_key, invalid_api_key, revoked_api_key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace is paused: its trial or paid year has ended (workspace_paused).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Your plan doesn't include the API (plan_without_api).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 60 requests in a minute (rate_limited). Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait.","schema":{"type":"integer"}}}}}}},"/games/{id}":{"get":{"operationId":"get_games","summary":"One game","description":"404 if there is no game with this id in your workspace. In a stable order; page with cursor.","tags":["Your games"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per minute (60).","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute ends (Unix time, seconds).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Game"}}}}}},"400":{"description":"A query parameter isn't valid (invalid_parameter).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or the key is invalid or revoked (missing_api_key, invalid_api_key, revoked_api_key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace is paused: its trial or paid year has ended (workspace_paused).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Your plan doesn't include the API (plan_without_api).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not in your workspace, or no such id (not_found).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 60 requests in a minute (rate_limited). Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait.","schema":{"type":"integer"}}}}}}},"/deals":{"get":{"operationId":"list_deals","summary":"Deals and their current status","description":" In a stable order; page with cursor.","tags":["Deals and their current status"],"parameters":[{"name":"status","in":"query","required":false,"description":"Only these statuses, comma-separated (e.g. broken,near).","schema":{"type":"string","description":"Comma-separated: ok, near, broken, unverifiable, not_started, ended"}},{"name":"lobby_id","in":"query","required":false,"description":"Only this lobby.","schema":{"type":"string","format":"uuid"}},{"name":"game_id","in":"query","required":false,"description":"Only this game (an id from /games).","schema":{"type":"string","format":"uuid"}},{"name":"limit","in":"query","required":false,"description":"Items per page, 1–200 (default 50).","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per minute (60).","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute ends (Unix time, seconds).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","next_cursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Deal"}},"next_cursor":{"type":["string","null"],"description":"Pass it as cursor to get the next page; null on the last page."}}}}}},"400":{"description":"A query parameter isn't valid (invalid_parameter).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or the key is invalid or revoked (missing_api_key, invalid_api_key, revoked_api_key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace is paused: its trial or paid year has ended (workspace_paused).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Your plan doesn't include the API (plan_without_api).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 60 requests in a minute (rate_limited). Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait.","schema":{"type":"integer"}}}}}}},"/deals/{id}":{"get":{"operationId":"get_deals","summary":"One deal","description":"404 if there is no deal with this id in your workspace. In a stable order; page with cursor.","tags":["Deals and their current status"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per minute (60).","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute ends (Unix time, seconds).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Deal"}}}}}},"400":{"description":"A query parameter isn't valid (invalid_parameter).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or the key is invalid or revoked (missing_api_key, invalid_api_key, revoked_api_key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace is paused: its trial or paid year has ended (workspace_paused).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Your plan doesn't include the API (plan_without_api).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not in your workspace, or no such id (not_found).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 60 requests in a minute (rate_limited). Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait.","schema":{"type":"integer"}}}}}}},"/placements":{"get":{"operationId":"list_placements","summary":"Where your games stand now","description":" In a stable order; page with cursor.","tags":["Where your games stand now"],"parameters":[{"name":"lobby_id","in":"query","required":false,"description":"Only this lobby.","schema":{"type":"string","format":"uuid"}},{"name":"section_id","in":"query","required":false,"description":"Only this section.","schema":{"type":"string","format":"uuid"}},{"name":"game_id","in":"query","required":false,"description":"Only this game (an id from /games).","schema":{"type":"string","format":"uuid"}},{"name":"device","in":"query","required":false,"description":"mobile or desktop.","schema":{"type":"string","enum":["mobile","desktop"]}},{"name":"view","in":"query","required":false,"description":"guest or logged_in.","schema":{"type":"string","enum":["guest","logged_in"]}},{"name":"limit","in":"query","required":false,"description":"Items per page, 1–200 (default 50).","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per minute (60).","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute ends (Unix time, seconds).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","next_cursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Placement"}},"next_cursor":{"type":["string","null"],"description":"Pass it as cursor to get the next page; null on the last page."}}}}}},"400":{"description":"A query parameter isn't valid (invalid_parameter).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or the key is invalid or revoked (missing_api_key, invalid_api_key, revoked_api_key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace is paused: its trial or paid year has ended (workspace_paused).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Your plan doesn't include the API (plan_without_api).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 60 requests in a minute (rate_limited). Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait.","schema":{"type":"integer"}}}}}}},"/placements/history":{"get":{"operationId":"list_placement_history","summary":"Position changes","description":" Newest first.","tags":["Position changes"],"parameters":[{"name":"from","in":"query","required":false,"description":"Only changes at or after this time (ISO 8601, e.g. 2026-11-01 or 2026-11-01T09:00:00Z).","schema":{"type":"string"}},{"name":"to","in":"query","required":false,"description":"Only changes before this time (ISO 8601).","schema":{"type":"string"}},{"name":"lobby_id","in":"query","required":false,"description":"Only this lobby.","schema":{"type":"string","format":"uuid"}},{"name":"section_id","in":"query","required":false,"description":"Only this section.","schema":{"type":"string","format":"uuid"}},{"name":"game_id","in":"query","required":false,"description":"Only this game (an id from /games).","schema":{"type":"string","format":"uuid"}},{"name":"device","in":"query","required":false,"description":"mobile or desktop.","schema":{"type":"string","enum":["mobile","desktop"]}},{"name":"view","in":"query","required":false,"description":"guest or logged_in.","schema":{"type":"string","enum":["guest","logged_in"]}},{"name":"limit","in":"query","required":false,"description":"Items per page, 1–200 (default 50).","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per minute (60).","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute ends (Unix time, seconds).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","next_cursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PlacementChange"}},"next_cursor":{"type":["string","null"],"description":"Pass it as cursor to get the next page; null on the last page."}}}}}},"400":{"description":"A query parameter isn't valid (invalid_parameter).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or the key is invalid or revoked (missing_api_key, invalid_api_key, revoked_api_key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace is paused: its trial or paid year has ended (workspace_paused).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Your plan doesn't include the API (plan_without_api).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 60 requests in a minute (rate_limited). Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait.","schema":{"type":"integer"}}}}}}},"/events":{"get":{"operationId":"list_events","summary":"Events","description":" Newest first.","tags":["Events"],"parameters":[{"name":"type","in":"query","required":false,"description":"Only these event types, comma-separated (e.g. deal_broken,deal_near).","schema":{"type":"string","description":"Comma-separated: game_appeared, game_disappeared, entered_first_screen, left_first_screen, moved, deal_broken, deal_near, deal_restored, lobby_unreachable, lobby_restored, release_live"}},{"name":"severity","in":"query","required":false,"description":"info or critical.","schema":{"type":"string","enum":["info","critical"]}},{"name":"lobby_id","in":"query","required":false,"description":"Only this lobby.","schema":{"type":"string","format":"uuid"}},{"name":"game_id","in":"query","required":false,"description":"Only this game (an id from /games).","schema":{"type":"string","format":"uuid"}},{"name":"deal_id","in":"query","required":false,"description":"Only events about this deal.","schema":{"type":"string","format":"uuid"}},{"name":"from","in":"query","required":false,"description":"Only events at or after this time (ISO 8601, e.g. 2026-11-01 or 2026-11-01T09:00:00Z).","schema":{"type":"string"}},{"name":"to","in":"query","required":false,"description":"Only events before this time (ISO 8601).","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Items per page, 1–200 (default 50).","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per minute (60).","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute ends (Unix time, seconds).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","next_cursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"next_cursor":{"type":["string","null"],"description":"Pass it as cursor to get the next page; null on the last page."}}}}}},"400":{"description":"A query parameter isn't valid (invalid_parameter).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or the key is invalid or revoked (missing_api_key, invalid_api_key, revoked_api_key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace is paused: its trial or paid year has ended (workspace_paused).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Your plan doesn't include the API (plan_without_api).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 60 requests in a minute (rate_limited). Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait.","schema":{"type":"integer"}}}}}}},"/events/{id}":{"get":{"operationId":"get_events","summary":"One event","description":"404 if there is no event with this id in your workspace. Newest first.","tags":["Events"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per minute (60).","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute ends (Unix time, seconds).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Event"}}}}}},"400":{"description":"A query parameter isn't valid (invalid_parameter).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or the key is invalid or revoked (missing_api_key, invalid_api_key, revoked_api_key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace is paused: its trial or paid year has ended (workspace_paused).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Your plan doesn't include the API (plan_without_api).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not in your workspace, or no such id (not_found).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 60 requests in a minute (rate_limited). Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait.","schema":{"type":"integer"}}}}}}},"/screenshots":{"get":{"operationId":"list_screenshots","summary":"Screenshots","description":" Newest first.","tags":["Screenshots"],"parameters":[{"name":"lobby_id","in":"query","required":false,"description":"Only this lobby.","schema":{"type":"string","format":"uuid"}},{"name":"section_id","in":"query","required":false,"description":"Only this section.","schema":{"type":"string","format":"uuid"}},{"name":"device","in":"query","required":false,"description":"mobile or desktop.","schema":{"type":"string","enum":["mobile","desktop"]}},{"name":"view","in":"query","required":false,"description":"guest or logged_in.","schema":{"type":"string","enum":["guest","logged_in"]}},{"name":"from","in":"query","required":false,"description":"Only frames at or after this time (ISO 8601, e.g. 2026-11-01 or 2026-11-01T09:00:00Z).","schema":{"type":"string"}},{"name":"to","in":"query","required":false,"description":"Only frames before this time (ISO 8601).","schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"description":"Items per page, 1–200 (default 50).","schema":{"type":"integer","minimum":1,"maximum":200,"default":50}},{"name":"cursor","in":"query","required":false,"description":"next_cursor from the previous page.","schema":{"type":"string"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per minute (60).","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute ends (Unix time, seconds).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["data","next_cursor"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Screenshot"}},"next_cursor":{"type":["string","null"],"description":"Pass it as cursor to get the next page; null on the last page."}}}}}},"400":{"description":"A query parameter isn't valid (invalid_parameter).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or the key is invalid or revoked (missing_api_key, invalid_api_key, revoked_api_key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace is paused: its trial or paid year has ended (workspace_paused).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Your plan doesn't include the API (plan_without_api).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 60 requests in a minute (rate_limited). Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait.","schema":{"type":"integer"}}}}}}},"/screenshots/{id}":{"get":{"operationId":"get_screenshots","summary":"One screenshot","description":"404 if there is no screenshot with this id in your workspace. Newest first.","tags":["Screenshots"],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","format":"uuid"}}],"responses":{"200":{"description":"OK","headers":{"X-RateLimit-Limit":{"description":"Requests allowed per minute (60).","schema":{"type":"integer"}},"X-RateLimit-Remaining":{"description":"Requests left in the current minute.","schema":{"type":"integer"}},"X-RateLimit-Reset":{"description":"When the minute ends (Unix time, seconds).","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"type":"object","required":["data"],"properties":{"data":{"$ref":"#/components/schemas/Screenshot"}}}}}},"400":{"description":"A query parameter isn't valid (invalid_parameter).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"No key, or the key is invalid or revoked (missing_api_key, invalid_api_key, revoked_api_key).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"402":{"description":"The workspace is paused: its trial or paid year has ended (workspace_paused).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"403":{"description":"Your plan doesn't include the API (plan_without_api).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Not in your workspace, or no such id (not_found).","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 60 requests in a minute (rate_limited). Wait Retry-After seconds.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}},"headers":{"Retry-After":{"description":"Seconds to wait.","schema":{"type":"integer"}}}}}}}},"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","description":"A key from Settings → API (lr_live_…)."}},"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["missing_api_key","invalid_api_key","revoked_api_key","plan_without_api","workspace_paused","not_found","method_not_allowed","invalid_parameter","rate_limited","internal_error","api_unavailable"],"description":"Stable code you can match on."},"message":{"type":"string","description":"What went wrong, in plain English."}}}}},"Workspace":{"type":"object","description":"The workspace your key belongs to.","required":["id","name","plan","timezone","created_at","key"],"properties":{"id":{"type":"string","format":"uuid","description":"Id (UUID)."},"name":{"type":"string"},"plan":{"type":"string","enum":["trial","starter","growth","pro","enterprise"]},"timezone":{"type":"string","description":"IANA time zone, e.g. Europe/Berlin."},"created_at":{"type":"string","format":"date-time","description":"When the workspace was created."},"key":{"type":"object","required":["id","name","prefix"],"properties":{"id":{"type":"string","format":"uuid","description":"Id (UUID)."},"name":{"type":"string","description":"The key's name."},"prefix":{"type":"string","description":"First characters of the key, e.g. lr_live_AbCd1234."}}}}},"Lobby":{"type":"object","description":"One casino seen from one country, tracked by your workspace.","required":["id","casino","country","currency","row_size","health","last_checked_at","tracked_since"],"properties":{"id":{"type":"string","format":"uuid","description":"Id (UUID)."},"casino":{"type":"object","required":["id","name","slug","url"],"properties":{"id":{"type":"string","format":"uuid","description":"Id (UUID)."},"name":{"type":"string"},"slug":{"type":"string"},"url":{"type":"string","description":"The casino's website."}}},"country":{"type":"string","description":"ISO 3166-1 alpha-2, e.g. DE."},"currency":{"type":["string","null"],"description":"ISO 4217, e.g. EUR."},"row_size":{"type":"integer","description":"Tiles in one row on mobile."},"health":{"type":"string","enum":["ok","degraded","down"],"description":"ok, degraded (some checks fail) or down (unreachable)."},"last_checked_at":{"type":["string","null"],"format":"date-time","description":"Last check of any section."},"tracked_since":{"type":"string","format":"date-time","description":"When your workspace started tracking it."}}},"Section":{"type":"object","required":["id","lobby_id","key","title","kind","url","sort_order"],"properties":{"id":{"type":"string","format":"uuid","description":"Id (UUID)."},"lobby_id":{"type":"string","format":"uuid","description":"Id (UUID)."},"key":{"type":"string","description":"Stable key, e.g. new, popular, top."},"title":{"type":"string","description":"As the casino names it."},"kind":{"type":"string","enum":["showcase","general"]},"url":{"type":["string","null"]},"sort_order":{"type":"integer","description":"Order in the lobby."}}},"Game":{"type":"object","required":["id","title","slug","studio","catalog_key","released_on","created_at"],"properties":{"id":{"type":"string","format":"uuid","description":"Id (UUID)."},"title":{"type":"string"},"slug":{"type":"string"},"studio":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","format":"uuid","description":"Id (UUID)."},"name":{"type":"string"}}},"catalog_key":{"type":["string","null"],"description":"provider:identifier in our catalog; null until the game is matched."},"released_on":{"type":["string","null"],"format":"date","description":"Release date, if you set one."},"created_at":{"type":"string","format":"date-time","description":"When it was added."}}},"Deal":{"type":"object","description":"An agreed placement and how it stands now.","required":["id","lobby_id","section_key","game_id","device","view","target_position","target_row","currency","starts_on","ends_on","note","source","status","actual_position","actual_row","near_since","last_checked_at","created_at","updated_at"],"properties":{"id":{"type":"string","format":"uuid","description":"Id (UUID)."},"lobby_id":{"type":"string","format":"uuid","description":"Id (UUID)."},"section_key":{"type":"string"},"game_id":{"type":"string","format":"uuid","description":"Id (UUID)."},"device":{"type":"string","enum":["mobile","desktop"]},"view":{"type":"string","enum":["guest","logged_in"]},"target_position":{"type":"integer","description":"Agreed place (for a row deal: the last place of that row)."},"target_row":{"type":["integer","null"],"description":"Agreed row, for row deals."},"currency":{"type":["string","null"]},"starts_on":{"type":"string","format":"date","description":"First day."},"ends_on":{"type":"string","format":"date","description":"Last day."},"note":{"type":["string","null"]},"source":{"type":"string","enum":["form","csv","sheet","api"]},"status":{"type":"string","enum":["ok","near","broken","unverifiable","not_started","ended"],"description":"Current status from the latest check."},"actual_position":{"type":["integer","null"],"description":"Place at the latest check; null if the game was missing."},"actual_row":{"type":["integer","null"],"description":"Row at the latest check."},"near_since":{"type":["string","null"],"format":"date-time","description":"Since when the game has been one row below the deal."},"last_checked_at":{"type":["string","null"],"format":"date-time","description":"Latest check."},"created_at":{"type":"string","format":"date-time","description":"Created."},"updated_at":{"type":"string","format":"date-time","description":"Last changed."}}},"Placement":{"type":"object","description":"Where one of your games stands now in one section, device and view.","required":["id","lobby_id","section_id","section_key","device","view","game_id","catalog_key","position","row","first_seen_at","changed_at","checked_at"],"properties":{"id":{"type":"string","format":"uuid","description":"Id (UUID)."},"lobby_id":{"type":"string","format":"uuid","description":"Id (UUID)."},"section_id":{"type":"string","format":"uuid","description":"Id (UUID)."},"section_key":{"type":"string"},"device":{"type":"string","enum":["mobile","desktop"]},"view":{"type":"string","enum":["guest","logged_in"]},"game_id":{"type":"string","format":"uuid","description":"Your game (see /games)."},"catalog_key":{"type":"string"},"position":{"type":["integer","null"],"description":"Place in the section, 1 = first; null if the game is no longer there."},"row":{"type":["integer","null"],"description":"Row on mobile."},"first_seen_at":{"type":"string","format":"date-time","description":"First seen in this section."},"changed_at":{"type":"string","format":"date-time","description":"Last change of position."},"checked_at":{"type":"string","format":"date-time","description":"Latest check."}}},"PlacementChange":{"type":"object","required":["id","lobby_id","section_id","section_key","device","view","game_id","catalog_key","position","row","previous_position","previous_row","changed_at"],"properties":{"id":{"type":"string","format":"uuid","description":"Id (UUID)."},"lobby_id":{"type":"string","format":"uuid","description":"Id (UUID)."},"section_id":{"type":"string","format":"uuid","description":"Id (UUID)."},"section_key":{"type":"string"},"device":{"type":"string","enum":["mobile","desktop"]},"view":{"type":"string","enum":["guest","logged_in"]},"game_id":{"type":"string","format":"uuid","description":"Your game (see /games)."},"catalog_key":{"type":"string"},"position":{"type":["integer","null"],"description":"New place; null = left the section."},"row":{"type":["integer","null"],"description":"New row."},"previous_position":{"type":["integer","null"],"description":"Place before; null = first time in the section."},"previous_row":{"type":["integer","null"],"description":"Row before."},"changed_at":{"type":"string","format":"date-time","description":"When the change was seen."}}},"Event":{"type":"object","required":["id","type","severity","lobby_id","game_id","deal_id","title","detail","payload","created_at"],"properties":{"id":{"type":"string","format":"uuid","description":"Id (UUID)."},"type":{"type":"string","enum":["game_appeared","game_disappeared","entered_first_screen","left_first_screen","moved","deal_broken","deal_near","deal_restored","lobby_unreachable","lobby_restored","release_live"]},"severity":{"type":"string","enum":["info","critical"]},"lobby_id":{"type":["string","null"],"format":"uuid","description":"Id (UUID)."},"game_id":{"type":["string","null"],"format":"uuid","description":"Id (UUID)."},"deal_id":{"type":["string","null"],"format":"uuid","description":"Id (UUID)."},"title":{"type":"string","description":"One line, as in the app."},"detail":{"type":"string","description":"Plain-words detail."},"payload":{"type":"object","description":"All facts of the event (casino, country, section, positions, …)."},"created_at":{"type":"string","format":"date-time","description":"When it happened."}}},"Screenshot":{"type":"object","description":"A screenshot frame.","required":["id","lobby_id","section_id","section_key","device","view","taken_at","frame_no","width","height","tiles","url","url_expires_at"],"properties":{"id":{"type":"string","format":"uuid","description":"Id (UUID)."},"lobby_id":{"type":"string","format":"uuid","description":"Id (UUID)."},"section_id":{"type":["string","null"],"format":"uuid","description":"null for a full-page frame."},"section_key":{"type":["string","null"]},"device":{"type":"string","enum":["mobile","desktop"]},"view":{"type":"string","enum":["guest","logged_in"]},"taken_at":{"type":"string","format":"date-time","description":"When the frame was taken."},"frame_no":{"type":"integer","description":"Frame number when a section needed several frames (0 = first)."},"width":{"type":"integer","description":"Pixels."},"height":{"type":"integer","description":"Pixels."},"tiles":{"type":"array","description":"Game tiles on the frame: catalog key, title, place and box in pixels.","items":{"type":"object","properties":{"key":{"type":"string"},"title":{"type":"string"},"position":{"type":"integer","description":"Place in the section."},"x":{"type":"number"},"y":{"type":"number"},"w":{"type":"number"},"h":{"type":"number"}}}},"url":{"type":["string","null"],"description":"Link to the image (WebP). Works for 15 minutes; null when the image isn't available."},"url_expires_at":{"type":["string","null"],"format":"date-time","description":"When url stops working."}}}}}}