# API Documentation

- [API Introduction](https://docs.roleplaybot.xyz/api/introduction.md)
- [Guides](https://docs.roleplaybot.xyz/api/guides.md)
- [API Authorization](https://docs.roleplaybot.xyz/api/guides/authorization.md)
- [Getting Started](https://docs.roleplaybot.xyz/api/guides/starting.md): To get started with RoleplayBot's API you must meet the prerequisites. This guide is based on accessing the API from a REST client, The API can also be accessed through other means.
- [Civilian Requests](https://docs.roleplaybot.xyz/api/guides/civilian.md)
- [Building a Project](https://docs.roleplaybot.xyz/api/guides/projects.md)
- [Endpoints](https://docs.roleplaybot.xyz/api/endpoints.md)
- [Civilian Endpoints](https://docs.roleplaybot.xyz/api/endpoints/civilian.md)
- [Vehicle Endpoints](https://docs.roleplaybot.xyz/api/endpoints/vehicle.md)
- [Firearm Endpoints](https://docs.roleplaybot.xyz/api/endpoints/firearm.md)
- [Medical Endpoint](https://docs.roleplaybot.xyz/api/endpoints/medical.md)
- [Law Enforcement Endpoints](https://docs.roleplaybot.xyz/api/endpoints/leo.md)
- [Errors](https://docs.roleplaybot.xyz/api/errors.md)
- [Error Codes](https://docs.roleplaybot.xyz/api/errors/codes.md)
- [Rate limited](https://docs.roleplaybot.xyz/api/errors/rate-limited.md)


---

# 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.roleplaybot.xyz/api.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.
