{"openapi":"3.0.3","info":{"title":"Foobos: Boston, Denver, San Francisco, Nashville and New York concerts and comedy","version":"1.5.0","description":"Public read-only concert and comedy listings for Boston (default), Denver (city=denver), San Francisco (city=sanfrancisco), Nashville (city=nashville) and New York (city=newyork), for assistants (Claude, ChatGPT, Muse). Authentication: none. No cookie, no API key, no admin or HQ bearer, no personalized For You. Dates are local to the city (America/New_York, America/Denver, America/Los_Angeles, America/Chicago). Always cite `url` (app deep link `/e/?id=`). Do not rewrite to /event/. Lists are paginated: limit (default 20, max 50) and offset; every list returns total. Do not request the full tonight/weekend/picks blob — tonight alone is ~174 shows. Tool routing for Muse / ChatGPT / Claude: “what should I see?” / “what’s good” / featured → GET /api/agent/v1/picks or MCP list_picks (omit collection for catalog + featured/popular). Not For You. date night / romantic / nice night out → list_picks collection=date_night (optionally + search date=). Do not use sort=popular alone. big names / popular → list_picks collection=popular. local / underrated → local_scene (or local_bands / under_the_radar). kids → tots_picks. older crowd → senior (Boomer). Scott/Tot/foobos staff → those keys. “what’s free tonight?” → tonight?free=true or MCP shows_free (or curated free_tonight). “comedy this week?” → search?event_type=comedy. Comedy is event_type / finder ty=c, not a genre tag. Curated Top Comedy is list_picks collection=comedy. jazz / rock / latin / folk / … → search?genre= (finder mega `g`). Example: genre=latin&date=2026-10-15. Do not invent tags. “shows at [venue]” / an artist name / a date → GET /api/agent/v1/search or MCP search_shows. Tonight/weekend default sort is evening (evening + upcoming), not brunch-first chrono. Pass sort=time|evening|popular. MCP at /api/agent/mcp is Streamable HTTP (accepted versions: 2025-11-25, 2025-03-26, 2025-06-18, 2024-11-05). JSON-RPC POST without Streamable Accept stays as the Muse custom-connector fallback. 2026-07-28 is the next hop (no sessions). One show by id → GET /api/agent/v1/shows/{id} (MCP get_show). Themed hand-made lists → /guides (list_guides, get_guide). Rate limit: 60 requests / 60 seconds / IP. 429 includes Retry-After and X-RateLimit-* headers."},"servers":[{"url":"https://foobos.net"}],"security":[],"paths":{"/api/agent/v1":{"get":{"summary":"Discovery","operationId":"agentIndex","security":[],"parameters":[{"$ref":"#/components/parameters/Via"}],"responses":{"200":{"description":"Endpoint index","headers":{"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Discovery"}}}},"429":{"description":"Rate limited (60 requests / 60 seconds / IP).","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present on 429.","schema":{"type":"integer","example":60}},"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"ok":false,"error":"Rate limited","retry_after":60}}}}}}},"/api/agent/v1/health":{"get":{"summary":"Liveness probe","operationId":"agentHealth","security":[],"responses":{"200":{"description":"ok + version","headers":{"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Health"},"example":{"ok":true,"version":"1.5.0"}}}},"429":{"description":"Rate limited (60 requests / 60 seconds / IP).","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present on 429.","schema":{"type":"integer","example":60}},"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"ok":false,"error":"Rate limited","retry_after":60}}}}}}},"/api/agent/v1/tonight":{"get":{"summary":"Shows tonight and the next two days","description":"America/New_York today + next two days. Default sort=evening (evening + upcoming first). For “what’s free tonight?” pass free=true (or call MCP shows_free). For “what should I see?” do not use this list — call list_picks. Always cite `url` (`/e/?id=`). Do not rewrite to /event/. Paginated: default 20, max 50, always includes total (~174 tonight unfiltered).","operationId":"showsTonight","security":[],"parameters":[{"$ref":"#/components/parameters/City"},{"$ref":"#/components/parameters/City"},{"$ref":"#/components/parameters/Via"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Free"},{"$ref":"#/components/parameters/IsFree"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/EventType"},{"$ref":"#/components/parameters/Genre"},{"$ref":"#/components/parameters/Genres"},{"$ref":"#/components/parameters/Area"},{"$ref":"#/components/parameters/MaxPrice"},{"$ref":"#/components/parameters/AllAges"},{"$ref":"#/components/parameters/Mbta"},{"$ref":"#/components/parameters/IsNew"},{"$ref":"#/components/parameters/MaxCapacity"},{"$ref":"#/components/parameters/MinCapacity"},{"$ref":"#/components/parameters/Intimate"},{"$ref":"#/components/parameters/Large"}],"responses":{"200":{"description":"Paginated show list","headers":{"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShowPage"},"example":{"ok":true,"timezone":"America/New_York","today":"2026-08-06","window":{"start":"2026-08-06","end":"2026-08-08"},"via":"muse","sort":"evening","limit":20,"offset":0,"total":174,"shows":[{"id":"showtonight01","date":"2026-08-06","time":"8pm","start_time":{"hour":20,"minute":0},"artists":[{"name":"Mötley Crüe","url":"https://foobos.net/artist/motley-crue?utm_source=muse&utm_medium=assistant&utm_campaign=connector"}],"venue":"Paradise Rock Club","venue_id":"paradise","venue_location":"Boston","venue_url":"https://foobos.net/venue/paradise-rock-club?utm_source=muse&utm_medium=assistant&utm_campaign=connector","neighborhood":"Boston University","area":"allston_brighton","price_display":"$25","price":25,"is_free":false,"age_requirement":"18+","genres":["rock"],"mbta":true,"is_new":false,"venue_capacity":933,"is_festival":false,"festival_name":null,"url":"https://foobos.net/e/?id=showtonight01&utm_source=muse&utm_medium=assistant&utm_campaign=connector"}]}}}},"429":{"description":"Rate limited (60 requests / 60 seconds / IP).","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present on 429.","schema":{"type":"integer","example":60}},"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"ok":false,"error":"Rate limited","retry_after":60}}}},"503":{"description":"Listings cache unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"ok":false,"error":"Listings unavailable"}}}}}}},"/api/agent/v1/weekend":{"get":{"summary":"Shows this Friday through Sunday","description":"Remaining or upcoming Fri–Sun. Default sort=evening. free=true and event_type=comedy are the same filters as tonight/search.","operationId":"showsWeekend","security":[],"parameters":[{"$ref":"#/components/parameters/City"},{"$ref":"#/components/parameters/City"},{"$ref":"#/components/parameters/Via"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Free"},{"$ref":"#/components/parameters/IsFree"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/EventType"},{"$ref":"#/components/parameters/Genre"},{"$ref":"#/components/parameters/Genres"},{"$ref":"#/components/parameters/Area"},{"$ref":"#/components/parameters/MaxPrice"},{"$ref":"#/components/parameters/AllAges"},{"$ref":"#/components/parameters/Mbta"},{"$ref":"#/components/parameters/IsNew"},{"$ref":"#/components/parameters/MaxCapacity"},{"$ref":"#/components/parameters/MinCapacity"},{"$ref":"#/components/parameters/Intimate"},{"$ref":"#/components/parameters/Large"}],"responses":{"200":{"description":"Paginated show list","headers":{"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShowPage"}}}},"429":{"description":"Rate limited (60 requests / 60 seconds / IP).","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present on 429.","schema":{"type":"integer","example":60}},"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"ok":false,"error":"Rate limited","retry_after":60}}}},"503":{"description":"Listings cache unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"ok":false,"error":"Listings unavailable"}}}}}}},"/api/agent/v1/search":{"get":{"summary":"Search shows by artist, venue, date, genre, free, or comedy","description":"Use for “shows at [venue]”, an artist name, a date or date range, a genre (latin, jazz, rock…), “comedy this week?”, or free listings outside tonight. Artist is a case/accent-insensitive substring of billed names. Venue accepts id, id_variant, slug, or name substring. date is a single YYYY-MM-DD; date_from/date_to are an inclusive range. Unset dates default to upcoming (today onward). genre=/genres= is the finder mega-category (`g`). Example: genre=latin&date=2026-10-15. Comedy is event_type, not a genre. Always cite `url` (`/e/?id=`). Do not rewrite to /event/. Paginated: default 20, max 50, always includes total.","operationId":"searchShows","security":[],"parameters":[{"$ref":"#/components/parameters/City"},{"$ref":"#/components/parameters/Via"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Offset"},{"$ref":"#/components/parameters/Free"},{"$ref":"#/components/parameters/IsFree"},{"$ref":"#/components/parameters/Sort"},{"$ref":"#/components/parameters/EventType"},{"$ref":"#/components/parameters/Genre"},{"$ref":"#/components/parameters/Genres"},{"$ref":"#/components/parameters/Area"},{"$ref":"#/components/parameters/MaxPrice"},{"$ref":"#/components/parameters/AllAges"},{"$ref":"#/components/parameters/Mbta"},{"$ref":"#/components/parameters/IsNew"},{"$ref":"#/components/parameters/MaxCapacity"},{"$ref":"#/components/parameters/MinCapacity"},{"$ref":"#/components/parameters/Intimate"},{"$ref":"#/components/parameters/Large"},{"name":"artist","in":"query","description":"Artist substring. Example: Peña matches Chance Peña. Alias: q.","schema":{"type":"string"},"example":"Peña"},{"name":"q","in":"query","description":"Alias of artist (Muse prompts that pass a single name).","schema":{"type":"string"}},{"name":"venue","in":"query","description":"Venue id, variant, slug, or name substring. Example: paradise, paradise_rock_club, Sinclair.","schema":{"type":"string"},"example":"paradise"},{"name":"date","in":"query","description":"Exact YYYY-MM-DD (America/New_York). Overrides date_from/date_to.","schema":{"type":"string","format":"date"},"example":"2026-08-07"},{"name":"date_from","in":"query","description":"Inclusive range start YYYY-MM-DD. Default today when no date is set.","schema":{"type":"string","format":"date"}},{"name":"date_to","in":"query","description":"Inclusive range end YYYY-MM-DD. Omit for open-ended upcoming.","schema":{"type":"string","format":"date"}}],"responses":{"200":{"description":"Paginated search hits","headers":{"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShowPage"},"example":{"ok":true,"timezone":"America/New_York","today":"2026-08-06","via":"muse","sort":"time","query":{"artist":"Peña","venue":null,"date_from":"2026-08-07","date_to":"2026-08-07","free":null,"event_type":null,"genre":null},"limit":20,"offset":0,"total":1,"shows":[{"id":"showtonight01","date":"2026-08-06","time":"8pm","start_time":{"hour":20,"minute":0},"artists":[{"name":"Mötley Crüe","url":"https://foobos.net/artist/motley-crue?utm_source=muse&utm_medium=assistant&utm_campaign=connector"}],"venue":"Paradise Rock Club","venue_id":"paradise","venue_location":"Boston","venue_url":"https://foobos.net/venue/paradise-rock-club?utm_source=muse&utm_medium=assistant&utm_campaign=connector","neighborhood":"Boston University","area":"allston_brighton","price_display":"$25","price":25,"is_free":false,"age_requirement":"18+","genres":["rock"],"mbta":true,"is_new":false,"venue_capacity":933,"is_festival":false,"festival_name":null,"url":"https://foobos.net/e/?id=showtonight01&utm_source=muse&utm_medium=assistant&utm_campaign=connector"}]}}}},"429":{"description":"Rate limited (60 requests / 60 seconds / IP).","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present on 429.","schema":{"type":"integer","example":60}},"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"ok":false,"error":"Rate limited","retry_after":60}}}},"503":{"description":"Listings cache unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"ok":false,"error":"Listings unavailable"}}}}}}},"/api/agent/v1/venues":{"get":{"summary":"Venues with upcoming shows, or one venue when id is set","operationId":"listVenues","security":[],"parameters":[{"$ref":"#/components/parameters/City"},{"$ref":"#/components/parameters/Via"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Offset"},{"name":"id","in":"query","schema":{"type":"string"},"description":"Venue id, variant, or slug"}],"responses":{"200":{"description":"Venue list or detail","headers":{"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VenueListOrDetail"}}}},"404":{"description":"Unknown path or venue.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"ok":false,"error":"Venue not found"}}}},"429":{"description":"Rate limited (60 requests / 60 seconds / IP).","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present on 429.","schema":{"type":"integer","example":60}},"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"ok":false,"error":"Rate limited","retry_after":60}}}},"503":{"description":"Listings cache unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"ok":false,"error":"Listings unavailable"}}}}}}},"/api/agent/v1/venues/{id}":{"get":{"summary":"One venue and its upcoming shows","operationId":"getVenue","security":[],"parameters":[{"$ref":"#/components/parameters/City"},{"$ref":"#/components/parameters/Via"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Offset"},{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Venue id, variant, or slug"}],"responses":{"200":{"description":"Venue detail","headers":{"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VenueDetail"}}}},"404":{"description":"Unknown path or venue.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"ok":false,"error":"Venue not found"}}}},"429":{"description":"Rate limited (60 requests / 60 seconds / IP).","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present on 429.","schema":{"type":"integer","example":60}},"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"ok":false,"error":"Rate limited","retry_after":60}}}},"503":{"description":"Listings cache unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"ok":false,"error":"Listings unavailable"}}}}}}},"/api/agent/v1/picks":{"get":{"summary":"Public editorial picks (not personalized)","description":"Use this for “what should I see?”, “what’s good”, “featured”, “date night”, or any public curated list. Omit collection= to get `available` (id + title + counts for every public key) plus the default featured+popular pages. collection= addresses one public key: featured, popular, date_night, local_scene, local_bands, under_the_radar, comedy, jazz, foobos, scotts_picks, tots_picks, senior, free_tonight, punk, weeknight_gems, st_patricks. Date night / romantic / nice night out → date_night (do not use sort=popular alone). Not personalized For You — there is no account on this API. Each pick copies editorial `why` / `label` when the curated row has one. Always cite `url` (`/e/?id=`). Do not rewrite to /event/.","operationId":"listPicks","security":[],"parameters":[{"$ref":"#/components/parameters/City"},{"$ref":"#/components/parameters/Via"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Offset"},{"name":"collection","in":"query","schema":{"type":"string","enum":["featured","popular","date_night","local_scene","local_bands","under_the_radar","comedy","jazz","foobos","scotts_picks","tots_picks","senior","free_tonight","punk","weeknight_gems","st_patricks"]},"description":"One public curated key. Omit for available catalog + featured/popular default set."}],"responses":{"200":{"description":"Public picks","headers":{"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Picks"}}}},"429":{"description":"Rate limited (60 requests / 60 seconds / IP).","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present on 429.","schema":{"type":"integer","example":60}},"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"ok":false,"error":"Rate limited","retry_after":60}}}},"503":{"description":"Listings cache unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"ok":false,"error":"Listings unavailable"}}}}}}},"/api/agent/v1/openapi.json":{"get":{"summary":"This OpenAPI document","operationId":"openapi","security":[],"responses":{"200":{"description":"OpenAPI 3.0","content":{"application/json":{"schema":{"type":"object"}}}},"429":{"description":"Rate limited (60 requests / 60 seconds / IP).","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present on 429.","schema":{"type":"integer","example":60}},"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"ok":false,"error":"Rate limited","retry_after":60}}}}}}},"/api/agent/mcp":{"get":{"summary":"MCP discovery (Streamable HTTP; JSON tool list). Accept: text/event-stream only → 405 (no standalone GET SSE).","operationId":"mcpDiscover","security":[],"responses":{"200":{"description":"Tool list","headers":{"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/McpDiscovery"}}}},"405":{"description":"No standalone GET SSE stream (Workers-friendly; path toward 2026-07-28)."},"429":{"description":"Rate limited (60 requests / 60 seconds / IP).","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present on 429.","schema":{"type":"integer","example":60}},"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"ok":false,"error":"Rate limited","retry_after":60}}}}}},"post":{"summary":"Streamable HTTP MCP (initialize, tools/list, tools/call). JSON-RPC fallback when Accept is not both application/json and text/event-stream.","operationId":"mcpRpc","security":[],"parameters":[{"name":"MCP-Protocol-Version","in":"header","required":false,"schema":{"type":"string","enum":["2025-11-25","2025-03-26","2025-06-18","2024-11-05"]},"description":"Spoken versions: 2025-11-25, 2025-03-26, 2025-06-18, 2024-11-05. Omitted header assumes 2025-03-26 (except initialize, which negotiates). 2026-07-28 is the next hop and returns 400."},{"name":"Accept","in":"header","required":false,"schema":{"type":"string"},"description":"Streamable clients send application/json, text/event-stream. JSON-only Accept keeps the Muse JSON-RPC fallback. Read tools reply as application/json; SSE is optional."},{"name":"Mcp-Method","in":"header","required":false,"schema":{"type":"string"},"description":"Optional today. When present it must match the JSON-RPC method (path toward 2026-07-28)."},{"name":"Mcp-Name","in":"header","required":false,"schema":{"type":"string"},"description":"Optional today. When present on tools/call it must match params.name."}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonRpcRequest"},"example":{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"shows_tonight","arguments":{"limit":20,"offset":0,"via":"muse"}}}}}},"responses":{"200":{"description":"JSON-RPC result (application/json by default). Tool results use structuredContent plus a short text summary — never a full-list dump. SSE (text/event-stream) only when Accept is event-stream and not JSON.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonRpcResponse"}},"text/event-stream":{"schema":{"type":"string"}}}},"202":{"description":"Notification accepted (Streamable HTTP). Empty body."},"400":{"description":"Parse / invalid request / unsupported MCP-Protocol-Version / header mismatch","content":{"application/json":{"schema":{"$ref":"#/components/schemas/JsonRpcResponse"}}}},"429":{"description":"Rate limited (60 requests / 60 seconds / IP).","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present on 429.","schema":{"type":"integer","example":60}},"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"ok":false,"error":"Rate limited","retry_after":60}}}},"503":{"description":"Listings cache unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"ok":false,"error":"Listings unavailable"}}}}}}},"/api/agent/v1/shows/{id}":{"get":{"summary":"One show by id, either city","description":"For “tell me more”: the bill, time, price, ages, sold out, the night's note, and the room. Past shows answer with past=true.","operationId":"getShow","security":[],"parameters":[{"$ref":"#/components/parameters/Via"},{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Show id (the id= of a foobos.net/e/ link)."}],"responses":{"200":{"description":"One show and its venue","headers":{"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShowDetail"}}}},"404":{"description":"Unknown path or venue.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"ok":false,"error":"Venue not found"}}}},"429":{"description":"Rate limited (60 requests / 60 seconds / IP).","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present on 429.","schema":{"type":"integer","example":60}},"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"ok":false,"error":"Rate limited","retry_after":60}}}},"503":{"description":"Listings cache unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"ok":false,"error":"Listings unavailable"}}}}}}},"/api/agent/v1/guides":{"get":{"summary":"Hand-made guides (themed lists) in one city","description":"Themed lists like Rare Shows or Cool New Shows, each with a curator and intro. Then GET /guides/{id}.","operationId":"listGuides","security":[],"parameters":[{"$ref":"#/components/parameters/City"},{"$ref":"#/components/parameters/Via"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Offset"}],"responses":{"200":{"description":"Paginated guides","headers":{"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GuidePage"}}}},"400":{"description":"Unknown city.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"ok":false,"error":"Unknown city: paris"}}}},"429":{"description":"Rate limited (60 requests / 60 seconds / IP).","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present on 429.","schema":{"type":"integer","example":60}},"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"ok":false,"error":"Rate limited","retry_after":60}}}},"503":{"description":"Listings cache unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"ok":false,"error":"Listings unavailable"}}}}}}},"/api/agent/v1/guides/{id}":{"get":{"summary":"One guide and its upcoming shows, curator order","description":"Each show carries the curator's note as `why` when there is one. With no city, the city where the guide has the most shows.","operationId":"getGuide","security":[],"parameters":[{"$ref":"#/components/parameters/City"},{"$ref":"#/components/parameters/Via"},{"$ref":"#/components/parameters/Limit"},{"$ref":"#/components/parameters/Offset"},{"name":"id","in":"path","required":true,"schema":{"type":"string"},"description":"Guide id, e.g. rare-shows."}],"responses":{"200":{"description":"Guide and a page of its shows","headers":{"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShowPage"}}}},"404":{"description":"Unknown path or venue.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"ok":false,"error":"Venue not found"}}}},"429":{"description":"Rate limited (60 requests / 60 seconds / IP).","headers":{"Retry-After":{"description":"Seconds to wait before retrying. Present on 429.","schema":{"type":"integer","example":60}},"X-RateLimit-Limit":{"description":"Max requests per window for this IP.","schema":{"type":"integer","example":60}},"X-RateLimit-Remaining":{"description":"Requests left in the current window.","schema":{"type":"integer","example":59}},"X-RateLimit-Window":{"description":"Window length in seconds.","schema":{"type":"integer","example":60}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RateLimited"},"example":{"ok":false,"error":"Rate limited","retry_after":60}}}},"503":{"description":"Listings cache unavailable.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"},"example":{"ok":false,"error":"Listings unavailable"}}}}}}}},"components":{"securitySchemes":{},"parameters":{"Via":{"name":"via","in":"query","description":"Inbound UTM source tag written onto every Foobos deep link. muse (default), chatgpt, claude, or assistant.","schema":{"type":"string","enum":["muse","chatgpt","claude","assistant"],"default":"muse"}},"Limit":{"name":"limit","in":"query","description":"Page size. Default 20, max 50. Assistants should keep the default — tonight is ~174 shows.","schema":{"type":"integer","minimum":1,"maximum":50,"default":20}},"Offset":{"name":"offset","in":"query","description":"Number of rows to skip. Default 0. Pair with `total` to page.","schema":{"type":"integer","minimum":0,"default":0}},"Free":{"name":"free","in":"query","description":"Filter to free shows (`true`) or paid (`false`). Alias: `is_free`. A show is free when the listing flag is true or a stored price is 0. Use this for “what’s free tonight?” — or call GET /api/agent/v1/search?free=true, or MCP shows_free.","schema":{"type":"boolean"}},"IsFree":{"name":"is_free","in":"query","description":"Alias of `free`. Same truthiness: true/false/1/0/yes/no.","schema":{"type":"boolean"}},"Sort":{"name":"sort","in":"query","description":"Assistant list order. Default `evening` on tonight/weekend/free (evening + upcoming first, not brunch-first chrono). `time` = raw chronological. `popular` = editorial popular/featured picks first, then evening. Does not change `total` — only the page order.","schema":{"type":"string","enum":["time","evening","popular"],"default":"evening"}},"EventType":{"name":"event_type","in":"query","description":"Filter comedy, theatre (plays and musicals) or music. Comedy is the public `event_type` field (`ty=c` on finder.json), theatre is `ty=t`; it is NOT a genre tag (only a fraction of comedy shows carry a comedy tag, and worker-slim has no genre_tags). Use for “comedy this week?”. Omit for mixed listings.","schema":{"type":"string","enum":["music","comedy","theatre"]}},"Genre":{"name":"genre","in":"query","description":"Finder mega-category filter (closed vocab from finder.json `g`): rock, punk, pop, jazz, soul, blues, folk, electronic, hiphop, reggae, classical, latin. Alias: `genres` (comma-separated). hip-hop → hiphop. Joined from finder — worker-slim has no genre_tags. Do not invent tags. Comedy is event_type, not a genre. Example: genre=latin&date=2026-10-15.","schema":{"type":"string","enum":["rock","punk","pop","jazz","soul","blues","folk","electronic","hiphop","reggae","classical","latin"]}},"Genres":{"name":"genres","in":"query","description":"Alias of `genre`. Comma-separated megas (latin,jazz).","schema":{"type":"string"}},"Area":{"name":"area","in":"query","description":"Finder WHERE pill (`w`) or venue neighborhood/location. Aliases: `neighborhood`, `where`. Examples: cambridge, somerville, allston_brighton, fenway_kenmore, jamaica_plain. Unknown neighborhoods fall through to city or `other` — same as finder.","schema":{"type":"string"}},"MaxPrice":{"name":"max_price","in":"query","description":"Numeric price ceiling (finder `pn` / worker advance/door). Free shows pass. Unknown-price listings are excluded (same as finder Under $20). Alias: maxprice.","schema":{"type":"number"}},"AllAges":{"name":"all_ages","in":"query","description":"If true, only all-ages (`a/a`). Alias: ages=allages.","schema":{"type":"boolean"}},"Mbta":{"name":"mbta","in":"query","description":"If true, only MBTA-accessible rooms (finder `mbta` or venues.json mbta_accessible).","schema":{"type":"boolean"}},"IsNew":{"name":"is_new","in":"query","description":"If true, only just-added listings (finder `new`). Omitted on shows with no finder join.","schema":{"type":"boolean"}},"MaxCapacity":{"name":"max_capacity","in":"query","description":"Known venues.json capacity ≤ this. Unknown capacity is excluded. `intimate=true` is a hint alias of max_capacity=500 (not a stored flag).","schema":{"type":"integer"}},"MinCapacity":{"name":"min_capacity","in":"query","description":"Known venues.json capacity ≥ this. large=true is min_capacity=5000 (same as show_size ARENA_CAPACITY).","schema":{"type":"integer"}},"Intimate":{"name":"intimate","in":"query","description":"Hint-only alias of max_capacity=500. Not a stored field — rooms with unknown capacity are excluded.","schema":{"type":"boolean"}},"Large":{"name":"large","in":"query","description":"Hint alias of min_capacity=5000 (foobos/show_size.py ARENA_CAPACITY). Unknown capacity excluded.","schema":{"type":"boolean"}},"City":{"name":"city","in":"query","schema":{"type":"string","enum":["boston","denver","sanfrancisco","nashville","newyork"],"default":"boston"},"description":"boston (default: Boston, Cambridge, Somerville and the rest of Greater Boston, Massachusetts), denver (Denver, Boulder and the Colorado Front Range), sanfrancisco (San Francisco, Oakland, Berkeley and the rest of the Bay Area), nashville (Nashville, Franklin, Murfreesboro and the rest of Middle Tennessee) or newyork (the five boroughs of New York City and the big rooms just outside them). Also accepts a city's short code or common name (bos, den, colorado). Unknown → 400."}},"schemas":{"Error":{"type":"object","required":["ok","error"],"properties":{"ok":{"type":"boolean","enum":[false]},"error":{"type":"string"}}},"RateLimited":{"allOf":[{"$ref":"#/components/schemas/Error"},{"type":"object","properties":{"retry_after":{"type":"integer"}}}]},"Health":{"type":"object","required":["ok","version"],"properties":{"ok":{"type":"boolean","enum":[true]},"version":{"type":"string","example":"1.5.0"}}},"Discovery":{"type":"object","properties":{"ok":{"type":"boolean"},"name":{"type":"string"},"version":{"type":"string"},"timezone":{"type":"string"},"docs":{"type":"string","format":"uri"},"mcp":{"type":"string","format":"uri"},"endpoints":{"type":"object","additionalProperties":{"type":"string"}}}},"StartTime":{"type":"object","nullable":true,"properties":{"hour":{"type":"integer","minimum":0,"maximum":23},"minute":{"type":"integer","minimum":0,"maximum":59}}},"Artist":{"type":"object","required":["name","url"],"properties":{"name":{"type":"string"},"url":{"type":"string","format":"uri","nullable":true,"description":"The act's foobos page. Null for a Denver act (Denver has no artist pages yet)."}}},"Show":{"type":"object","required":["id","date","artists","venue","url","is_free"],"properties":{"id":{"type":"string"},"date":{"type":"string","format":"date"},"time":{"type":"string","nullable":true},"start_time":{"$ref":"#/components/schemas/StartTime"},"artists":{"type":"array","items":{"$ref":"#/components/schemas/Artist"}},"venue":{"type":"string"},"venue_id":{"type":"string"},"venue_location":{"type":"string"},"venue_url":{"type":"string","format":"uri"},"price_display":{"type":"string","nullable":true},"price":{"type":"number","description":"Numeric price from finder `pn` or worker advance/door. Omitted when unknown."},"is_free":{"type":"boolean"},"event_type":{"type":"string","enum":["comedy","magic","theatre"],"description":"Present when the show is comedy (finder ty=c), magic (ty=m) or theatre, a play or a musical (ty=t). Omitted for music — not a genre tag."},"age_requirement":{"type":"string"},"genres":{"type":"array","items":{"type":"string","enum":["rock","punk","pop","jazz","soul","blues","folk","electronic","hiphop","reggae","classical","latin"]},"description":"Finder mega-categories (`g`). Empty when the show has no finder join. Do not invent tags. Comedy is not a genre."},"neighborhood":{"type":"string","description":"venues.json neighborhood when present."},"area":{"type":"string","description":"Finder WHERE pill (`w`) when present."},"mbta":{"type":"boolean","description":"Finder `mbta` or venues.json mbta_accessible when known."},"is_new":{"type":"boolean","description":"Finder `new` (just added). Omitted without a finder join."},"venue_capacity":{"type":"integer","description":"venues.json capacity when known."},"is_festival":{"type":"boolean"},"festival_name":{"type":"string","nullable":true},"url":{"type":"string","format":"uri","description":"App deep link `/e/?id=`. Always cite this. Do not rewrite to /event/."},"why":{"type":"string","description":"Editorial reason from the curated pick when present."},"label":{"type":"string"},"city":{"type":"string","enum":["boston","denver","sanfrancisco","nashville","newyork"],"description":"The listings city this show belongs to."},"sold_out":{"type":"boolean","description":"Present (true) when the room or seller says no tickets are left."},"note":{"type":"string","description":"One line on what is special about this night, when foobos wrote one."},"program":{"type":"string","description":"Classical program headline (works, soloist) when known."},"past":{"type":"boolean","description":"get_show only: the date has passed."}}},"Window":{"type":"object","properties":{"start":{"type":"string","format":"date"},"end":{"type":"string","format":"date"}}},"ShowPage":{"type":"object","required":["ok","limit","offset","total","shows"],"properties":{"ok":{"type":"boolean"},"timezone":{"type":"string"},"today":{"type":"string","format":"date"},"window":{"$ref":"#/components/schemas/Window"},"via":{"type":"string"},"sort":{"type":"string","enum":["time","evening","popular"]},"query":{"type":"object","description":"Echo of search filters when present."},"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer","description":"Full match count, not the page size."},"shows":{"type":"array","items":{"$ref":"#/components/schemas/Show"}}}},"Venue":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string","nullable":true},"location":{"type":"string"},"address":{"type":"string","nullable":true},"neighborhood":{"type":"string","nullable":true},"capacity":{"type":"integer","nullable":true},"website":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"venue_kind":{"type":"string","nullable":true},"bag_policy":{"type":"string","nullable":true},"mbta_accessible":{"type":"boolean"},"mbta_lines":{"type":"array","items":{"type":"string"},"description":"Nearest T stop as written, e.g. \"Red Line, Davis (15 min walk)\"; empty when none is known."},"show_count":{"type":"integer"},"url":{"type":"string","format":"uri"}}},"VenueList":{"type":"object","required":["ok","limit","offset","total","venues"],"properties":{"ok":{"type":"boolean"},"timezone":{"type":"string"},"via":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"count":{"type":"integer","description":"Same as total (Phase 1 name, kept)."},"venues":{"type":"array","items":{"$ref":"#/components/schemas/Venue"}}}},"VenueDetail":{"type":"object","required":["ok","venue","limit","offset","total","shows"],"properties":{"ok":{"type":"boolean"},"timezone":{"type":"string"},"via":{"type":"string"},"venue":{"$ref":"#/components/schemas/Venue"},"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"shows":{"type":"array","items":{"$ref":"#/components/schemas/Show"}}}},"VenueListOrDetail":{"oneOf":[{"$ref":"#/components/schemas/VenueList"},{"$ref":"#/components/schemas/VenueDetail"}]},"PickCollection":{"type":"object","properties":{"updated":{"type":"string","nullable":true},"total":{"type":"integer"},"shows":{"type":"array","items":{"$ref":"#/components/schemas/Show"}}}},"Picks":{"type":"object","properties":{"ok":{"type":"boolean"},"timezone":{"type":"string"},"via":{"type":"string"},"note":{"type":"string"},"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer","description":"Sum of requested collection totals."},"available":{"type":"array","description":"Every public curated collection (id, title, intent, total). For You is never listed.","items":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"intent":{"type":"string"},"total":{"type":"integer"},"updated":{"type":"string","nullable":true}}}},"collections":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/PickCollection"}}}},"McpDiscovery":{"type":"object","properties":{"ok":{"type":"boolean"},"transport":{"type":"string"},"fallback":{"type":"string"},"endpoint":{"type":"string","format":"uri"},"protocol":{"type":"string"},"protocols":{"type":"array","items":{"type":"string"}},"toward":{"type":"string"},"sessions":{"type":"boolean"},"tools":{"type":"array","items":{"type":"object"}}}},"JsonRpcRequest":{"type":"object","properties":{"jsonrpc":{"type":"string","enum":["2.0"]},"id":{},"method":{"type":"string"},"params":{"type":"object"}}},"JsonRpcResponse":{"type":"object","properties":{"jsonrpc":{"type":"string"},"id":{},"result":{"type":"object"},"error":{"type":"object"}}},"Guide":{"type":"object","required":["id","title","curator","total"],"properties":{"id":{"type":"string"},"title":{"type":"string"},"label":{"type":"string"},"intro":{"type":"string","nullable":true},"curator":{"type":"string"},"curator_role":{"type":"string"},"city":{"type":"string","enum":["boston","denver","sanfrancisco","nashville","newyork"]},"total":{"type":"integer","description":"Upcoming shows in this city."}}},"ShowDetail":{"type":"object","required":["ok","show"],"properties":{"ok":{"type":"boolean"},"city":{"type":"string","enum":["boston","denver","sanfrancisco","nashville","newyork"]},"timezone":{"type":"string"},"show":{"$ref":"#/components/schemas/Show"},"venue":{"$ref":"#/components/schemas/Venue"}}},"GuidePage":{"type":"object","required":["ok","limit","offset","total","guides"],"properties":{"ok":{"type":"boolean"},"city":{"type":"string","enum":["boston","denver","sanfrancisco","nashville","newyork"]},"limit":{"type":"integer"},"offset":{"type":"integer"},"total":{"type":"integer"},"guides":{"type":"array","items":{"$ref":"#/components/schemas/Guide"}}}}}}}