{
 "service": "Affabl data service",
 "what": "Maintained public data for AI: versioned collections citing source records. Keyed API host; no data here.",
 "no_key_needed_for": [
  "GET /",
  "GET /openapi.json",
  "https://affabl.ai/examples/ny-facility-medicare-crosswalk"
 ],
 "key": {
  "header": "Authorization: Bearer <key>",
  "also": "X-Api-Key",
  "how_to_get_one": "API access is by invitation during the pilot. To request a key, email adam@affabl.ai. You can explore this example without a key.",
  "without_a_key": "401 ACCESS_DENIED"
 },
 "guide": {
  "current": "v9",
  "sha256": "fec394cd599569de2cbb31421c45cef1a97155534693336eb7cf6333384dfd28",
  "named": "/guide/<name>: v1 (frozen), v2, v3, v4, v5, v6, v7, v8, v9"
 },
 "start_here": [
  "GET /guide (no key): agent guide",
  "GET /v1/me (key, 0 units): entitlements & entitled_join_pairs",
  "GET /openapi.json: REST routes",
  "GET /v1/collections (needs a key): ids; ?task=<q>&include=compact",
  "GET /v1/collections/<id>?keys=download,mcp,joins,freshness",
  "https://affabl.ai/examples/ny-facility-medicare-crosswalk: a page, not an API route and not a collection id"
 ],
 "fast_paths": {
  "compact_query": "POST /v1/query response_view:\"compact\"; narrow 1-2 scalar fields limit<=1000 (128 KiB cap)",
  "one_call": "POST /v1/joins/<recipe>/roster; GET /v1/collections/<id>/as-of; POST /v1/collections/<id>/changes/records"
 },
 "download_a_release": "POST /v1/exports {\"operation\":\"release_package\",\"collection\":\"<id>\",\"view\":\"lean\"}; add \"files\":[<paths>] for URLs; run `verify`; if the storage host is not reachable: GET /v1/jobs/<job_id>/files/<path> with your key (one file, size-capped, 1 unit per 1,000,000 bytes)",
 "keep_a_copy_up_to_date": "GET /v1/collections/<id>/changes?since_release=<rel>; local-sync-client (affabl_sync.py install, check-updates, apply) or sdk-client via tool_package",
 "mcp": {
  "endpoint": "POST /mcp",
  "method": "POST only (GET answers 405)",
  "transport": "Streamable HTTP, stateless",
  "key": "Authorization: Bearer",
  "instructions": "describe_collection(detail=full), its key `mcp`: connect an MCP client"
 }
}
