Content coverage metrics by provider
GET/content/hotels/v1/metrics/coverage
Returns per-provider counts for hotels/rooms and how many carry descriptions/images/beds. Use for content health monitoring.
The report is expensive to build (tens of seconds), so it is served from a snapshot
refreshed every 10 minutes and no request ever computes it. Immediately after a
restart, before the first snapshot exists, the endpoint answers 503 with
Retry-After instead of holding the connection open.
Read hotelsWithUsefulDescription next to hotelsWithDescription: a provider can
score full description coverage while every row is just the hotel name repeated.
Pass media=true to also include hotelsWithJsonbMedia, hotelsWithGeo and
lastUpdated. That variant is computed inline (full scan of the hotels table, ~45s)
and is not cached.
Request
Responses
- 200
- 500
- 503
Coverage stats per provider
Internal server error
The first snapshot is still being computed. The work continues in the background; retry after the interval in the Retry-After header.
Response Headers
Seconds to wait before retrying.