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

# API Documentation

## Types of API calls

Our APIs offer two types of calls, namely:

1. Developer API calls
2. Normal API calls

{% hint style="info" %}
Our APIs will always default to the latest version available. The endpoint URL does not include the API version. \
\
You cannot switch between different API versions, as we only maintain the most recent stable version on our servers.
{% endhint %}

***

### Developer API calls

Developer API calls can validate inputs and test integrations without APIs. These API calls cost less and return **dummy content,** meaning that you can still test your integration, without wasting valuable API calls.

### Normal API calls

These API calls work like any normal API call, they cost more, but return actual outputs based on the inputs provided.

{% hint style="info" %}
You can view more information, and questions about APIs, here:\
[Questions about APIs](https://infinitode-docs.gitbook.io/faqs/questions-about-apis)
{% endhint %}

***

## :key: API Authentication

Our APIs always require your special API tokens. Upon registering, you will receive 2 API tokens, a developer API token, and a normal API token. When passing the tokens to the API, you can use either the developer API token to initiate a developer API call; or the normal API token to make a normal API call.

{% hint style="danger" %}
In case of a compromised API token, please contact our support team immediately, so that we can quickly lock access to your API resources and reset your account keys.
{% endhint %}


---

# 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://infinitode-docs.gitbook.io/documentation/api-documentation.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.
