x-api-key header except the health routes.
Key contract
Keep the key on your server. Do not ship it in browser or mobile bundles; proxy requests through your backend.
401 responses
A request fails with401 Unauthorized when the key is missing, malformed, unknown, expired, or its project is inactive. The message differs per API.
Do not retry a 401 with the same key. See Errors and retries for the response envelope.
403 is not an auth error. It is returned by the geolocation guard on action routes when the caller’s region is blocked. See Errors and retries.
