{"openapi":"3.1.0","info":{"title":"Tax Sale Grid API","description":"Read-only JSON access to the Tax Sale Grid catalog of US property tax sales: verified state rules, county and auction calendars, parcel details, and change events. All responses are UTF-8 JSON with ISO 8601 timestamps, and standard rate limiting applies to unauthenticated traffic.","termsOfService":"https://taxsalegrid.com/terms","contact":{"name":"Tax Sale Grid support","url":"https://taxsalegrid.com/support"},"license":{"name":"Proprietary"},"version":"0.1.0"},"paths":{"/api/analytics/events":{"post":{"tags":["public"],"summary":"Analytics Event","description":"Count one fixed funnel step; 400 when the step is not in the vocabulary.\n\nReads only the ``step`` key and silently ignores every other body key, so a\nparcel id, email or query string sent by a caller is never stored. Stores no\nIP, user id, cookie, session or free text, and sets no cookie.","operationId":"analytics_event_api_analytics_events_post","responses":{"204":{"description":"Successful Response"}}}},"/v1/analytics/event":{"post":{"tags":["public"],"summary":"Analytics V1 Event","description":"Count one allowlisted launch-funnel event; always 204, never a body.\n\nReads only the ``event`` key and silently ignores every other body key, so a\nparcel id, email, url or user agent sent by a caller is never stored. An\nunknown event, a malformed body, or the flag being off records nothing but\nstill answers 204, so the beacon cannot probe whether analytics is enabled.\nNo IP, cookie, session or free text is read or stored.","operationId":"analytics_v1_event_v1_analytics_event_post","responses":{"204":{"description":"Successful Response"}}}},"/api/analytics/routes":{"get":{"tags":["public"],"summary":"Analytics Routes","operationId":"analytics_routes_api_analytics_routes_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/api/analytics/summary":{"get":{"tags":["public"],"summary":"Analytics Summary","description":"Aggregate route counters as ``{\"enabled\": true, \"rows\": [...]}``.\n\nRows are ordered day descending then route ascending, matching\n:func:`app.analytics.readout`. The response is capped at the 1000 most recent\nrows so a year of per-route counters cannot become an unbounded payload.\nAn optional ``day=YYYY-MM-DD`` filters to one UTC day; a malformed value is\nrejected with 422 by FastAPI.","operationId":"analytics_summary_api_analytics_summary_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"day","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Optional UTC day to filter to, as YYYY-MM-DD.","title":"Day"},"description":"Optional UTC day to filter to, as YYYY-MM-DD."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/analytics/funnel":{"get":{"tags":["public"],"summary":"Analytics Funnel","description":"Aggregate funnel counters as ``{\"enabled\": true, \"rows\": [...]}``.\n\nRows are ordered day descending then step ascending, matching\n:func:`app.analytics.read_funnel`. The response is capped at the 1000 most\nrecent rows. An optional ``day=YYYY-MM-DD`` filters to one UTC day; a\nmalformed value is rejected with 422 by FastAPI.","operationId":"analytics_funnel_api_analytics_funnel_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"day","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Optional UTC day to filter to, as YYYY-MM-DD.","title":"Day"},"description":"Optional UTC day to filter to, as YYYY-MM-DD."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/analytics/funnel":{"get":{"tags":["public"],"summary":"Analytics Funnel","description":"Aggregate funnel counts for a day window as ``{\"days\", \"steps\"}``.\n\n``days`` is clamped to 1..90 rather than rejected. The window ends on ``day``\n(today in UTC when omitted), so ``days=1`` means just that day. Read-only.","operationId":"analytics_funnel_v1_analytics_funnel_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"day","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"description":"Last UTC day in the window, as YYYY-MM-DD.","title":"Day"},"description":"Last UTC day in the window, as YYYY-MM-DD."},{"name":"days","in":"query","required":false,"schema":{"type":"integer","description":"Window length in days, clamped to 1..90.","default":1,"title":"Days"},"description":"Window length in days, clamped to 1..90."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/waitlist":{"post":{"tags":["public"],"summary":"Join Waitlist","operationId":"join_waitlist_waitlist_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WaitlistIn"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/feedback":{"post":{"tags":["public"],"summary":"Submit Feedback","operationId":"submit_feedback_feedback_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedbackIn"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/saved-searches":{"get":{"tags":["public"],"summary":"List Saved Searches","operationId":"list_saved_searches_saved_searches_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["public"],"summary":"Create Saved Search","operationId":"create_saved_search_saved_searches_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SavedSearchIn"}}},"required":true},"responses":{"201":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/saved-searches/{search_id}":{"delete":{"tags":["public"],"summary":"Delete Saved Search","operationId":"delete_saved_search_saved_searches__search_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"search_id","in":"path","required":true,"schema":{"type":"integer","title":"Search Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/alerts":{"get":{"tags":["public"],"summary":"List Alerts","description":"The caller's saved searches, each with a ``new_matches`` parcel count.\n\nGated by ``ALERTS_ENABLED`` (off by default): until an operator turns it on\nthe endpoint answers an empty list and runs no matcher. The count is the\nmatcher's SQL twin (:func:`count_saved_search_matches`), executed as an\naggregate query per search so current parcels are never loaded into Python.","operationId":"list_alerts_me_alerts_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/alerts/unsubscribe":{"post":{"tags":["public"],"summary":"Unsubscribe Alerts","operationId":"unsubscribe_alerts_alerts_unsubscribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertUnsubscribeIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/me/alerts/preferences":{"get":{"tags":["public"],"summary":"Get Alert Preferences","operationId":"get_alert_preferences_me_alerts_preferences_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["public"],"summary":"Update Alert Preferences","operationId":"update_alert_preferences_me_alerts_preferences_post","requestBody":{"content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/AlertPreferencesIn"},{"type":"null"}],"title":"Body"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/me/export":{"get":{"tags":["public"],"summary":"Export Me","description":"Everything the API stores for the signed-in account, as one JSON document.\n\nShape (``saved_searches`` reuses the /saved-searches item shape so an export\nround-trips through the same reader):\n\n    {\"exported_at\": ..., \"account\": {\"id\", \"email\"}, \"plan\": \"free\",\n     \"saved_searches\": [...]}","operationId":"export_me_me_export_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/me/export.csv":{"get":{"tags":["public"],"summary":"Export Me Csv","description":"CSV export is a paid-plan feature; JSON export remains available to Free.","operationId":"export_me_csv_me_export_csv_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}},"security":[{"HTTPBearer":[]}]}},"/me":{"delete":{"tags":["public"],"summary":"Delete Me","description":"Delete the signed-in account's stored data; report how many search rows went.\n\nSaved searches, portfolio items, alerts, alert outbox rows, and digest\nsubscriptions are always removed. The ``billing_accounts`` row goes too,\nunless a Stripe subscription is still active on it; in that case the row is\npseudonymized instead (email dropped, owner replaced with a digest) and the\nStripe customer/subscription IDs are kept for accounting. Idempotent: a\nsecond call deletes nothing and returns ``deleted: 0``. Rows owned by\nanybody else are never in scope.","operationId":"delete_me_me_delete","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/v1/parcels":{"get":{"tags":["public"],"summary":"List Parcels","operationId":"list_parcels_v1_parcels_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"county_fips","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"County Fips"}},{"name":"sale_after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Sale After"}},{"name":"sale_before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Sale Before"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"min_score","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Score"}},{"name":"sort","in":"query","required":false,"schema":{"type":"string","default":"sale_date","title":"Sort"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/parcels/{parcel_id}/explain-score":{"post":{"tags":["public"],"summary":"Explain Parcel Score","description":"Dark AI score explanation: off (503) unless ``AI_ENABLED`` is truthy.\n\nLoads the parcel's stored fields through the same session data access the\nparcel listing uses, asks the injected provider for a plain-English\nexplanation, and returns ``{explanation, model, prompt_version}``. Provider\nfailures map to controlled 502s; a missing parcel keeps the parcel\nendpoints' 404 shape.","operationId":"explain_parcel_score_v1_parcels__parcel_id__explain_score_post","parameters":[{"name":"parcel_id","in":"path","required":true,"schema":{"type":"integer","title":"Parcel Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/search":{"get":{"tags":["public"],"summary":"Search Listings","operationId":"search_listings_v1_search_get","parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"county","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"County"}},{"name":"sale_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sale Type"}},{"name":"sale_after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Sale After"}},{"name":"sale_before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Sale Before"}},{"name":"min_bid","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"title":"Min Bid"}},{"name":"max_bid","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"title":"Max Bid"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Listing status filter: 'upcoming' (default), 'past', or specific status like 'sold'","title":"Status"},"description":"Listing status filter: 'upcoming' (default), 'past', or specific status like 'sold'"},{"name":"include_past","in":"query","required":false,"schema":{"type":"boolean","description":"Set True to include past listings","default":false,"title":"Include Past"},"description":"Set True to include past listings"},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/listings/export.csv":{"get":{"tags":["public"],"summary":"Export Listings Csv","description":"Bulk CSV of the same rows ``/v1/search`` returns.\n\nSame filters and range validation (via :func:`search_listing_rows`). The\nendpoint requires a paid plan (Investor or Pro); admins are also allowed.\nColumns follow :data:`CSV_COLUMNS` as an intentional subset of the JSON\nsearch fields. The row budget defaults to ``EXPORT_DEFAULT_LIMIT`` and a\nlarger ``limit`` is clamped to ``EXPORT_MAX_LIMIT`` so one request cannot\ndump the database.","operationId":"export_listings_csv_api_listings_export_csv_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"county","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"County"}},{"name":"sale_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sale Type"}},{"name":"sale_after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Sale After"}},{"name":"sale_before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Sale Before"}},{"name":"min_bid","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"title":"Min Bid"}},{"name":"max_bid","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"title":"Max Bid"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"include_past","in":"query","required":false,"schema":{"type":"boolean","default":false,"title":"Include Past"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","minimum":1,"default":500,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ai/search":{"get":{"tags":["public"],"summary":"Ai Search","description":"Dark natural-language search: off (503) unless ``AI_ENABLED`` is truthy.\n\nAsks the injected provider to translate ``q`` into the *existing* filter\nvocabulary of ``GET /v1/search`` and echoes the result back as\n``{query, filters, model, prompt_version}``. It runs no query of its own, so\nthe caller passes the returned filters to ``/v1/search`` unchanged. Model\noutput that is missing, unparseable or fails the schema is a 422 and a\nprovider failure a 502: both clean JSON bodies, never a stack trace.","operationId":"ai_search_v1_ai_search_get","parameters":[{"name":"q","in":"query","required":true,"schema":{"type":"string","minLength":1,"maxLength":500,"description":"Natural-language search request, e.g. 'tax liens in Florida under $5,000'.","title":"Q"},"description":"Natural-language search request, e.g. 'tax liens in Florida under $5,000'."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NLSearchResponse"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/listings":{"get":{"tags":["public"],"summary":"List Listings","operationId":"list_listings_v1_listings_get","parameters":[{"name":"auction_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Auction Id"}},{"name":"fips","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fips"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Status"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":200,"minimum":1,"default":50,"title":"Limit"}},{"name":"cursor","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Cursor"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/changes":{"get":{"tags":["public"],"summary":"List Changes","operationId":"list_changes_v1_changes_get","parameters":[{"name":"since","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Since"}},{"name":"fips","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fips"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"event","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/otc-liens":{"get":{"tags":["public"],"summary":"List Otc Lien Availability","operationId":"list_otc_lien_availability_v1_otc_liens_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"availability","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Availability"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":200,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/OtcLienAvailabilityOut"},"title":"Response List Otc Lien Availability V1 Otc Liens Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tiles/{z}/{x}/{y}.mvt":{"get":{"tags":["public"],"summary":"Get Tile","operationId":"get_tile_tiles__z___x___y__mvt_get","parameters":[{"name":"z","in":"path","required":true,"schema":{"type":"integer","title":"Z"}},{"name":"x","in":"path","required":true,"schema":{"type":"integer","title":"X"}},{"name":"y","in":"path","required":true,"schema":{"type":"integer","title":"Y"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/sources/health":{"get":{"tags":["health"],"summary":"Sources Health","operationId":"sources_health_sources_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sources/qa":{"get":{"tags":["health"],"summary":"Get Qa Dashboard","description":"Internal QA dashboard: view_qa permission (401 without a token, 403 otherwise).","operationId":"get_qa_dashboard_sources_qa_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/healthz":{"get":{"tags":["health"],"summary":"Healthz","description":"Liveness: the process is up. No dependency is contacted.","operationId":"healthz_healthz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/readyz":{"get":{"tags":["health"],"summary":"Readyz","description":"Readiness: the database answers. 503 when it does not.","operationId":"readyz_readyz_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/health/details":{"get":{"tags":["health"],"summary":"Health Details","description":"Build revision, database reachability and the last successful ingest.","operationId":"health_details_api_health_details_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/sources/runs/health":{"get":{"tags":["health"],"summary":"Get Sources Health","operationId":"get_sources_health_sources_runs_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/internal/source-health":{"get":{"tags":["health"],"summary":"Get Internal Source Health","description":"Internal unhealthy-source list: view_qa permission, same auth as /sources/qa.","operationId":"get_internal_source_health_api_internal_source_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/admin/ingest/live":{"get":{"tags":["admin"],"summary":"Ingest Live","description":"Live status for the most recent (or requested) refresh pool run (view_ingest).","operationId":"ingest_live_admin_ingest_live_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"run_id","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Run Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/billing/me":{"get":{"tags":["billing"],"summary":"Billing Me","operationId":"billing_me_billing_me_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/billing/checkout":{"post":{"tags":["billing"],"summary":"Create Checkout","operationId":"create_checkout_billing_checkout_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CheckoutIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/billing/portal":{"post":{"tags":["billing"],"summary":"Create Portal","operationId":"create_portal_billing_portal_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/billing/webhook":{"post":{"tags":["billing"],"summary":"Stripe Webhook","operationId":"stripe_webhook_billing_webhook_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/digest/subscribe":{"post":{"tags":["public"],"summary":"Subscribe","operationId":"subscribe_digest_subscribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DigestSubscribeIn"}}},"required":true},"responses":{"202":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/digest/confirm":{"post":{"tags":["public"],"summary":"Confirm","operationId":"confirm_digest_confirm_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DigestTokenIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/digest/unsubscribe":{"post":{"tags":["public"],"summary":"Unsubscribe","operationId":"unsubscribe_digest_unsubscribe_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DigestTokenIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/digest/archive":{"get":{"tags":["public"],"summary":"Archive","operationId":"archive_digest_archive_get","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":104,"minimum":1,"default":52,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/digest/archive/{week_start}":{"get":{"tags":["public"],"summary":"Archive Week","operationId":"archive_week_digest_archive__week_start__get","parameters":[{"name":"week_start","in":"path","required":true,"schema":{"type":"string","format":"date","title":"Week Start"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/overages":{"get":{"tags":["public"],"summary":"List Overages","operationId":"list_overages_overages_get","parameters":[{"name":"county_fips","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"County Fips"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/overages":{"get":{"tags":["public"],"summary":"List Overages","operationId":"list_overages_api_overages_get","parameters":[{"name":"county_fips","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"County Fips"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":500,"minimum":1,"default":100,"title":"Limit"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/portfolio":{"get":{"tags":["public"],"summary":"List Portfolio","description":"The signed-in caller's watchlist, newest first.","operationId":"list_portfolio_api_portfolio_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]},"post":{"tags":["public"],"summary":"Add Portfolio Item","description":"Watch a parcel; repeat calls for the same parcel are a no-op.\n\nReturns ``201`` the first time and ``200`` with the existing id afterwards,\nso a retry never creates a duplicate row.","operationId":"add_portfolio_item_api_portfolio_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PortfolioItemIn"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}},"security":[{"HTTPBearer":[]}]}},"/api/portfolio/{item_id}":{"delete":{"tags":["public"],"summary":"Delete Portfolio Item","description":"Remove one of the caller's items; 404 when it is not theirs (or absent).","operationId":"delete_portfolio_item_api_portfolio__item_id__delete","security":[{"HTTPBearer":[]}],"parameters":[{"name":"item_id","in":"path","required":true,"schema":{"type":"integer","title":"Item Id"}}],"responses":{"204":{"description":"Successful Response"},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/ai/status":{"get":{"tags":["public"],"summary":"Ai Status","description":"Whether AI is enabled/configured and which model would be used.","operationId":"ai_status_v1_ai_status_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/auctions.ics":{"get":{"tags":["public"],"summary":"Auctions Ics","description":"Public feed of upcoming sales; read-only and safe to poll.","operationId":"auctions_ics_auctions_ics_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/records-requests":{"get":{"tags":["admin"],"summary":"List Requests","operationId":"list_requests_admin_records_requests_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"HTTPBearer":[]}]}},"/admin/records-requests/{request_id}/status":{"post":{"tags":["admin"],"summary":"Update Status","operationId":"update_status_admin_records_requests__request_id__status_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"request_id","in":"path","required":true,"schema":{"type":"string","title":"Request Id"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StatusIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users":{"get":{"tags":["admin"],"summary":"List Users","description":"List billing accounts (owner, email, plan, is_admin, permissions).","operationId":"list_users_admin_users_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Case-insensitive email substring.","title":"Q"},"description":"Case-insensitive email substring."},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","description":"Result cap, clamped to 1..200.","default":50,"title":"Limit"},"description":"Result cap, clamped to 1..200."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{owner}/permissions":{"post":{"tags":["admin"],"summary":"Set Permission","description":"Grant or revoke one permission for an account; idempotent.","operationId":"set_permission_admin_users__owner__permissions_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"owner","in":"path","required":true,"schema":{"type":"string","title":"Owner"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PermissionIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/{owner}/admin":{"post":{"tags":["admin"],"summary":"Set Admin Flag","description":"Set or clear the is_admin flag; only an is_admin superuser may change it.","operationId":"set_admin_flag_admin_users__owner__admin_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"owner","in":"path","required":true,"schema":{"type":"string","title":"Owner"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminFlagIn"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/admin/users/audit":{"get":{"tags":["admin"],"summary":"List Audit","description":"Recent admin audit log rows, newest first.","operationId":"list_audit_admin_users_audit_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","description":"Recent rows, clamped to 1..1000.","default":100,"title":"Limit"},"description":"Recent rows, clamped to 1..1000."}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/saved-copy/{snapshot_id}/link":{"post":{"tags":["saved copies"],"summary":"Create Saved Copy Link","operationId":"create_saved_copy_link_v1_saved_copy__snapshot_id__link_post","security":[{"HTTPBearer":[]}],"parameters":[{"name":"snapshot_id","in":"path","required":true,"schema":{"type":"integer","title":"Snapshot Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/saved-copy/download":{"get":{"tags":["saved copies"],"summary":"Download Saved Copy","operationId":"download_saved_copy_v1_saved_copy_download_get","security":[{"HTTPBearer":[]}],"parameters":[{"name":"token","in":"query","required":true,"schema":{"type":"string","title":"Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"tags":["health"],"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/states":{"get":{"tags":["public"],"summary":"List States","operationId":"list_states_states_get","parameters":[{"name":"confidence","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confidence"}},{"name":"sale_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sale Type"}},{"name":"max_redemption_months","in":"query","required":false,"schema":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Max Redemption Months"}},{"name":"min_interest_pct","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Interest Pct"}},{"name":"sale_type_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sale Type Code"}},{"name":"interest_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Interest Type"}},{"name":"bid_method_code","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bid Method Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StateOut"},"title":"Response List States States Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/states/{code}":{"get":{"tags":["public"],"summary":"Get State","operationId":"get_state_states__code__get","parameters":[{"name":"code","in":"path","required":true,"schema":{"type":"string","title":"Code"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StateOut"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/counties":{"get":{"tags":["public"],"summary":"List Counties","operationId":"list_counties_counties_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"platform","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":5000,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CountyOut"},"title":"Response List Counties Counties Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/counties/{fips}":{"get":{"tags":["public"],"summary":"Get County","operationId":"get_county_counties__fips__get","parameters":[{"name":"fips","in":"path","required":true,"schema":{"type":"string","title":"Fips"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CountyDetail"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/platforms":{"get":{"tags":["public"],"summary":"List Platforms","operationId":"list_platforms_platforms_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PlatformSummary"},"type":"array","title":"Response List Platforms Platforms Get"}}}}}}},"/platforms/{platform}":{"get":{"tags":["public"],"summary":"Get Platform","operationId":"get_platform_platforms__platform__get","parameters":[{"name":"platform","in":"path","required":true,"schema":{"type":"string","title":"Platform"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PlatformOut"},"title":"Response Get Platform Platforms  Platform  Get"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auctions":{"get":{"tags":["public"],"summary":"List Auctions","operationId":"list_auctions_auctions_get","parameters":[{"name":"upcoming","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Upcoming"}},{"name":"status","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Auction status filter: 'upcoming' (default), 'past' (held/concluded), or 'all'","title":"Status"},"description":"Auction status filter: 'upcoming' (default), 'past' (held/concluded), or 'all'"},{"name":"include_past","in":"query","required":false,"schema":{"type":"boolean","description":"Set True to include past auctions","default":false,"title":"Include Past"},"description":"Set True to include past auctions"},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"query","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"}},{"name":"sale_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sale Type"}},{"name":"sale_after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Sale After"}},{"name":"sale_before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Sale Before"}},{"name":"min_bid","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"title":"Min Bid"}},{"name":"max_bid","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"title":"Max Bid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/map/counties":{"get":{"tags":["public"],"summary":"Map Counties","description":"Return one row per mapped county; the map never downloads every auction row.\n\nTakes the same filters as `GET /auctions` (the table), applied by the same helper, so\nthe map and the table always agree on which sales match.","operationId":"map_counties_v1_map_counties_get","parameters":[{"name":"upcoming","in":"query","required":false,"schema":{"type":"boolean","default":true,"title":"Upcoming"}},{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}},{"name":"query","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"}},{"name":"sale_type","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sale Type"}},{"name":"sale_after","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Sale After"}},{"name":"sale_before","in":"query","required":false,"schema":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Sale Before"}},{"name":"min_bid","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"title":"Min Bid"}},{"name":"max_bid","in":"query","required":false,"schema":{"anyOf":[{"type":"number","minimum":0},{"type":"null"}],"title":"Max Bid"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/map/coverage":{"get":{"tags":["public"],"summary":"Map Coverage","description":"One row per county with the status of its official source, for map coverage shading.\n\n`coverage` is the existing `source_status` label for the county's configured source, or\n`no_source` when the adapter registry has no source for the county yet.","operationId":"map_coverage_v1_map_coverage_get","parameters":[{"name":"state","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/auctions/{auction_id}":{"get":{"tags":["public"],"summary":"Get Auction","operationId":"get_auction_auctions__auction_id__get","parameters":[{"name":"auction_id","in":"path","required":true,"schema":{"type":"integer","title":"Auction Id"}},{"name":"items_limit","in":"query","required":false,"schema":{"anyOf":[{"type":"integer","maximum":100000,"minimum":0},{"type":"null"}],"description":"Cap the items array; 0 returns the summary only","title":"Items Limit"},"description":"Cap the items array; 0 returns the summary only"}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/parcels":{"get":{"tags":["public"],"summary":"List Parcels","operationId":"list_parcels_parcels_get","parameters":[{"name":"fips","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fips"}},{"name":"q","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/parcels/{parcel_id}":{"get":{"tags":["public"],"summary":"Get Parcel","operationId":"get_parcel_parcels__parcel_id__get","parameters":[{"name":"parcel_id","in":"path","required":true,"schema":{"type":"integer","title":"Parcel Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/changes":{"get":{"tags":["public"],"summary":"List Changes","operationId":"list_changes_changes_get","parameters":[{"name":"fips","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fips"}},{"name":"event","in":"query","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event"}},{"name":"limit","in":"query","required":false,"schema":{"type":"integer","maximum":1000,"minimum":1,"default":100,"title":"Limit"}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","minimum":0,"default":0,"title":"Offset"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}}},"components":{"schemas":{"AdminFlagIn":{"properties":{"is_admin":{"type":"boolean","title":"Is Admin"}},"type":"object","required":["is_admin"],"title":"AdminFlagIn"},"AlertPreferencesIn":{"properties":{"alerts_enabled":{"type":"boolean","title":"Alerts Enabled"}},"type":"object","required":["alerts_enabled"],"title":"AlertPreferencesIn"},"AlertUnsubscribeIn":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"AlertUnsubscribeIn"},"CheckoutIn":{"properties":{"plan":{"type":"string","title":"Plan"},"cadence":{"type":"string","title":"Cadence","default":"monthly"}},"type":"object","required":["plan"],"title":"CheckoutIn"},"Citation":{"properties":{"cite":{"type":"string","title":"Cite"},"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"quote":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Quote"}},"type":"object","required":["cite"],"title":"Citation"},"CountyDetail":{"properties":{"fips":{"type":"string","title":"Fips"},"state_code":{"type":"string","title":"State Code"},"name":{"type":"string","title":"Name"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"},"auction_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auction Url"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"collector_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Collector Url"},"check_frequency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Check Frequency"},"health":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Health"},"confidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confidence"},"last_success_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Success At"},"upcoming_sales":{"type":"integer","title":"Upcoming Sales","default":0},"listed_parcels":{"type":"integer","title":"Listed Parcels","default":0},"state":{"$ref":"#/components/schemas/StateOut"},"platforms":{"items":{"$ref":"#/components/schemas/PlatformOut"},"type":"array","title":"Platforms"}},"type":"object","required":["fips","state_code","name","platform","auction_url","source_url","collector_url","check_frequency","health","confidence","state","platforms"],"title":"CountyDetail"},"CountyOut":{"properties":{"fips":{"type":"string","title":"Fips"},"state_code":{"type":"string","title":"State Code"},"name":{"type":"string","title":"Name"},"platform":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Platform"},"auction_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auction Url"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"collector_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Collector Url"},"check_frequency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Check Frequency"},"health":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Health"},"confidence":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Confidence"},"last_success_at":{"anyOf":[{"type":"string","format":"date-time"},{"type":"null"}],"title":"Last Success At"},"upcoming_sales":{"type":"integer","title":"Upcoming Sales","default":0},"listed_parcels":{"type":"integer","title":"Listed Parcels","default":0}},"type":"object","required":["fips","state_code","name","platform","auction_url","source_url","collector_url","check_frequency","health","confidence"],"title":"CountyOut"},"DigestSubscribeIn":{"properties":{"email":{"type":"string","title":"Email"}},"type":"object","required":["email"],"title":"DigestSubscribeIn"},"DigestTokenIn":{"properties":{"token":{"type":"string","title":"Token"}},"type":"object","required":["token"],"title":"DigestTokenIn"},"FeedbackIn":{"properties":{"message":{"type":"string","title":"Message"},"email":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Email"},"page_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Page Url"}},"type":"object","required":["message"],"title":"FeedbackIn"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"InterestScheduleEntry":{"properties":{"from_month":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"From Month"},"to_month":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"To Month"},"rate_pct":{"type":"number","title":"Rate Pct"},"label":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Label"}},"type":"object","required":["rate_pct"],"title":"InterestScheduleEntry"},"NLSearchFilters":{"properties":{"q":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Q"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"county":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"County"},"sale_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sale Type"},"sale_after":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Sale After"},"sale_before":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Sale Before"},"min_bid":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Min Bid"},"max_bid":{"anyOf":[{"type":"number","minimum":0.0},{"type":"null"}],"title":"Max Bid"}},"type":"object","title":"NLSearchFilters","description":"Filters the model may fill, mirroring ``GET /v1/search``'s parameters.\n\nEvery field is optional: an omitted filter stays ``None``, which is exactly\nwhat \"the user did not mention it\" means to :func:`search_listing_rows`.\nTypes and bounds match the search endpoint (``min_bid``/``max_bid`` are\n``ge=0``, dates are ISO ``YYYY-MM-DD``), so the translated filters can be\npassed straight back to ``GET /v1/search``."},"NLSearchResponse":{"properties":{"query":{"type":"string","title":"Query"},"filters":{"$ref":"#/components/schemas/NLSearchFilters"},"model":{"type":"string","title":"Model","default":""},"prompt_version":{"type":"string","title":"Prompt Version"}},"type":"object","required":["query","filters","prompt_version"],"title":"NLSearchResponse","description":"Translated search: the request, the filters, and what produced them."},"OtcLienAvailabilityOut":{"properties":{"id":{"type":"integer","title":"Id"},"state_code":{"type":"string","title":"State Code"},"fips":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fips"},"source_id":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Id"},"availability":{"type":"string","title":"Availability","default":"unknown"},"availability_window":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Availability Window"},"citation":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Citation"},"citation_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Citation Url"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"}},"type":"object","required":["id","state_code"],"title":"OtcLienAvailabilityOut"},"PermissionIn":{"properties":{"permission":{"type":"string","title":"Permission"},"granted":{"type":"boolean","title":"Granted"}},"type":"object","required":["permission","granted"],"title":"PermissionIn"},"PlatformOut":{"properties":{"id":{"type":"integer","title":"Id"},"state_code":{"type":"string","title":"State Code"},"county_name":{"type":"string","title":"County Name"},"fips":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Fips"},"platform":{"type":"string","title":"Platform"},"auction_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Auction Url"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["id","state_code","county_name","fips","platform","auction_url","source_url","note"],"title":"PlatformOut"},"PlatformSummary":{"properties":{"platform":{"type":"string","title":"Platform"},"listings":{"type":"integer","title":"Listings"},"states":{"items":{"type":"string"},"type":"array","title":"States"}},"type":"object","required":["platform","listings","states"],"title":"PlatformSummary"},"PortfolioItemIn":{"properties":{"parcel_id":{"type":"integer","exclusiveMinimum":0.0,"title":"Parcel Id"},"note":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Note"}},"type":"object","required":["parcel_id"],"title":"PortfolioItemIn"},"RedemptionException":{"properties":{"property_class":{"type":"string","title":"Property Class"},"months":{"type":"integer","title":"Months"}},"type":"object","required":["property_class","months"],"title":"RedemptionException"},"SavedSearchIn":{"properties":{"name":{"type":"string","title":"Name"},"query":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Query"},"state":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"State"},"county_fips":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"County Fips"},"sale_after":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Sale After"},"sale_before":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Sale Before"},"min_min_bid":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Min Min Bid"},"max_min_bid":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Max Min Bid"},"sale_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sale Type"}},"type":"object","required":["name"],"title":"SavedSearchIn"},"StateOut":{"properties":{"code":{"type":"string","title":"Code"},"sale_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sale Type"},"interest_or_penalty":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Interest Or Penalty"},"redemption_period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redemption Period"},"bid_method":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bid Method"},"typical_sale_months":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Typical Sale Months"},"source_url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Source Url"},"confidence":{"type":"string","title":"Confidence"},"notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notes"},"verified_on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"Verified On"},"citations":{"anyOf":[{"additionalProperties":{"type":"string"},"type":"object"},{"type":"null"}],"title":"Citations"},"rules":{"anyOf":[{"$ref":"#/components/schemas/StateRulesOut"},{"type":"null"}]},"county_count":{"type":"integer","title":"County Count","default":0}},"type":"object","required":["code","sale_type","interest_or_penalty","redemption_period","bid_method","typical_sale_months","source_url","confidence","notes","verified_on","citations"],"title":"StateOut"},"StateRulesOut":{"properties":{"sale_type_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sale Type Code"},"redemption_months":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Redemption Months"},"redemption_start":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Redemption Start"},"redemption_exceptions":{"anyOf":[{"items":{"$ref":"#/components/schemas/RedemptionException"},"type":"array"},{"type":"null"}],"title":"Redemption Exceptions"},"notice_days":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Notice Days"},"interest_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Interest Type"},"interest_rate_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Interest Rate Pct"},"interest_max_pct":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Interest Max Pct"},"interest_period":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Interest Period"},"interest_schedule":{"anyOf":[{"items":{"$ref":"#/components/schemas/InterestScheduleEntry"},"type":"array"},{"type":"null"}],"title":"Interest Schedule"},"bid_method_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Bid Method Code"},"sale_frequency":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Sale Frequency"},"sale_months":{"anyOf":[{"items":{"type":"integer"},"type":"array"},{"type":"null"}],"title":"Sale Months"},"rule_citations":{"anyOf":[{"additionalProperties":{"$ref":"#/components/schemas/Citation"},"type":"object"},{"type":"null"}],"title":"Rule Citations"},"rules_notes":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Rules Notes"}},"type":"object","title":"StateRulesOut"},"StatusIn":{"properties":{"status":{"type":"string","title":"Status"},"on":{"anyOf":[{"type":"string","format":"date"},{"type":"null"}],"title":"On"}},"type":"object","required":["status"],"title":"StatusIn"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WaitlistIn":{"properties":{"email":{"type":"string","title":"Email"},"role":{"type":"string","title":"Role"},"plan":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Plan"},"company":{"anyOf":[{"type":"string","maxLength":255},{"type":"null"}],"title":"Company"},"use_case":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}],"title":"Use Case"},"volume":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Volume"}},"type":"object","required":["email","role"],"title":"WaitlistIn"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}},"tags":[{"name":"health","description":"Liveness and readiness probes used by monitors."},{"name":"public","description":"Public records search and reference endpoints."},{"name":"billing","description":"Subscription checkout, customer portal and webhook endpoints."},{"name":"admin","description":"Operator-only records request review endpoints."},{"name":"saved copies","description":"Tokenized links and downloads for saved listing snapshots."}]}