> For the complete documentation index, see [llms.txt](https://docs.aicrisk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aicrisk.com/api-overview.md).

# API Overview

- [Chat APIs](https://docs.aicrisk.com/api-overview/chat-apis.md)
- [Pagination: GetConversation(s)](https://docs.aicrisk.com/api-overview/chat-apis/pagination-getconversation-s.md)
- [Understanding API Parameters](https://docs.aicrisk.com/api-overview/chat-apis/pagination-getconversation-s/understanding-api-parameters.md)
- [Pagination Helper](https://docs.aicrisk.com/api-overview/chat-apis/pagination-getconversation-s/pagination-helper.md)
- [Example Page](https://docs.aicrisk.com/api-overview/chat-apis/pagination-getconversation-s/example-page.md)
- [Recap](https://docs.aicrisk.com/api-overview/chat-apis/pagination-getconversation-s/recap.md)
- [AIRisk API OAuth2 Authentication](https://docs.aicrisk.com/api-overview/airisk-api-oauth2-authentication.md): Describing Oauth2 and, more specifically, our authentication process in AIRisk, Prescribing usage, and Explaining our components and process.
- [Authorization](https://docs.aicrisk.com/api-overview/airisk-api-oauth2-authentication/authorization.md): AIRisk API implements an Authorization Code Grant flow. This is a two-step process.
- [Authorization Endpoint](https://docs.aicrisk.com/api-overview/airisk-api-oauth2-authentication/authorization-endpoint.md): The Authorization Endpoint is the URL that the user’s browser visits to initiate the OAuth flow. It is used to request user authorization and produce an authorization code.
- [Example Authorization URL](https://docs.aicrisk.com/api-overview/airisk-api-oauth2-authentication/authorization-endpoint/example-authorization-url.md)
- [Error Responses](https://docs.aicrisk.com/api-overview/airisk-api-oauth2-authentication/authorization-endpoint/error-responses.md)
- [Tokens](https://docs.aicrisk.com/api-overview/airisk-api-oauth2-authentication/tokens.md)
- [Error Handling](https://docs.aicrisk.com/api-overview/airisk-api-oauth2-authentication/tokens/error-handling.md)
- [Generic vs. User-Specific Tokens](https://docs.aicrisk.com/api-overview/airisk-api-oauth2-authentication/tokens/generic-vs.-user-specific-tokens.md)
- [Example Usage Flow / Reasons](https://docs.aicrisk.com/api-overview/airisk-api-oauth2-authentication/tokens/generic-vs.-user-specific-tokens/example-usage-flow-reasons.md)
- [Usage of the Access Token](https://docs.aicrisk.com/api-overview/airisk-api-oauth2-authentication/tokens/usage-of-the-access-token.md): Regardless of token type, once you have an access\_token, your application will include it in API requests to AIRisk to authenticate.
- [Token Endpoint](https://docs.aicrisk.com/api-overview/airisk-api-oauth2-authentication/token-endpoint.md)
- [Example Token Request](https://docs.aicrisk.com/api-overview/airisk-api-oauth2-authentication/token-endpoint/example-token-request.md)
- [Error Responses](https://docs.aicrisk.com/api-overview/airisk-api-oauth2-authentication/token-endpoint/error-responses.md)
- [Summary of OAuth2 Authorization Flow](https://docs.aicrisk.com/api-overview/airisk-api-oauth2-authentication/summary-of-oauth2-authorization-flow.md)
- [User APIs](https://docs.aicrisk.com/api-overview/user-apis.md)
- [Authentication](https://docs.aicrisk.com/api-overview/authentication.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://docs.aicrisk.com/api-overview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
