> ## Documentation Index
> Fetch the complete documentation index at: https://io.net/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# IO Intelligence APIs

> IO Intelligence API serves as a bridge to powerful, open-source machine learning models, deployed on io.net hardware, allowing you to integrate cutting-edge AI capabilities into your projects with relative ease. To make the integration easy for your application, we fully support the API contract presented by OpenAI, making it fully OpenAI API compatible.

This guide is for users who want to use *IO Intelligence API keys* to use our open-source ***LLM Model Marketplace*** or ***AI Agents*** for your applications. You can also refer to [API References](/reference/ai-models/get-started-with-io-intelligence-api) for a more detailed approach to our APIs.

## Getting Started

To use *IO Intelligence APIs*, you will need an **API key**. Follow these steps to get started:

1. **Sign up** for an account on **IO Intelligence**.
2. **Create an API key** (see [Creating an API Key](https://ai.io.net/ai/api-keys)).
3. Explore the available open-source ***AI Models*** and ***AI Agents***.
4. Use the **API References** to integrate the API into your application.

### Creating an API Key:

1. Navigate to the **API Keys** section.

   <Frame>
     <img src="https://mintcdn.com/ionet-cca8037f/TfxJXBgQCsMMTJrc/images/docs/054eb77108c20ae5c107fed3801d0cb6f258463c94bbad63bf6bc69e05a01d01-IO_Intellegence_1.jpg?fit=max&auto=format&n=TfxJXBgQCsMMTJrc&q=85&s=4e4a4246a2b9801dca1cf51d348ca253" alt="" className="mx-auto" style={{ width:"44%" }} width="1464" height="584" data-path="images/docs/054eb77108c20ae5c107fed3801d0cb6f258463c94bbad63bf6bc69e05a01d01-IO_Intellegence_1.jpg" />
   </Frame>
2. Click ***Create New Secret Key.***

   <Frame>
     <img src="https://mintcdn.com/ionet-cca8037f/TfxJXBgQCsMMTJrc/images/docs/0610c81565871f2e9faa543af9aa2fc1c989016a7b221e5b057c0113e55e5e2a-IO_Intellegence2.jpg?fit=max&auto=format&n=TfxJXBgQCsMMTJrc&q=85&s=ffa2180d330fa4a4a84beede774f0577" alt="" width="2942" height="1458" data-path="images/docs/0610c81565871f2e9faa543af9aa2fc1c989016a7b221e5b057c0113e55e5e2a-IO_Intellegence2.jpg" />
   </Frame>
3. Fill in the required details:
   * **Name**: Enter a descriptive name for your key.
   * **Project**: Select your project (i.e. "IO Intelligence").
   * **Permissions**: Choose from **All**, **Read** or **Write**.
   * **Expiration** **Date**: Select **30**, **60**, **90**, or **180** days.
4. Click ***Create Secret Key***.

   <Frame>
     <img src="https://mintcdn.com/ionet-cca8037f/9uES21HxjDw9p-Ee/images/docs/9abcdf8de584c839e19093de2cd25ced681224acfdcc8863b00c861576faa490-IO_Intellegence3.jpg?fit=max&auto=format&n=9uES21HxjDw9p-Ee&q=85&s=281f990eb754ad1c4f714d56782753ca" alt="" className="mx-auto" style={{ width:"66%" }} width="1940" height="2068" data-path="images/docs/9abcdf8de584c839e19093de2cd25ced681224acfdcc8863b00c861576faa490-IO_Intellegence3.jpg" />
   </Frame>
5. A popup will appear with your secret key. **Copy the secret key and store it securely (e.g., in a password manager or secure file).**

   <Frame>
     <img src="https://mintcdn.com/ionet-cca8037f/TfxJXBgQCsMMTJrc/images/docs/11d1150a832ca47b83c7501b8db7a17e35454c631d01213234fd116c497e722b-IO_Intellegence4.jpg?fit=max&auto=format&n=TfxJXBgQCsMMTJrc&q=85&s=8ef2c39ac3c2a011a92346f20a00e345" alt="" className="mx-auto" style={{ width:"64%" }} width="2072" height="1532" data-path="images/docs/11d1150a832ca47b83c7501b8db7a17e35454c631d01213234fd116c497e722b-IO_Intellegence4.jpg" />
   </Frame>

### Managing API Keys

**Search API Keys:** Use the *Search* field to find a previously created key.

**View API Key Details:**

* **Name**: The identifier of the key.
* **Project**: The associated project.
* **Permissions**: Access levels assigned to the key.
* **Expiration Date:** The validity period of the key.
* **Editing a Key**: Update the name or permissions of an existing key.
* **Revoking a Key**: If a key is no longer needed, you can revoke it. Note that once revoked, the key cannot be restored.

<Frame>
  <img src="https://mintcdn.com/ionet-cca8037f/6jhzMWiJ6_JlNBB6/images/docs/8295ec8c9d5b1f695c1e79f3ec625876a183d1b86bc11d0672ae39e67902471a-IO_Intellegence5.jpg?fit=max&auto=format&n=6jhzMWiJ6_JlNBB6&q=85&s=70bcbd8fe828639b5fd1d1b034e19a9a" alt="" width="2572" height="542" data-path="images/docs/8295ec8c9d5b1f695c1e79f3ec625876a183d1b86bc11d0672ae39e67902471a-IO_Intellegence5.jpg" />
</Frame>

### Revoking API Keys

1. Click the **Revoke** button in the *API Key* table.
2. A confirmation popup will appear.
3. Confirm the action to revoke the key.

<Frame>
  <img src="https://mintcdn.com/ionet-cca8037f/b1mYj6ho_VzomCTc/images/docs/6dfa6fd9538707c5e248cf192efef068bb055d682fa1ce5fe3fa1407b108589e-IO_Intellegence6.jpg?fit=max&auto=format&n=b1mYj6ho_VzomCTc&q=85&s=e33795a051f2733cf50b88ac51d5ef67" alt="" className="mx-auto" style={{ width:"57%" }} width="1572" height="1142" data-path="images/docs/6dfa6fd9538707c5e248cf192efef068bb055d682fa1ce5fe3fa1407b108589e-IO_Intellegence6.jpg" />
</Frame>

## Using the API

To use *IO Intelligence APIs*:

1. Authenticate your requests using your **API Key**.
2. Send requests to the appropriate endpoints.
3. Handle responses and integrate them into your application.

**Example: cURL Request**

<CodeGroup>
  ```curl curl theme={null}
  curl https://api.intelligence.io.solutions/api/v1/chat/completions /
     -H "Content-Type: application/json" /
     -H "Authorization: Bearer \$IOINTELLIGENCE_API_KEY" /
     -d '{
        "model": "meta-llama/Llama-3.3-70B-Instruct",
        "messages": [{"role": "user", "content": "Say this is a test!"}],
        "temperature": 0.7
     }'
  ```
</CodeGroup>

For detailed information on API endpoints, parameters, and examples, visit the **API References** tab.

## FAQs

<AccordionGroup>
  <Accordion title="Q: What is IO Intelligence API?">
    IO Intelligence API allows developers to integrate advanced AI models and agents into their applications for various use cases like text generation, embeddings, and more.
  </Accordion>

  <Accordion title="Q: How do I secure my API Key?">
    Do not share your API key publicly. Use environment variables to store API keys securely. Rotate your API keys periodically.
  </Accordion>

  <Accordion title="Q: What are the request limits for the API?">
    The IO Intelligence API offers different **free daily limits per account**, depending on the AI model. See the table in our [API Reference](/reference/ai-models/get-started-with-io-intelligence-api) for model-specific limits.
  </Accordion>
</AccordionGroup>
