# API

- [WP CLI commands](https://knowledgebase.ajaxsearchpro.com/api/wp-cli-commands.md): Ajax Search Pro WordPress command line commands list
- [Index Table CLI](https://knowledgebase.ajaxsearchpro.com/api/wp-cli-commands/index-table-cli.md): The index table subcommand lets you create, maintain and get information about the search index.
- [Search Cache CLI](https://knowledgebase.ajaxsearchpro.com/api/wp-cli-commands/search-cache-cli.md): Controlling the Ajax Search Pro cache via wordpress cli
- [REST API](https://knowledgebase.ajaxsearchpro.com/api/rest-api.md): Using the Ajax Search Pro Rest API
- [Javascript API](https://knowledgebase.ajaxsearchpro.com/api/javascript-api.md)
- [Theme Functions](https://knowledgebase.ajaxsearchpro.com/api/theme-functions.md): Theme functions are to be used within the current site theme files
- [SearchQuery](https://knowledgebase.ajaxsearchpro.com/api/searchquery.md): SearchQuery class usage to fetch results with Ajax Search Pro


---

# 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://knowledgebase.ajaxsearchpro.com/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.
