{"openapi":"3.1.0","info":{"title":"geolith datasets API","version":"2026-10-22","description":"The published files of a dataset build (rainfall, NDVI) and of its boundary releases.\n\nHosted at https://api.geolith.app. Every dataset file needs the Scale plan: a key of a lower plan gets 403 `plan_required`, before any file is read and without counting against the allowance. Each file request counts as one map tile. Paths outside these shapes answer 404.","contact":{"name":"geolith","email":"contact@geolith.app","url":"https://geolith.app"}},"servers":[{"url":"https://api.geolith.app","description":"geolith cloud"}],"externalDocs":{"description":"Docs","url":"https://docs.geolith.app/datasets/status"},"security":[{"apiKeyQuery":[]},{"bearer":[]}],"paths":{"/v1/datasets/files/{dataset}/{country}/current.json":{"get":{"operationId":"datasetFile1","summary":"One dataset file","description":"The pointer to the current build; rewritten by each build (`Cache-Control: private, max-age=60, must-revalidate`). Scale plan only. Counts as one map tile.","parameters":[{"name":"dataset","in":"path","required":true,"description":"Dataset id (not `boundaries`)","schema":{"type":"string","pattern":"^[a-z]{1,32}$","examples":["rainfall"]}},{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"Range","in":"header","required":false,"description":"One `bytes=` range","schema":{"type":"string","examples":["bytes=0-16383"]}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The whole file","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"206":{"description":"One byte range","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"304":{"description":"Not modified (`If-None-Match` names the ETag)"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"416":{"description":"The range cannot be served"},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}},"head":{"operationId":"datasetFileHead1","summary":"Headers of one dataset file","parameters":[{"name":"dataset","in":"path","required":true,"description":"Dataset id (not `boundaries`)","schema":{"type":"string","pattern":"^[a-z]{1,32}$","examples":["rainfall"]}},{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The headers, with `Content-Length`","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}}},"304":{"description":"Not modified"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}}},"/v1/datasets/files/{dataset}/{country}/{build}/index.json":{"get":{"operationId":"datasetFile2","summary":"One dataset file","description":"`index.json` of a build; a build is never rewritten (`Cache-Control: private, max-age=31536000, immutable`). Scale plan only. Counts as one map tile.","parameters":[{"name":"dataset","in":"path","required":true,"description":"Dataset id (not `boundaries`)","schema":{"type":"string","pattern":"^[a-z]{1,32}$","examples":["rainfall"]}},{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"build","in":"path","required":true,"description":"Build id: the release date and the write instant","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{8}T\\d{4}Z$","examples":["2026-11-10.20261117T1431Z"]}},{"name":"Range","in":"header","required":false,"description":"One `bytes=` range","schema":{"type":"string","examples":["bytes=0-16383"]}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The whole file","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"206":{"description":"One byte range","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"304":{"description":"Not modified (`If-None-Match` names the ETag)"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"416":{"description":"The range cannot be served"},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}},"head":{"operationId":"datasetFileHead2","summary":"Headers of one dataset file","parameters":[{"name":"dataset","in":"path","required":true,"description":"Dataset id (not `boundaries`)","schema":{"type":"string","pattern":"^[a-z]{1,32}$","examples":["rainfall"]}},{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"build","in":"path","required":true,"description":"Build id: the release date and the write instant","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{8}T\\d{4}Z$","examples":["2026-11-10.20261117T1431Z"]}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The headers, with `Content-Length`","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}}},"304":{"description":"Not modified"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}}},"/v1/datasets/files/{dataset}/{country}/{build}/series.json":{"get":{"operationId":"datasetFile3","summary":"One dataset file","description":"`series.json` of a build; a build is never rewritten (`Cache-Control: private, max-age=31536000, immutable`). Scale plan only. Counts as one map tile.","parameters":[{"name":"dataset","in":"path","required":true,"description":"Dataset id (not `boundaries`)","schema":{"type":"string","pattern":"^[a-z]{1,32}$","examples":["rainfall"]}},{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"build","in":"path","required":true,"description":"Build id: the release date and the write instant","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{8}T\\d{4}Z$","examples":["2026-11-10.20261117T1431Z"]}},{"name":"Range","in":"header","required":false,"description":"One `bytes=` range","schema":{"type":"string","examples":["bytes=0-16383"]}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The whole file","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"206":{"description":"One byte range","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"304":{"description":"Not modified (`If-None-Match` names the ETag)"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"416":{"description":"The range cannot be served"},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}},"head":{"operationId":"datasetFileHead3","summary":"Headers of one dataset file","parameters":[{"name":"dataset","in":"path","required":true,"description":"Dataset id (not `boundaries`)","schema":{"type":"string","pattern":"^[a-z]{1,32}$","examples":["rainfall"]}},{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"build","in":"path","required":true,"description":"Build id: the release date and the write instant","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{8}T\\d{4}Z$","examples":["2026-11-10.20261117T1431Z"]}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The headers, with `Content-Length`","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}}},"304":{"description":"Not modified"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}}},"/v1/datasets/files/{dataset}/{country}/{build}/numbers.csv":{"get":{"operationId":"datasetFile4","summary":"One dataset file","description":"`numbers.csv` of a build; a build is never rewritten (`Cache-Control: private, max-age=31536000, immutable`). Scale plan only. Counts as one map tile.","parameters":[{"name":"dataset","in":"path","required":true,"description":"Dataset id (not `boundaries`)","schema":{"type":"string","pattern":"^[a-z]{1,32}$","examples":["rainfall"]}},{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"build","in":"path","required":true,"description":"Build id: the release date and the write instant","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{8}T\\d{4}Z$","examples":["2026-11-10.20261117T1431Z"]}},{"name":"Range","in":"header","required":false,"description":"One `bytes=` range","schema":{"type":"string","examples":["bytes=0-16383"]}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The whole file","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"text/csv; charset=utf-8":{"schema":{"type":"string","format":"binary"}}}},"206":{"description":"One byte range","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"text/csv; charset=utf-8":{"schema":{"type":"string","format":"binary"}}}},"304":{"description":"Not modified (`If-None-Match` names the ETag)"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"416":{"description":"The range cannot be served"},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}},"head":{"operationId":"datasetFileHead4","summary":"Headers of one dataset file","parameters":[{"name":"dataset","in":"path","required":true,"description":"Dataset id (not `boundaries`)","schema":{"type":"string","pattern":"^[a-z]{1,32}$","examples":["rainfall"]}},{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"build","in":"path","required":true,"description":"Build id: the release date and the write instant","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{8}T\\d{4}Z$","examples":["2026-11-10.20261117T1431Z"]}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The headers, with `Content-Length`","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}}},"304":{"description":"Not modified"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}}},"/v1/datasets/files/{dataset}/{country}/{build}/numbers.parquet":{"get":{"operationId":"datasetFile5","summary":"One dataset file","description":"`numbers.parquet` of a build; a build is never rewritten (`Cache-Control: private, max-age=31536000, immutable`). Scale plan only. Counts as one map tile.","parameters":[{"name":"dataset","in":"path","required":true,"description":"Dataset id (not `boundaries`)","schema":{"type":"string","pattern":"^[a-z]{1,32}$","examples":["rainfall"]}},{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"build","in":"path","required":true,"description":"Build id: the release date and the write instant","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{8}T\\d{4}Z$","examples":["2026-11-10.20261117T1431Z"]}},{"name":"Range","in":"header","required":false,"description":"One `bytes=` range","schema":{"type":"string","examples":["bytes=0-16383"]}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The whole file","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"application/vnd.apache.parquet":{"schema":{"type":"string","format":"binary"}}}},"206":{"description":"One byte range","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"application/vnd.apache.parquet":{"schema":{"type":"string","format":"binary"}}}},"304":{"description":"Not modified (`If-None-Match` names the ETag)"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"416":{"description":"The range cannot be served"},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}},"head":{"operationId":"datasetFileHead5","summary":"Headers of one dataset file","parameters":[{"name":"dataset","in":"path","required":true,"description":"Dataset id (not `boundaries`)","schema":{"type":"string","pattern":"^[a-z]{1,32}$","examples":["rainfall"]}},{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"build","in":"path","required":true,"description":"Build id: the release date and the write instant","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{8}T\\d{4}Z$","examples":["2026-11-10.20261117T1431Z"]}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The headers, with `Content-Length`","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}}},"304":{"description":"Not modified"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}}},"/v1/datasets/files/{dataset}/{country}/{build}/tiles.pmtiles":{"get":{"operationId":"datasetFile6","summary":"One dataset file","description":"`tiles.pmtiles` of a build; a build is never rewritten (`Cache-Control: private, max-age=31536000, immutable`). Scale plan only. Counts as one map tile.","parameters":[{"name":"dataset","in":"path","required":true,"description":"Dataset id (not `boundaries`)","schema":{"type":"string","pattern":"^[a-z]{1,32}$","examples":["rainfall"]}},{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"build","in":"path","required":true,"description":"Build id: the release date and the write instant","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{8}T\\d{4}Z$","examples":["2026-11-10.20261117T1431Z"]}},{"name":"Range","in":"header","required":false,"description":"One `bytes=` range","schema":{"type":"string","examples":["bytes=0-16383"]}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The whole file","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"application/vnd.pmtiles":{"schema":{"type":"string","format":"binary"}}}},"206":{"description":"One byte range","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"application/vnd.pmtiles":{"schema":{"type":"string","format":"binary"}}}},"304":{"description":"Not modified (`If-None-Match` names the ETag)"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"416":{"description":"The range cannot be served"},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}},"head":{"operationId":"datasetFileHead6","summary":"Headers of one dataset file","parameters":[{"name":"dataset","in":"path","required":true,"description":"Dataset id (not `boundaries`)","schema":{"type":"string","pattern":"^[a-z]{1,32}$","examples":["rainfall"]}},{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"build","in":"path","required":true,"description":"Build id: the release date and the write instant","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{8}T\\d{4}Z$","examples":["2026-11-10.20261117T1431Z"]}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The headers, with `Content-Length`","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}}},"304":{"description":"Not modified"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}}},"/v1/datasets/files/{dataset}/{country}/{build}/tiles/{period}.pmtiles":{"get":{"operationId":"datasetFile7","summary":"One dataset file","description":"The tile archive of one period of a build. Scale plan only. Counts as one map tile.","parameters":[{"name":"dataset","in":"path","required":true,"description":"Dataset id (not `boundaries`)","schema":{"type":"string","pattern":"^[a-z]{1,32}$","examples":["rainfall"]}},{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"build","in":"path","required":true,"description":"Build id: the release date and the write instant","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{8}T\\d{4}Z$","examples":["2026-11-10.20261117T1431Z"]}},{"name":"period","in":"path","required":true,"description":"Period date","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"Range","in":"header","required":false,"description":"One `bytes=` range","schema":{"type":"string","examples":["bytes=0-16383"]}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The whole file","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"application/vnd.pmtiles":{"schema":{"type":"string","format":"binary"}}}},"206":{"description":"One byte range","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"application/vnd.pmtiles":{"schema":{"type":"string","format":"binary"}}}},"304":{"description":"Not modified (`If-None-Match` names the ETag)"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"416":{"description":"The range cannot be served"},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}},"head":{"operationId":"datasetFileHead7","summary":"Headers of one dataset file","parameters":[{"name":"dataset","in":"path","required":true,"description":"Dataset id (not `boundaries`)","schema":{"type":"string","pattern":"^[a-z]{1,32}$","examples":["rainfall"]}},{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"build","in":"path","required":true,"description":"Build id: the release date and the write instant","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{8}T\\d{4}Z$","examples":["2026-11-10.20261117T1431Z"]}},{"name":"period","in":"path","required":true,"description":"Period date","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The headers, with `Content-Length`","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}}},"304":{"description":"Not modified"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}}},"/v1/datasets/files/{dataset}/{country}/{build}/areas/{area}.json":{"get":{"operationId":"datasetFile8","summary":"One dataset file","description":"The numbers of one area of a build. Scale plan only. Counts as one map tile.","parameters":[{"name":"dataset","in":"path","required":true,"description":"Dataset id (not `boundaries`)","schema":{"type":"string","pattern":"^[a-z]{1,32}$","examples":["rainfall"]}},{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"build","in":"path","required":true,"description":"Build id: the release date and the write instant","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{8}T\\d{4}Z$","examples":["2026-11-10.20261117T1431Z"]}},{"name":"area","in":"path","required":true,"description":"Area id","schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}},{"name":"Range","in":"header","required":false,"description":"One `bytes=` range","schema":{"type":"string","examples":["bytes=0-16383"]}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The whole file","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"206":{"description":"One byte range","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"application/json":{"schema":{"type":"string","format":"binary"}}}},"304":{"description":"Not modified (`If-None-Match` names the ETag)"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"416":{"description":"The range cannot be served"},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}},"head":{"operationId":"datasetFileHead8","summary":"Headers of one dataset file","parameters":[{"name":"dataset","in":"path","required":true,"description":"Dataset id (not `boundaries`)","schema":{"type":"string","pattern":"^[a-z]{1,32}$","examples":["rainfall"]}},{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"build","in":"path","required":true,"description":"Build id: the release date and the write instant","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{8}T\\d{4}Z$","examples":["2026-11-10.20261117T1431Z"]}},{"name":"area","in":"path","required":true,"description":"Area id","schema":{"type":"string","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The headers, with `Content-Length`","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}}},"304":{"description":"Not modified"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}}},"/v1/datasets/files/boundaries/{country}/{release}/areas.pmtiles":{"get":{"operationId":"datasetFile9","summary":"One dataset file","description":"`areas.pmtiles` of a boundary release. Scale plan only. Counts as one map tile.","parameters":[{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"release","in":"path","required":true,"description":"Boundary release, with `-r<N>` when its files were rebuilt","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{1,3}(?:-r[1-9]\\d?)?$"}},{"name":"Range","in":"header","required":false,"description":"One `bytes=` range","schema":{"type":"string","examples":["bytes=0-16383"]}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The whole file","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"application/vnd.pmtiles":{"schema":{"type":"string","format":"binary"}}}},"206":{"description":"One byte range","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"application/vnd.pmtiles":{"schema":{"type":"string","format":"binary"}}}},"304":{"description":"Not modified (`If-None-Match` names the ETag)"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"416":{"description":"The range cannot be served"},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}},"head":{"operationId":"datasetFileHead9","summary":"Headers of one dataset file","parameters":[{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"release","in":"path","required":true,"description":"Boundary release, with `-r<N>` when its files were rebuilt","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{1,3}(?:-r[1-9]\\d?)?$"}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The headers, with `Content-Length`","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}}},"304":{"description":"Not modified"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}}},"/v1/datasets/files/boundaries/{country}/{release}/areas.parquet":{"get":{"operationId":"datasetFile10","summary":"One dataset file","description":"`areas.parquet` of a boundary release. Scale plan only. Counts as one map tile.","parameters":[{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"release","in":"path","required":true,"description":"Boundary release, with `-r<N>` when its files were rebuilt","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{1,3}(?:-r[1-9]\\d?)?$"}},{"name":"Range","in":"header","required":false,"description":"One `bytes=` range","schema":{"type":"string","examples":["bytes=0-16383"]}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The whole file","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"application/vnd.apache.parquet":{"schema":{"type":"string","format":"binary"}}}},"206":{"description":"One byte range","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"application/vnd.apache.parquet":{"schema":{"type":"string","format":"binary"}}}},"304":{"description":"Not modified (`If-None-Match` names the ETag)"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"416":{"description":"The range cannot be served"},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}},"head":{"operationId":"datasetFileHead10","summary":"Headers of one dataset file","parameters":[{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"release","in":"path","required":true,"description":"Boundary release, with `-r<N>` when its files were rebuilt","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{1,3}(?:-r[1-9]\\d?)?$"}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The headers, with `Content-Length`","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}}},"304":{"description":"Not modified"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}}},"/v1/datasets/files/boundaries/{country}/{release}/LICENSE.txt":{"get":{"operationId":"datasetFile11","summary":"One dataset file","description":"`LICENSE.txt` of a boundary release. Scale plan only. Counts as one map tile.","parameters":[{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"release","in":"path","required":true,"description":"Boundary release, with `-r<N>` when its files were rebuilt","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{1,3}(?:-r[1-9]\\d?)?$"}},{"name":"Range","in":"header","required":false,"description":"One `bytes=` range","schema":{"type":"string","examples":["bytes=0-16383"]}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The whole file","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"text/plain; charset=utf-8":{"schema":{"type":"string","format":"binary"}}}},"206":{"description":"One byte range","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}},"content":{"text/plain; charset=utf-8":{"schema":{"type":"string","format":"binary"}}}},"304":{"description":"Not modified (`If-None-Match` names the ETag)"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"416":{"description":"The range cannot be served"},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}},"head":{"operationId":"datasetFileHead11","summary":"Headers of one dataset file","parameters":[{"name":"country","in":"path","required":true,"description":"Country code","schema":{"type":"string","pattern":"^[a-z]{2}$","examples":["in"]}},{"name":"release","in":"path","required":true,"description":"Boundary release, with `-r<N>` when its files were rebuilt","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}\\.\\d{1,3}(?:-r[1-9]\\d?)?$"}},{"name":"If-None-Match","in":"header","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"The headers, with `Content-Length`","headers":{"ETag":{"schema":{"type":"string"}},"Accept-Ranges":{"schema":{"const":"bytes"}}}},"304":{"description":"Not modified"},"401":{"description":"`missing_api_key`, `invalid_api_key` (the message names the console Keys page) or `invalid_token` (OAuth access token)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"invalid_api_key","message":"The API key is not valid. Check the key at https://console.geolith.app/dashboard/keys (keys start gc_sk_ or gc_pk_).","docs":"https://docs.geolith.app/datasets/overview"}}}}},"403":{"description":"`plan_required` (dataset files need the Scale plan; `plan` names it), `origin_not_allowed`, `email_not_verified` or `insufficient_scope`","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"plan_required","message":"Dataset files need the Scale plan. Upgrade under Billing in the console: https://console.geolith.app/dashboard/billing","plan":"scale","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"404":{"description":"`not_found`: unknown dataset file","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"not_found","message":"Unknown dataset file.","docs":"https://docs.geolith.app/datasets/overview"}}}}},"429":{"description":"`rate_limited` (retry after `Retry-After`) or `quota_exceeded` (the monthly allowance is used up; `resets_at` and `upgrade_url` say when it returns and where to upgrade)","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"},"example":{"error":{"code":"quota_exceeded","message":"Monthly tiles allowance of 30000000 requests on the Scale plan is used up. It resets on 1 Dec 00:00 UTC. Upgrade: https://console.geolith.app/dashboard/billing","product":"tiles","reason":"allowance","resets_at":"2026-12-01T00:00:00.000Z","upgrade_url":"https://console.geolith.app/dashboard/billing","docs":"https://docs.geolith.app/datasets/overview"}}}}},"503":{"description":"`service_unavailable`: dataset files are briefly unavailable; retry after 1 second","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GatewayError"}}}}}}}},"components":{"schemas":{"GatewayError":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message","docs"],"properties":{"code":{"type":"string","enum":["missing_api_key","invalid_api_key","invalid_token","insufficient_scope","origin_not_allowed","email_not_verified","rate_limited","quota_exceeded","not_found","method_not_allowed","secret_key_required","plan_required","invalid_request","invalid_place","invalid_parameter","payload_too_large","custom_places_limit","service_unavailable"]},"message":{"type":"string"},"docs":{"type":"string","format":"uri","description":"The errors page of the request's product: Search, Maps (/tiles/hosted/limits), Routing (/routing/coverage-and-errors) or Data (/datasets/overview)."},"product":{"type":"string","enum":["geocoding","tiles","routing"],"description":"`quota_exceeded`: the allowance that ran out."},"reason":{"type":"string","enum":["allowance","free_daily_ceiling"],"description":"`quota_exceeded`: why the request was refused."},"resets_at":{"type":"string","format":"date-time","description":"`quota_exceeded`: when the allowance comes back (the next month, or 00:00 UTC for the free daily ceiling)."},"upgrade_url":{"type":"string","format":"uri","description":"`quota_exceeded` and `plan_required`: the Billing page."},"plan":{"type":"string","description":"`plan_required`: the plan the request needs."}}}}}},"securitySchemes":{"apiKeyQuery":{"type":"apiKey","in":"query","name":"api_key"},"bearer":{"type":"http","scheme":"bearer","description":"Authorization: Bearer YOUR_API_KEY (gc_sk_… secret or gc_pk_… publishable), or an OAuth access token from console.geolith.app"}}}}