{
  "data": {
    "id": "8jsiaCpSGlc3NeBKT",
    "actId": "XIz7ta2ANaWJ66ass",
    "userId": "NL4ThgItAwaoBlffQ",
    "startedAt": "2026-11-14T15:36:48.088Z",
    "finishedAt": "2026-11-14T15:36:51.447Z",
    "status": "SUCCEEDED",
    "meta": {
      "origin": "CLI"
    },
    "stats": {
      "durationMillis": 3292,
      "runTimeSecs": 3.292,
      "computeUnits": 0.0036577777777777776,
      "imageSizeBytes": 319195648
    },
    "options": {
      "useCache": true,
      "betaPackages": false,
      "memoryMbytes": 4096,
      "diskMbytes": 8192
    },
    "createdByOrganizationMemberUserId": "6GwdnIcc2aWR7LzCS",
    "exitCode": 0,
    "inputSchema": "{\n  \"title\": \"Global Forest Watch & Resource Watch Explorer Input\",\n  \"description\": \"Browse GFW and Resource Watch datasets, inspect dataset metadata and fields, and pull GLAD alerts or alert statistics for an area.\",\n  \"type\": \"object\",\n  \"schemaVersion\": 1,\n  \"properties\": {\n    \"mode\": {\n      \"title\": \"Mode\",\n      \"type\": \"string\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"datasets\",\n        \"gfwDatasets\",\n        \"datasetDetails\",\n        \"datasetFields\",\n        \"alerts\",\n        \"statistics\"\n      ],\n      \"enumTitles\": [\n        \"Browse Resource Watch + GFW catalog\",\n        \"Browse GFW Data API catalog\",\n        \"Dataset details\",\n        \"Dataset fields\",\n        \"Alert counts by area\",\n        \"Alert statistics by area\"\n      ],\n      \"default\": \"datasets\",\n      \"prefill\": \"datasets\",\n      \"description\": \"Choose what to fetch. Catalog modes need no keys; alert modes use the public GFW Data API alert summary tables.\",\n      \"sectionCaption\": \"What to fetch\"\n    },\n    \"searchQuery\": {\n      \"title\": \"Search query\",\n      \"type\": \"string\",\n      \"editor\": \"textfield\",\n      \"description\": \"Free-text filter for catalog modes. Every word must appear in the name, description, tags, version or ID.\"\n    },\n    \"application\": {\n      \"title\": \"Application\",\n      \"type\": \"string\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"\",\n        \"gfw\",\n        \"rw\",\n        \"prep\",\n        \"aqueduct\",\n        \"forest-atlas\",\n        \"open-data\"\n      ],\n      \"enumTitles\": [\n        \"Any application\",\n        \"Global Forest Watch\",\n        \"Resource Watch\",\n        \"PREP\",\n        \"Aqueduct\",\n        \"Forest Atlas\",\n        \"Open Data\"\n      ],\n      \"default\": \"\",\n      \"description\": \"Filter the Resource Watch catalog by source application. In GFW catalog mode it matches dataset tags, names and IDs.\"\n    },\n    \"provider\": {\n      \"title\": \"Provider\",\n      \"type\": \"string\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"\",\n        \"cartodb\",\n        \"gfw\",\n        \"gee\",\n        \"featureservice\",\n        \"csv\",\n        \"json\",\n        \"tsv\",\n        \"wms\",\n        \"vector\",\n        \"rest\",\n        \"bigquery\",\n        \"rasdaman\",\n        \"nexgddp\",\n        \"loca\",\n        \"arcgis\"\n      ],\n      \"enumTitles\": [\n        \"Any provider\",\n        \"CARTO\",\n        \"Global Forest Watch\",\n        \"Google Earth Engine\",\n        \"ArcGIS feature service\",\n        \"CSV\",\n        \"JSON\",\n        \"TSV\",\n        \"WMS\",\n        \"Vector\",\n        \"REST\",\n        \"BigQuery\",\n        \"Rasdaman\",\n        \"NEX-GDDP\",\n        \"LOCA\",\n        \"ArcGIS\"\n      ],\n      \"default\": \"\",\n      \"description\": \"Filter Resource Watch catalog datasets by data provider.\"\n    },\n    \"connectorType\": {\n      \"title\": \"Connector type\",\n      \"type\": \"string\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"\",\n        \"rest\",\n        \"document\",\n        \"wms\",\n        \"vector\",\n        \"bigquery\",\n        \"rasdaman\",\n        \"nexgddp\",\n        \"loca\"\n      ],\n      \"enumTitles\": [\n        \"Any connector\",\n        \"REST\",\n        \"Document\",\n        \"WMS\",\n        \"Vector\",\n        \"BigQuery\",\n        \"Rasdaman\",\n        \"NEX-GDDP\",\n        \"LOCA\"\n      ],\n      \"default\": \"\",\n      \"description\": \"Filter Resource Watch catalog datasets by connector type.\"\n    },\n    \"datasetIds\": {\n      \"title\": \"Dataset IDs, slugs or API URLs\",\n      \"type\": \"array\",\n      \"editor\": \"stringList\",\n      \"default\": [],\n      \"prefill\": [\n        \"umd_tree_cover_loss\"\n      ],\n      \"description\": \"Dataset references for datasetDetails. Accepts Resource Watch UUIDs, GFW Data API slugs and dataset API URLs.\",\n      \"sectionCaption\": \"Datasets\"\n    },\n    \"dataset\": {\n      \"title\": \"GFW dataset slug\",\n      \"type\": \"string\",\n      \"editor\": \"textfield\",\n      \"default\": \"umd_tree_cover_loss\",\n      \"prefill\": \"umd_tree_cover_loss\",\n      \"description\": \"GFW Data API dataset slug used by datasetFields (for example umd_tree_cover_loss, gfw_integrated_alerts).\"\n    },\n    \"version\": {\n      \"title\": \"Dataset version\",\n      \"type\": \"string\",\n      \"editor\": \"textfield\",\n      \"default\": \"latest\",\n      \"prefill\": \"latest\",\n      \"description\": \"GFW dataset version for datasetFields. Use latest or a version such as v1.9.1.\"\n    },\n    \"area\": {\n      \"title\": \"Area (ISO3, admin code, geostore or lat,lng)\",\n      \"type\": \"string\",\n      \"editor\": \"textfield\",\n      \"description\": \"Alerts and statistics area: ISO3 country code (BRA), ISO3:ADM1 (BRA:15), ISO3:ADM1:ADM2 (BRA:15:139), a Resource Watch geostore ID, or a latitude,longitude pair (for example -7.1,-54.9).\",\n      \"sectionCaption\": \"Alerts and statistics by area\"\n    },\n    \"alertSystem\": {\n      \"title\": \"Alert system\",\n      \"type\": \"string\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"glad\",\n        \"integrated\"\n      ],\n      \"enumTitles\": [\n        \"GLAD alerts\",\n        \"Integrated deforestation alerts\"\n      ],\n      \"default\": \"glad\",\n      \"prefill\": \"glad\",\n      \"description\": \"Alert layer used by alerts and statistics. Integrated alerts are newer; GLAD coverage on the public tables extends through 2021 for most countries.\"\n    },\n    \"polygon\": {\n      \"title\": \"Custom GeoJSON polygon\",\n      \"type\": \"string\",\n      \"editor\": \"textarea\",\n      \"description\": \"Optional GeoJSON Geometry, Feature or FeatureCollection. Overrides Area and is converted to a geostore automatically.\"\n    },\n    \"radiusKm\": {\n      \"title\": \"Point radius (km)\",\n      \"type\": \"integer\",\n      \"editor\": \"number\",\n      \"minimum\": 1,\n      \"maximum\": 100,\n      \"default\": 5,\n      \"prefill\": 5,\n      \"description\": \"Radius used to build an area when Area is a latitude,longitude pair.\"\n    },\n    \"startDate\": {\n      \"title\": \"Start date\",\n      \"type\": \"string\",\n      \"editor\": \"textfield\",\n      \"default\": \"2020-01-01\",\n      \"prefill\": \"2020-01-01\",\n      \"description\": \"Alert period start in YYYY-MM-DD format.\"\n    },\n    \"endDate\": {\n      \"title\": \"End date\",\n      \"type\": \"string\",\n      \"editor\": \"textfield\",\n      \"default\": \"2021-12-31\",\n      \"prefill\": \"2021-12-31\",\n      \"description\": \"Alert period end in YYYY-MM-DD format.\"\n    },\n    \"aggregateBy\": {\n      \"title\": \"Group statistics by\",\n      \"type\": \"string\",\n      \"editor\": \"select\",\n      \"enum\": [\n        \"day\",\n        \"week\",\n        \"month\",\n        \"year\"\n      ],\n      \"enumTitles\": [\n        \"Day\",\n        \"Week\",\n        \"Month\",\n        \"Year\"\n      ],\n      \"default\": \"month\",\n      \"prefill\": \"month\",\n      \"description\": \"Time bucket used by statistics mode.\"\n    },\n    \"gladConfirmOnly\": {\n      \"title\": \"Confirmed alerts only\",\n      \"type\": \"boolean\",\n      \"default\": false,\n      \"prefill\": false,\n      \"description\": \"Keep only alerts with confidence 3 or higher.\"\n    },\n    \"maxItems\": {\n      \"title\": \"Maximum records\",\n      \"type\": \"integer\",\n      \"editor\": \"number\",\n      \"minimum\": 1,\n      \"maximum\": 1000,\n      \"default\": 20,\n      \"prefill\": 3,\n      \"description\": \"Maximum records to return (1-1000). For statistics this caps the number of time buckets.\",\n      \"sectionCaption\": \"Output\"\n    }\n  },\n  \"required\": [\n    \"mode\"\n  ]\n}",
    "readme": "# Global Forest Watch & Resource Watch Dataset & Alert Explorer\n\nGlobal Forest Watch, Resource Watch, Aqueduct, PREP, Forest Atlas and the Open Data portal share one environmental data catalog. This actor exposes that catalog and the public GFW alert summary tables in a single keyless workflow: discover datasets, inspect their metadata and fields, then pull alert counts or alert statistics for a country, admin area, geostore or custom polygon.\n\nEverything runs against public endpoints with no API key, login, cookie or proxy configuration.\n\n## Modes\n\n| Mode | What it returns |\n|---|---|\n| `datasets` | Resource Watch catalog entries: the shared index behind GFW, Resource Watch, Aqueduct, PREP, Forest Atlas and Open Data. Filter by application, provider, connector type or keyword. |\n| `gfwDatasets` | The GFW Data API catalog: dataset slug, title/subtitle, source, license, citation, coverage, update frequency, resolution, tags and available versions. |\n| `datasetDetails` | Full metadata for one or more datasets. Resource Watch records include layer/widget counts; GFW records include the latest version and asset links. |\n| `datasetFields` | The field dictionary for a GFW dataset version: field name, unit, data type, no-data value and coded-value meanings. |\n| `alerts` | Alert counts for an area from the GFW Data API summary tables: date, alert system, confidence category, alert count and alert area. Works for ISO3, `ISO3:ADM1`, `ISO3:ADM1:ADM2` and geostore IDs with precomputed rows. |\n| `statistics` | The same alert rows grouped by day, week, month or year, with confidence breakdowns and area totals. |\n\n## Input\n\n| Field | Type | Default | Used by | Description |\n|---|---|---|---|---|\n| `mode` | select | `datasets` | all | Which workflow to run. |\n| `searchQuery` | string | – | `datasets`, `gfwDatasets` | Free-text query; every word must appear in the name, description, tags, version or ID. |\n| `application` | select | any | `datasets`, `gfwDatasets` | Resource Watch application filter; in GFW mode it matches tags, names and IDs. |\n| `provider` | select | any | `datasets` | Resource Watch data provider (CARTO, GFW, Earth Engine, ArcGIS, CSV, …). |\n| `connectorType` | select | any | `datasets` | Resource Watch connector type (REST, document, WMS, vector, …). |\n| `datasetIds` | string list | – | `datasetDetails` | Resource Watch UUIDs, GFW dataset slugs or dataset API URLs. |\n| `dataset` | string | `umd_tree_cover_loss` | `datasetFields` | GFW dataset slug. |\n| `version` | string | `latest` | `datasetFields` | GFW version such as `latest` or `v1.9.1`. |\n| `area` | string | – | `alerts`, `statistics` | ISO3 code (`BRA`), admin area (`BRA:15` or `BRA:15:139`), Resource Watch geostore ID, GFW geostore UUID, or `latitude,longitude`. |\n| `alertSystem` | select | `glad` | `alerts`, `statistics` | `glad` or `integrated` alert layer. |\n| `polygon` | string | – | `alerts`, `statistics` | GeoJSON Geometry, Feature or FeatureCollection. Overrides `area`. |\n| `radiusKm` | integer | `5` | `alerts`, `statistics` | Radius used when `area` is a `lat,lng` pair (1–100 km). |\n| `startDate` / `endDate` | string | `2020-01-01` / `2021-12-31` | `alerts`, `statistics` | YYYY-MM-DD alert period. |\n| `aggregateBy` | select | `month` | `statistics` | Time bucket: day, week, month or year. |\n| `gladConfirmOnly` | boolean | `false` | `alerts`, `statistics` | Keep only high/highest-confidence alerts. |\n| `maxItems` | integer | `20` | all | Maximum records (1–1000); in `statistics` it caps the number of buckets. |\n\n## Saved-task compatibility\n\nTasks saved against the first release keep working: legacy keys such as `query`, `app`, `limit`, `geostore`, `start`/`end`, `confirmedOnly`, `modeType` and `datasetSlug` are mapped onto the new inputs in code. Only the new names appear in the input form.\n\n## Examples\n\nBrowse GFW-tagged Resource Watch datasets about mangroves:\n\n```json\n{\n  \"mode\": \"datasets\",\n  \"application\": \"gfw\",\n  \"searchQuery\": \"mangrove\",\n  \"maxItems\": 50\n}\n```\n\nList GFW Data API datasets about alerts:\n\n```json\n{\n  \"mode\": \"gfwDatasets\",\n  \"searchQuery\": \"alerts\",\n  \"maxItems\": 30\n}\n```\n\nInspect two datasets by reference:\n\n```json\n{\n  \"mode\": \"datasetDetails\",\n  \"datasetIds\": [\"umd_tree_cover_loss\", \"48064dbb-3354-469a-b07f-d0503cb329ea\"],\n  \"maxItems\": 2\n}\n```\n\nRead the field dictionary for tree cover loss:\n\n```json\n{\n  \"mode\": \"datasetFields\",\n  \"dataset\": \"umd_tree_cover_loss\",\n  \"version\": \"latest\",\n  \"maxItems\": 200\n}\n```\n\nPull confirmed GLAD alert counts for Brazil in 2021:\n\n```json\n{\n  \"mode\": \"alerts\",\n  \"area\": \"BRA\",\n  \"alertSystem\": \"glad\",\n  \"startDate\": \"2021-01-01\",\n  \"endDate\": \"2021-12-31\",\n  \"gladConfirmOnly\": true,\n  \"maxItems\": 100\n}\n```\n\nSummarize Brazil by month:\n\n```json\n{\n  \"mode\": \"statistics\",\n  \"area\": \"BRA\",\n  \"alertSystem\": \"glad\",\n  \"startDate\": \"2021-01-01\",\n  \"endDate\": \"2021-12-31\",\n  \"aggregateBy\": \"month\",\n  \"maxItems\": 12\n}\n```\n\nDrill into one admin-1 area (Pará, GADM code 15):\n\n```json\n{\n  \"mode\": \"statistics\",\n  \"area\": \"BRA:15\",\n  \"alertSystem\": \"integrated\",\n  \"startDate\": \"2025-01-01\",\n  \"endDate\": \"2025-03-31\",\n  \"aggregateBy\": \"month\",\n  \"maxItems\": 12\n}\n```\n\nAggregate a small custom polygon (geostore summary rows only):\n\n```json\n{\n  \"mode\": \"statistics\",\n  \"polygon\": \"{\\\"type\\\":\\\"Polygon\\\",\\\"coordinates\\\":[[[-55,-7.2],[-54.85,-7.2],[-54.85,-7.05],[-55,-7.05],[-55,-7.2]]]}\",\n  \"alertSystem\": \"glad\",\n  \"startDate\": \"2021-01-01\",\n  \"endDate\": \"2021-12-31\",\n  \"aggregateBy\": \"month\",\n  \"maxItems\": 12\n}\n```\n\n## Output fields\n\nCatalog records (`datasets`, `gfwDatasets`, `datasetDetails`) use a shared vocabulary: `datasetId`, `catalog`, `slug`, `name`, `subtitle`, `description`, `provider`, `connectorType`, `tableName`, `connectorUrl`, `applications`, `tags`, `published`, `hasGeoInfo`, `createdAt`, `updatedAt`, `dataLastUpdated`, `citation`, `license`, `source`, `geographicCoverage`, `updateFrequency`, `spatialResolution`, `resolutionDescription`, `versions`, `latestVersion`, `isDownloadable`, `isLatest`, `isMutable`, `assets`, `layerCount`, `widgetCount` and `datasetUrl`.\n\nField records add `fieldName`, `unit`, `dataType`, `noDataValue`, `valueCount`, `values` and `defaultMeaning`.\n\nArea alert records include `areaId`, `areaName`, `iso`, `adm1`, `adm2`, `adminLevel`, `alertDate`, `alertSystem`, `confidenceCategory`, `alertCount`, `alertAreaHectares`, `confirmed`, `source` and `recordType: \"alert\"`.\n\nStatistic records include `areaId`, `areaName`, `period`, `aggregateBy`, `alertSystem`, `alertCount`, `alertAreaHectares`, `confirmedAlertCount`, `confidenceCounts`, `firstAlertDate`, `lastAlertDate`, `totalAlerts`, `totalAlertAreaHectares` and the requested `startDate`/`endDate`.\n\n\n\nEvery record also carries `recordType` (`dataset`, `gfwDataset`, `datasetDetail`, `field`, `alert` or `statistic`) and `scrapedAt`. Empty fields are omitted, never emitted as `null` or an empty string.\n\n## Use cases\n\n- **Environmental researchers** — inventory which forest, land-use, water-risk and climate datasets exist before requesting the underlying data.\n- **GIS and data-engineering teams** — resolve dataset slugs, versions and field dictionaries for a downstream pipeline.\n- **Journalists and NGOs** — quantify recent GLAD alerts inside a country, protected area or custom polygon without an API key.\n- **Monitoring teams** — schedule a daily alert count for one AOI and compare time buckets across a season.\n\n## FAQ\n\n**Does this need an API key or account?** No. The catalog endpoints and the public GFW data gateway are called directly and anonymously.\n\n**Does `alerts` return integrated alerts?** Yes. Set `alertSystem` to `integrated` for integrated deforestation alerts, or keep `glad` for the GLAD layer.\n\n**Why do my GLAD alert dates stop in 2021?** The public GLAD summary tables cover the legacy GLAD series for most countries. Switch to `alertSystem: integrated` for newer alert data.\n\n**Can I use a polygon instead of a geostore?** Yes. Pass GeoJSON in `polygon`; the actor creates a temporary geostore automatically. Area tables only have precomputed rows for geostores in the GFW summary set, so countries and admin areas are the reliable choice.\n\n**How do I pick an admin area code?** Use the GADM numeric code after the ISO3, for example `BRA:15` for Pará. Add the GADM admin-2 code for a district, for example `BRA:15:139`. Not every admin-2 area has precomputed alert rows.\n\n**What does `gladConfirmOnly` mean?** It keeps only high/highest-confidence alerts.\n\n**How fresh is the catalog?** Every run queries the live API, so titles, versions, fields and tags reflect the state of the catalog at run time.\n\n**Is this affiliated with Global Forest Watch, Resource Watch or the World Resources Institute?** No. This is an independent tool that reads publicly accessible APIs and is not operated by or affiliated with those organizations. Dataset metadata and alerts retain their original licenses and attribution; see each record's `citation`, `license` and `source`.\n\n## Data sources and attribution\n\n- Resource Watch API — catalog, metadata, vocabulary, layers and widgets.\n- GFW Data API — GFW dataset catalog, versions, assets and field dictionaries.\n- GFW public Data API gateway — alert summary tables by country, admin area and geostore.\n- GFW public data gateway — GLAD and integrated alert summary rows used for area counts and statistics.\n- GLAD alerts: Hansen et al., University of Maryland Global Land Analysis & Discovery (GLAD).\n\nAlert data and dataset metadata remain subject to the upstream licenses. This actor does not rehost or resell the datasets themselves.\n",
    "actorDefinition": {
      "actorSpecification": 1,
      "name": "global-forest-watch-and-resource-watch-dataset",
      "title": "Global Forest Watch & Resource Watch Dataset & Alert Explorer",
      "description": "Explore the shared GFW and Resource Watch environmental data catalog, inspect dataset metadata and fields, and pull GLAD deforestation alerts or alert statistics for a country, geostore or custom polygon. No API key, login or cookie required.",
      "version": "1.0",
      "buildTag": "latest",
      "dockerfile": "./Dockerfile",
      "readme": "# Global Forest Watch & Resource Watch Dataset & Alert Explorer\n\nGlobal Forest Watch, Resource Watch, Aqueduct, PREP, Forest Atlas and the Open Data portal share one environmental data catalog. This actor exposes that catalog and the public GFW alert summary tables in a single keyless workflow: discover datasets, inspect their metadata and fields, then pull alert counts or alert statistics for a country, admin area, geostore or custom polygon.\n\nEverything runs against public endpoints with no API key, login, cookie or proxy configuration.\n\n## Modes\n\n| Mode | What it returns |\n|---|---|\n| `datasets` | Resource Watch catalog entries: the shared index behind GFW, Resource Watch, Aqueduct, PREP, Forest Atlas and Open Data. Filter by application, provider, connector type or keyword. |\n| `gfwDatasets` | The GFW Data API catalog: dataset slug, title/subtitle, source, license, citation, coverage, update frequency, resolution, tags and available versions. |\n| `datasetDetails` | Full metadata for one or more datasets. Resource Watch records include layer/widget counts; GFW records include the latest version and asset links. |\n| `datasetFields` | The field dictionary for a GFW dataset version: field name, unit, data type, no-data value and coded-value meanings. |\n| `alerts` | Alert counts for an area from the GFW Data API summary tables: date, alert system, confidence category, alert count and alert area. Works for ISO3, `ISO3:ADM1`, `ISO3:ADM1:ADM2` and geostore IDs with precomputed rows. |\n| `statistics` | The same alert rows grouped by day, week, month or year, with confidence breakdowns and area totals. |\n\n## Input\n\n| Field | Type | Default | Used by | Description |\n|---|---|---|---|---|\n| `mode` | select | `datasets` | all | Which workflow to run. |\n| `searchQuery` | string | – | `datasets`, `gfwDatasets` | Free-text query; every word must appear in the name, description, tags, version or ID. |\n| `application` | select | any | `datasets`, `gfwDatasets` | Resource Watch application filter; in GFW mode it matches tags, names and IDs. |\n| `provider` | select | any | `datasets` | Resource Watch data provider (CARTO, GFW, Earth Engine, ArcGIS, CSV, …). |\n| `connectorType` | select | any | `datasets` | Resource Watch connector type (REST, document, WMS, vector, …). |\n| `datasetIds` | string list | – | `datasetDetails` | Resource Watch UUIDs, GFW dataset slugs or dataset API URLs. |\n| `dataset` | string | `umd_tree_cover_loss` | `datasetFields` | GFW dataset slug. |\n| `version` | string | `latest` | `datasetFields` | GFW version such as `latest` or `v1.9.1`. |\n| `area` | string | – | `alerts`, `statistics` | ISO3 code (`BRA`), admin area (`BRA:15` or `BRA:15:139`), Resource Watch geostore ID, GFW geostore UUID, or `latitude,longitude`. |\n| `alertSystem` | select | `glad` | `alerts`, `statistics` | `glad` or `integrated` alert layer. |\n| `polygon` | string | – | `alerts`, `statistics` | GeoJSON Geometry, Feature or FeatureCollection. Overrides `area`. |\n| `radiusKm` | integer | `5` | `alerts`, `statistics` | Radius used when `area` is a `lat,lng` pair (1–100 km). |\n| `startDate` / `endDate` | string | `2020-01-01` / `2021-12-31` | `alerts`, `statistics` | YYYY-MM-DD alert period. |\n| `aggregateBy` | select | `month` | `statistics` | Time bucket: day, week, month or year. |\n| `gladConfirmOnly` | boolean | `false` | `alerts`, `statistics` | Keep only high/highest-confidence alerts. |\n| `maxItems` | integer | `20` | all | Maximum records (1–1000); in `statistics` it caps the number of buckets. |\n\n## Saved-task compatibility\n\nTasks saved against the first release keep working: legacy keys such as `query`, `app`, `limit`, `geostore`, `start`/`end`, `confirmedOnly`, `modeType` and `datasetSlug` are mapped onto the new inputs in code. Only the new names appear in the input form.\n\n## Examples\n\nBrowse GFW-tagged Resource Watch datasets about mangroves:\n\n```json\n{\n  \"mode\": \"datasets\",\n  \"application\": \"gfw\",\n  \"searchQuery\": \"mangrove\",\n  \"maxItems\": 50\n}\n```\n\nList GFW Data API datasets about alerts:\n\n```json\n{\n  \"mode\": \"gfwDatasets\",\n  \"searchQuery\": \"alerts\",\n  \"maxItems\": 30\n}\n```\n\nInspect two datasets by reference:\n\n```json\n{\n  \"mode\": \"datasetDetails\",\n  \"datasetIds\": [\"umd_tree_cover_loss\", \"48064dbb-3354-469a-b07f-d0503cb329ea\"],\n  \"maxItems\": 2\n}\n```\n\nRead the field dictionary for tree cover loss:\n\n```json\n{\n  \"mode\": \"datasetFields\",\n  \"dataset\": \"umd_tree_cover_loss\",\n  \"version\": \"latest\",\n  \"maxItems\": 200\n}\n```\n\nPull confirmed GLAD alert counts for Brazil in 2021:\n\n```json\n{\n  \"mode\": \"alerts\",\n  \"area\": \"BRA\",\n  \"alertSystem\": \"glad\",\n  \"startDate\": \"2021-01-01\",\n  \"endDate\": \"2021-12-31\",\n  \"gladConfirmOnly\": true,\n  \"maxItems\": 100\n}\n```\n\nSummarize Brazil by month:\n\n```json\n{\n  \"mode\": \"statistics\",\n  \"area\": \"BRA\",\n  \"alertSystem\": \"glad\",\n  \"startDate\": \"2021-01-01\",\n  \"endDate\": \"2021-12-31\",\n  \"aggregateBy\": \"month\",\n  \"maxItems\": 12\n}\n```\n\nDrill into one admin-1 area (Pará, GADM code 15):\n\n```json\n{\n  \"mode\": \"statistics\",\n  \"area\": \"BRA:15\",\n  \"alertSystem\": \"integrated\",\n  \"startDate\": \"2025-01-01\",\n  \"endDate\": \"2025-03-31\",\n  \"aggregateBy\": \"month\",\n  \"maxItems\": 12\n}\n```\n\nAggregate a small custom polygon (geostore summary rows only):\n\n```json\n{\n  \"mode\": \"statistics\",\n  \"polygon\": \"{\\\"type\\\":\\\"Polygon\\\",\\\"coordinates\\\":[[[-55,-7.2],[-54.85,-7.2],[-54.85,-7.05],[-55,-7.05],[-55,-7.2]]]}\",\n  \"alertSystem\": \"glad\",\n  \"startDate\": \"2021-01-01\",\n  \"endDate\": \"2021-12-31\",\n  \"aggregateBy\": \"month\",\n  \"maxItems\": 12\n}\n```\n\n## Output fields\n\nCatalog records (`datasets`, `gfwDatasets`, `datasetDetails`) use a shared vocabulary: `datasetId`, `catalog`, `slug`, `name`, `subtitle`, `description`, `provider`, `connectorType`, `tableName`, `connectorUrl`, `applications`, `tags`, `published`, `hasGeoInfo`, `createdAt`, `updatedAt`, `dataLastUpdated`, `citation`, `license`, `source`, `geographicCoverage`, `updateFrequency`, `spatialResolution`, `resolutionDescription`, `versions`, `latestVersion`, `isDownloadable`, `isLatest`, `isMutable`, `assets`, `layerCount`, `widgetCount` and `datasetUrl`.\n\nField records add `fieldName`, `unit`, `dataType`, `noDataValue`, `valueCount`, `values` and `defaultMeaning`.\n\nArea alert records include `areaId`, `areaName`, `iso`, `adm1`, `adm2`, `adminLevel`, `alertDate`, `alertSystem`, `confidenceCategory`, `alertCount`, `alertAreaHectares`, `confirmed`, `source` and `recordType: \"alert\"`.\n\nStatistic records include `areaId`, `areaName`, `period`, `aggregateBy`, `alertSystem`, `alertCount`, `alertAreaHectares`, `confirmedAlertCount`, `confidenceCounts`, `firstAlertDate`, `lastAlertDate`, `totalAlerts`, `totalAlertAreaHectares` and the requested `startDate`/`endDate`.\n\n\n\nEvery record also carries `recordType` (`dataset`, `gfwDataset`, `datasetDetail`, `field`, `alert` or `statistic`) and `scrapedAt`. Empty fields are omitted, never emitted as `null` or an empty string.\n\n## Use cases\n\n- **Environmental researchers** — inventory which forest, land-use, water-risk and climate datasets exist before requesting the underlying data.\n- **GIS and data-engineering teams** — resolve dataset slugs, versions and field dictionaries for a downstream pipeline.\n- **Journalists and NGOs** — quantify recent GLAD alerts inside a country, protected area or custom polygon without an API key.\n- **Monitoring teams** — schedule a daily alert count for one AOI and compare time buckets across a season.\n\n## FAQ\n\n**Does this need an API key or account?** No. The catalog endpoints and the public GFW data gateway are called directly and anonymously.\n\n**Does `alerts` return integrated alerts?** Yes. Set `alertSystem` to `integrated` for integrated deforestation alerts, or keep `glad` for the GLAD layer.\n\n**Why do my GLAD alert dates stop in 2021?** The public GLAD summary tables cover the legacy GLAD series for most countries. Switch to `alertSystem: integrated` for newer alert data.\n\n**Can I use a polygon instead of a geostore?** Yes. Pass GeoJSON in `polygon`; the actor creates a temporary geostore automatically. Area tables only have precomputed rows for geostores in the GFW summary set, so countries and admin areas are the reliable choice.\n\n**How do I pick an admin area code?** Use the GADM numeric code after the ISO3, for example `BRA:15` for Pará. Add the GADM admin-2 code for a district, for example `BRA:15:139`. Not every admin-2 area has precomputed alert rows.\n\n**What does `gladConfirmOnly` mean?** It keeps only high/highest-confidence alerts.\n\n**How fresh is the catalog?** Every run queries the live API, so titles, versions, fields and tags reflect the state of the catalog at run time.\n\n**Is this affiliated with Global Forest Watch, Resource Watch or the World Resources Institute?** No. This is an independent tool that reads publicly accessible APIs and is not operated by or affiliated with those organizations. Dataset metadata and alerts retain their original licenses and attribution; see each record's `citation`, `license` and `source`.\n\n## Data sources and attribution\n\n- Resource Watch API — catalog, metadata, vocabulary, layers and widgets.\n- GFW Data API — GFW dataset catalog, versions, assets and field dictionaries.\n- GFW public Data API gateway — alert summary tables by country, admin area and geostore.\n- GFW public data gateway — GLAD and integrated alert summary rows used for area counts and statistics.\n- GLAD alerts: Hansen et al., University of Maryland Global Land Analysis & Discovery (GLAD).\n\nAlert data and dataset metadata remain subject to the upstream licenses. This actor does not rehost or resell the datasets themselves.\n",
      "input": {
        "title": "Global Forest Watch & Resource Watch Explorer Input",
        "description": "Browse GFW and Resource Watch datasets, inspect dataset metadata and fields, and pull GLAD alerts or alert statistics for an area.",
        "type": "object",
        "schemaVersion": 1,
        "properties": {
          "mode": {
            "title": "Mode",
            "type": "string",
            "editor": "select",
            "enum": [
              "datasets",
              "gfwDatasets",
              "datasetDetails",
              "datasetFields",
              "alerts",
              "statistics"
            ],
            "enumTitles": [
              "Browse Resource Watch + GFW catalog",
              "Browse GFW Data API catalog",
              "Dataset details",
              "Dataset fields",
              "Alert counts by area",
              "Alert statistics by area"
            ],
            "default": "datasets",
            "prefill": "datasets",
            "description": "Choose what to fetch. Catalog modes need no keys; alert modes use the public GFW Data API alert summary tables.",
            "sectionCaption": "What to fetch"
          },
          "searchQuery": {
            "title": "Search query",
            "type": "string",
            "editor": "textfield",
            "description": "Free-text filter for catalog modes. Every word must appear in the name, description, tags, version or ID."
          },
          "application": {
            "title": "Application",
            "type": "string",
            "editor": "select",
            "enum": [
              "",
              "gfw",
              "rw",
              "prep",
              "aqueduct",
              "forest-atlas",
              "open-data"
            ],
            "enumTitles": [
              "Any application",
              "Global Forest Watch",
              "Resource Watch",
              "PREP",
              "Aqueduct",
              "Forest Atlas",
              "Open Data"
            ],
            "default": "",
            "description": "Filter the Resource Watch catalog by source application. In GFW catalog mode it matches dataset tags, names and IDs."
          },
          "provider": {
            "title": "Provider",
            "type": "string",
            "editor": "select",
            "enum": [
              "",
              "cartodb",
              "gfw",
              "gee",
              "featureservice",
              "csv",
              "json",
              "tsv",
              "wms",
              "vector",
              "rest",
              "bigquery",
              "rasdaman",
              "nexgddp",
              "loca",
              "arcgis"
            ],
            "enumTitles": [
              "Any provider",
              "CARTO",
              "Global Forest Watch",
              "Google Earth Engine",
              "ArcGIS feature service",
              "CSV",
              "JSON",
              "TSV",
              "WMS",
              "Vector",
              "REST",
              "BigQuery",
              "Rasdaman",
              "NEX-GDDP",
              "LOCA",
              "ArcGIS"
            ],
            "default": "",
            "description": "Filter Resource Watch catalog datasets by data provider."
          },
          "connectorType": {
            "title": "Connector type",
            "type": "string",
            "editor": "select",
            "enum": [
              "",
              "rest",
              "document",
              "wms",
              "vector",
              "bigquery",
              "rasdaman",
              "nexgddp",
              "loca"
            ],
            "enumTitles": [
              "Any connector",
              "REST",
              "Document",
              "WMS",
              "Vector",
              "BigQuery",
              "Rasdaman",
              "NEX-GDDP",
              "LOCA"
            ],
            "default": "",
            "description": "Filter Resource Watch catalog datasets by connector type."
          },
          "datasetIds": {
            "title": "Dataset IDs, slugs or API URLs",
            "type": "array",
            "editor": "stringList",
            "default": [],
            "prefill": [
              "umd_tree_cover_loss"
            ],
            "description": "Dataset references for datasetDetails. Accepts Resource Watch UUIDs, GFW Data API slugs and dataset API URLs.",
            "sectionCaption": "Datasets"
          },
          "dataset": {
            "title": "GFW dataset slug",
            "type": "string",
            "editor": "textfield",
            "default": "umd_tree_cover_loss",
            "prefill": "umd_tree_cover_loss",
            "description": "GFW Data API dataset slug used by datasetFields (for example umd_tree_cover_loss, gfw_integrated_alerts)."
          },
          "version": {
            "title": "Dataset version",
            "type": "string",
            "editor": "textfield",
            "default": "latest",
            "prefill": "latest",
            "description": "GFW dataset version for datasetFields. Use latest or a version such as v1.9.1."
          },
          "area": {
            "title": "Area (ISO3, admin code, geostore or lat,lng)",
            "type": "string",
            "editor": "textfield",
            "description": "Alerts and statistics area: ISO3 country code (BRA), ISO3:ADM1 (BRA:15), ISO3:ADM1:ADM2 (BRA:15:139), a Resource Watch geostore ID, or a latitude,longitude pair (for example -7.1,-54.9).",
            "sectionCaption": "Alerts and statistics by area"
          },
          "alertSystem": {
            "title": "Alert system",
            "type": "string",
            "editor": "select",
            "enum": [
              "glad",
              "integrated"
            ],
            "enumTitles": [
              "GLAD alerts",
              "Integrated deforestation alerts"
            ],
            "default": "glad",
            "prefill": "glad",
            "description": "Alert layer used by alerts and statistics. Integrated alerts are newer; GLAD coverage on the public tables extends through 2021 for most countries."
          },
          "polygon": {
            "title": "Custom GeoJSON polygon",
            "type": "string",
            "editor": "textarea",
            "description": "Optional GeoJSON Geometry, Feature or FeatureCollection. Overrides Area and is converted to a geostore automatically."
          },
          "radiusKm": {
            "title": "Point radius (km)",
            "type": "integer",
            "editor": "number",
            "minimum": 1,
            "maximum": 100,
            "default": 5,
            "prefill": 5,
            "description": "Radius used to build an area when Area is a latitude,longitude pair."
          },
          "startDate": {
            "title": "Start date",
            "type": "string",
            "editor": "textfield",
            "default": "2020-01-01",
            "prefill": "2020-01-01",
            "description": "Alert period start in YYYY-MM-DD format."
          },
          "endDate": {
            "title": "End date",
            "type": "string",
            "editor": "textfield",
            "default": "2021-12-31",
            "prefill": "2021-12-31",
            "description": "Alert period end in YYYY-MM-DD format."
          },
          "aggregateBy": {
            "title": "Group statistics by",
            "type": "string",
            "editor": "select",
            "enum": [
              "day",
              "week",
              "month",
              "year"
            ],
            "enumTitles": [
              "Day",
              "Week",
              "Month",
              "Year"
            ],
            "default": "month",
            "prefill": "month",
            "description": "Time bucket used by statistics mode."
          },
          "gladConfirmOnly": {
            "title": "Confirmed alerts only",
            "type": "boolean",
            "default": false,
            "prefill": false,
            "description": "Keep only alerts with confidence 3 or higher."
          },
          "maxItems": {
            "title": "Maximum records",
            "type": "integer",
            "editor": "number",
            "minimum": 1,
            "maximum": 1000,
            "default": 20,
            "prefill": 3,
            "description": "Maximum records to return (1-1000). For statistics this caps the number of time buckets.",
            "sectionCaption": "Output"
          }
        },
        "required": [
          "mode"
        ]
      },
      "output": {
        "actorOutputSchemaVersion": 1,
        "title": "Global Forest Watch & Resource Watch Dataset & Alert Explorer Output",
        "description": "Catalog datasets, dataset details, dataset fields, GLAD alert records and area alert statistics. Empty fields are omitted from each record.",
        "properties": {
          "datasets": {
            "type": "string",
            "title": "Datasets",
            "description": "Dataset containing the scraped catalog, field, alert or statistic records.",
            "template": "{{links.apiDefaultDatasetUrl}}/items"
          }
        }
      },
      "storages": {
        "dataset": {
          "actorSpecification": 1,
          "views": {
            "overview": {
              "title": "GFW & Resource Watch records",
              "transformation": {
                "fields": [
                  "datasetId",
                  "catalog",
                  "name",
                  "subtitle",
                  "provider",
                  "applications",
                  "tags",
                  "alertDate",
                  "confidence",
                  "areaName",
                  "period",
                  "alertCount",
                  "updatedAt",
                  "datasetUrl"
                ]
              },
              "display": {
                "component": "table",
                "properties": {}
              }
            }
          }
        }
      },
      "environmentVariables": {}
    },
    "buildNumber": "1.0.2",
    "imageDigest": "b76e88c7e60fdb697e04593d0330d50b72c8a6cc4f8327e7afb9116023dbf0ca",
    "actVersion": {
      "sourceType": "SOURCE_FILES",
      "buildTag": "latest",
      "versionNumber": "1.0"
    },
    "usage": {
      "ACTOR_COMPUTE_UNITS": 0.0036577777777777776
    }
  }
}