Use this file to discover all available pages before exploring further.
The /layers/status endpoint returns the current state of all 7 environmental data layers that back the spatial analysis. For each layer it reports when it was last updated, whether the update succeeded, and how many records are currently loaded in the PostGIS database. This is useful for verifying data availability before running an analysis or diagnosing unexpected results.Method and path:GET /api/v1/layers/status
Internal PostGIS table name for the layer. One of: red_natura_2000, zonas_inundables, dominio_publico_hidraulico, vias_pecuarias, espacios_naturales_protegidos, masas_agua_superficial, masas_agua_subterranea.
The most recent last_updated timestamp across all 7 layers. Represents the freshness of the dataset as a whole. null if no layer has ever been updated.
Call this endpoint to verify that all layers are loaded and up to date before running your first analysis. A layer with status: "no_data" or records_count: 0 will return affected: false for every polygon, which may give a misleadingly low risk score.