# Open API

API Data PetaBencana menyediakan sejumlah endpoint untuk Anda dapat berinteraksi dengan sistem. Ringkasan di bawah ini adalah detail lengkap dari setiap endpoint dan contoh hasil permintaan dapat ditemukan di halaman berikutnya.

## Ringkasan *Endpoint*

Detail dari setiap endpoint adalah sebagai berikut:

| Endpoint            | Deskripsi                                  | Metode  | Terproteksi |
| ------------------- | ------------------------------------------ | ------- | ----------- |
| /admin              | Batas Administrasi                         | GET     | Tidak       |
| /floodgauges        | <p>Alat Ukur Tinggi</p><p>Muka Air</p>     | GET,PUT | Tidak       |
| /floods             | Genangan Banjir                            | GET     | Sebagian    |
| /floods/archive     | Arsip Genangan Banjir                      | GET     | Tidak       |
| /floods/timeseries  | <p>Time Series </p><p>Genangan Banjir</p>  | GET     | Tidak       |
| /infrastructure     | Infrastruktur                              | GET     | Tidak       |
| /reports            | Laporan Urun-daya                          | GET     | Tidak       |
| /reports/archive    | <p>Arsip Laporan</p><p>Urun-daya</p>       | GET     | Tidak       |
| /reports/timeseries | <p>Time Series Laporan</p><p>Urun-daya</p> | GET     | Tidak       |
| /stats/\*           | Statistik Ringkasan                        | GET     | Tidak       |


---

# 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://docs.petabencana.id/routes.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.
