Available perils
GET /v1/perils
Retrieve the list of perils available to your API key, separated by endpoint type. Use this to discover your key's permissions and to populate peril pickers in your own tooling.
Request
| Header | Required | Value |
|---|---|---|
X-API-Key |
REQUIRED | Your API key |
Response: 200
| Field | Type | Description |
|---|---|---|
in_depth |
list[Peril] |
Perils usable with the /v1/in-depth endpoint |
Each Peril object: name (identifier used in requests), default_unit (unit for thresholds), description (human-readable).
{
"in_depth": [
{ "name": "Rain", "default_unit": "mm", "description": "Daily rainfall accumulation" },
{ "name": "MaxWindGust", "default_unit": "mph", "description": "Maximum daily wind gust speed" }
]
}
Errors
| Status | Meaning |
|---|---|
401 |
Missing or invalid API key |