# API Reference

The SmartExtract API is segmented into two sets:

1. Data Extraction API - APIs to extract data from documents. This set of APIs require the API Key credentials used to have `Data Extraction` role assigned to them.
2. Admin API - APIs to administer your account and pull reports. This set of APIs require the API Key credentials used to have `Admin` role assigned to them

{% content-ref url="/pages/ehrWxp4Mstd8c8JDetBB" %}
[Data Extraction API](/smart-extract-documentation/api-reference/data-extraction-api.md)
{% endcontent-ref %}

{% content-ref url="/pages/76hG7EpguCu4JCy7Ovux" %}
[Admin API](/smart-extract-documentation/api-reference/admin-api.md)
{% endcontent-ref %}


---

# 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://clik-ai.gitbook.io/smart-extract-documentation/api-reference.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.
