# Requesting Hazard Categories

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

{% openapi src="/files/wYQaKpPZEdPb68ZWOF6w" path="/hazards/categories" 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 categories. Each element in the array will have two properties:

| Properties         | Definitions                                                                                                      |
| ------------------ | ---------------------------------------------------------------------------------------------------------------- |
| **category\_id**   | This is like the primary key for the hazard category. This is the value that will be found on the hazard object. |
| **category\_name** | A human readable value for the category e.g. Event.                                                              |

{% hint style="info" %}
The following shapes are associated with each hazard category:
{% endhint %}

| Categories   | Shapes   |
| ------------ | -------- |
| **EVENT**    | Circle   |
| **RESPONSE** | Star     |
| **EXERCISE** | Triangle |
| **OTHER**    | Hexagon  |


---

# 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-categories.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.
