# Requesting Hazard Types

To request the list of hazard types configured in the system please use the route defined here:

{% openapi src="/files/wYQaKpPZEdPb68ZWOF6w" path="/hazards/types" method="get" %}
[openapi.yaml](https://3664004773-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbwQ2AvqpbIy1hD3QFTQG%2Fuploads%2Fgit-blob-9d646f1681dee35f7dc1c0638c3b2af1bcd498f5%2Fopenapi.yaml?alt=media)
{% endopenapi %}

{% hint style="info" %}
See [Authorizing Requests](/authentication/authorizing-requests.md#get-accesstoken-and-refreshtoken) page to get your accessToken.
{% endhint %}

This request will return an array that contains all of the hazard types. Each element in the array will have three properties:

| Properties     | Definitions                                                                                                                                                                                                                                                                                                          |
| -------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **type\_id**   | This is like the primary key for the hazard type. This is the value that will be found on the hazard object.                                                                                                                                                                                                         |
| **type\_name** | A human readable value for the hazard e.g. Volcano.                                                                                                                                                                                                                                                                  |
| **type\_icon** | This is the url for the hazard type icon's image e.g. avalanche.png. The hazard icons are hosted at:[ https://static.pdc.org/icons/hazard/large/](https://static.pdc.org/icons/hazard/large/). To construct the fully qualified location for the hazard type's icon combine the host location with type\_icon value. |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://api-v2-docs.disasteraware.com/hazards/requesting-active-hazards/requesting-hazard-types.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
