Inspection history
get_inspection_historyGet the inspection history (dates, scores/grades/results, and violations where published) for one restaurant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | "nyc" (New York City, New York, US), "sf" (San Francisco, California, US), "la" (Los Angeles County, California, US), "las_vegas" (Las Vegas, Clark County, Nevada, US), "chicago" (Chicago, Illinois, US), "boston" (Boston, Massachusetts, US), "austin" (Austin, Texas, US), "santa_clara" (Santa Clara County, San Jose & Silicon Valley, California, US), "marin" (Marin County, California, US), "sacramento" (Sacramento County, California, US), "raleigh" (Raleigh / Wake County, North Carolina, US), "louisville" (Louisville, Kentucky, US), "detroit" (Detroit, Michigan, US), "cincinnati" (Cincinnati, Ohio, US), "ny_state" (New York State, Rochester, Syracuse, Albany, Westchester, Nassau & more (not NYC)), "omaha" (Omaha / Douglas County, Nebraska, US), "fairfax" (Fairfax County, Northern Virginia, US), "uk" (London & the UK, England, Wales, Scotland & Northern Ireland), "toronto" (Toronto, Ontario, Canada), "france" (Paris & France, Nationwide, France) | |
| restaurant_id | Yes | The `id` from search_restaurants (nyc: NYC CAMIS number; sf: SF permit number; la: LA record id like PR0012345; las_vegas: Southern Nevada permit number; chicago: Chicago license number; boston: Boston license number; austin: Austin facility id; santa_clara: Santa Clara business id like PR0300002; marin: Marin business id; sacramento: Sacramento facility id like FA0001195; raleigh: Wake County HSISID; louisville: Louisville establishment id; detroit: Detroit establishment id; cincinnati: Cincinnati license number like FSO-013375-C4S; ny_state: NYS health operation id; omaha: Douglas County permit number like FS-68561-25; fairfax: Fairfax record id like HFOOD-000009369; uk: FHRS id; toronto: DineSafe establishment id; france: Alim'confiance unit code like 43485195200433_00001). | |
| max_inspections | No | Max inspections to return, newest first (default 10). |