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

# 4MINDS API Overview

> Access 4MINDS programmatically through REST API endpoints.

<Note>
  **The Synthesis Graph™ is not directly accessible via API.** There is no graph query endpoint — the knowledge graph is queried internally during model inference. To retrieve knowledge from the graph, call a model inference endpoint; the model traverses the graph as part of generating its response.
</Note>

## **Accessing 4MINDS API**

The **API** is a dedicated tab in the main navigation. It's available on the **Enterprise plan** and only visible to users with **Admin** rights — if you don't see the tab, confirm your plan and role with your organization administrator.

From the **API** tab, you can view your API keys, configure access, and browse the API reference.

<img alt="Screen Shot2025 11 06at6 51 31PM Pn" title="Screen Shot2025 11 06at6 51 31PM Pn" style={{ width:"98%" }} lightAlt="Screen Shot2025 11 06at6 51 31PM Pn" darkAlt="Screen Shot2025 11 06at6 51 31PM Pn" src="https://mintcdn.com/4minds-e9525117/Fr4_soY0i7dvUkBj/images/Screenshot-2026-06-11-at-10.08.02-AM.png?fit=max&auto=format&n=Fr4_soY0i7dvUkBj&q=85&s=d0f6b96bb7bf4557a4ad8a00e796dd7b" className="dark:hidden" width="1998" height="1588" data-path="images/Screenshot-2026-06-11-at-10.08.02-AM.png" />

<img alt="Screen Shot2025 11 06at6 51 31PM Pn" title="Screen Shot2025 11 06at6 51 31PM Pn" style={{ width:"98%" }} lightAlt="Screen Shot2025 11 06at6 51 31PM Pn" darkAlt="Screen Shot2025 11 06at6 51 31PM Pn" src="https://mintcdn.com/4minds-e9525117/Fr4_soY0i7dvUkBj/images/Screenshot-2026-06-11-at-9.57.38-AM.png?fit=max&auto=format&n=Fr4_soY0i7dvUkBj&q=85&s=eb96d2d68f0014983196d3189291ea33" className="hidden dark:block" width="2004" height="1498" data-path="images/Screenshot-2026-06-11-at-9.57.38-AM.png" />

The '**Quick Start**' section in the left sidebar lets you select the API version and a resource from the dropdowns to view all available 4MINDS API endpoints.

<Note>
  4MINDS offers two API versions, selectable from the first dropdown in the **Quick Start** section: the **regular 4MINDS API** and the **OpenAI-compatible API**. Use the OpenAI-compatible version if you're migrating from OpenAI or want to reuse existing OpenAI SDK code with minimal changes.
</Note>

The API enables programmatic interaction with your ***models***, ***conversations***, ***datasets***, ***evaluations***, ***inference, use cases, fine-tuning categories, personas, external models,*** *and **integrations***.

Located next to the '**Quick Start**' section, the '**Code Examples**' section provides ready-to-use code snippets in cURL, Python, JavaScript, and Node.js. Simply select your preferred language from the dropdown for any endpoint.

<img src="https://mintcdn.com/4minds-e9525117/Fr4_soY0i7dvUkBj/images/Screenshot-2026-06-11-at-10.09.30-AM.png?fit=max&auto=format&n=Fr4_soY0i7dvUkBj&q=85&s=41bfe0599b807cb0fca3e4e04230f76a" alt="Screen Shot2025 11 06at7 02 58PM Pn" lightAlt="Screen Shot2025 11 06at7 02 58PM Pn" darkAlt="Screen Shot2025 11 06at7 02 58PM Pn" className="dark:hidden" width="1994" height="922" data-path="images/Screenshot-2026-06-11-at-10.09.30-AM.png" />

<img src="https://mintcdn.com/4minds-e9525117/Fr4_soY0i7dvUkBj/images/Screenshot-2026-06-11-at-10.10.50-AM.png?fit=max&auto=format&n=Fr4_soY0i7dvUkBj&q=85&s=5f4f0f1d1a743f41fd9e04d5ebd0f1b6" alt="Screen Shot2025 11 06at7 02 58PM Pn" lightAlt="Screen Shot2025 11 06at7 02 58PM Pn" darkAlt="Screen Shot2025 11 06at7 02 58PM Pn" className="hidden dark:block" width="1984" height="1006" data-path="images/Screenshot-2026-06-11-at-10.10.50-AM.png" />

The table below the '**Quick Start**' section contains resource IDs required for certain API requests. Available resources in the dropdown include: ***models***, ***base models***, ***datasets***, ***training types***, ***use cases***, ***fine-tuning categories*** and ***personas***.

<img src="https://mintcdn.com/4minds-e9525117/Fr4_soY0i7dvUkBj/images/Screenshot-2026-06-11-at-10.14.11-AM.png?fit=max&auto=format&n=Fr4_soY0i7dvUkBj&q=85&s=b34d986ac7ba8fbd407df0b130129d5e" alt="Screen Shot2025 11 06at7 11 15PM Pn" lightAlt="Screen Shot2025 11 06at7 11 15PM Pn" darkAlt="Screen Shot2025 11 06at7 11 15PM Pn" className="dark:hidden" width="1966" height="638" data-path="images/Screenshot-2026-06-11-at-10.14.11-AM.png" />

<img src="https://mintcdn.com/4minds-e9525117/Fr4_soY0i7dvUkBj/images/Screenshot-2026-06-11-at-10.12.08-AM.png?fit=max&auto=format&n=Fr4_soY0i7dvUkBj&q=85&s=c6a329910e3f5cdf7bcd7c213d254b05" alt="Screen Shot2025 11 06at7 11 15PM Pn" lightAlt="Screen Shot2025 11 06at7 11 15PM Pn" darkAlt="Screen Shot2025 11 06at7 11 15PM Pn" className="hidden dark:block" width="1970" height="578" data-path="images/Screenshot-2026-06-11-at-10.12.08-AM.png" />

## Authentication

To start working with the 4MINDS API, click the '**Create API Key**' button to generate your authentication key.

<img src="https://mintcdn.com/4minds-e9525117/Fr4_soY0i7dvUkBj/images/Screenshot-2026-06-11-at-10.15.11-AM.png?fit=max&auto=format&n=Fr4_soY0i7dvUkBj&q=85&s=ec22d6e7213e7cd9c5b258cd430d0789" alt="Screen Shot2025 11 06at7 20 24PM Pn" title="Screen Shot2025 11 06at7 20 24PM Pn" style={{ width:"35%" }} lightAlt="Screen Shot2025 11 06at7 20 24PM Pn" darkAlt="Screen Shot2025 11 06at7 20 24PM Pn" className="mx-auto dark:hidden" width="494" height="342" data-path="images/Screenshot-2026-06-11-at-10.15.11-AM.png" />

<img src="https://mintcdn.com/4minds-e9525117/Fr4_soY0i7dvUkBj/images/Screenshot-2026-06-11-at-10.16.03-AM.png?fit=max&auto=format&n=Fr4_soY0i7dvUkBj&q=85&s=5db18499131130d07ab617e131b5db77" alt="Screen Shot2025 11 06at7 20 24PM Pn" title="Screen Shot2025 11 06at7 20 24PM Pn" style={{ width:"35%" }} lightAlt="Screen Shot2025 11 06at7 20 24PM Pn" darkAlt="Screen Shot2025 11 06at7 20 24PM Pn" className="mx-auto hidden dark:block" width="490" height="334" data-path="images/Screenshot-2026-06-11-at-10.16.03-AM.png" />

Configure your API key by entering a name, selecting the key type (Universal or Model-specific), setting permissions (All Access, Read Only, Inference Only, or Custom) and expiration period. Click the '**Create Key**' button to finalize and generate your authentication key.

<img src="https://mintcdn.com/4minds-e9525117/Fr4_soY0i7dvUkBj/images/Screenshot-2026-06-11-at-10.24.48-AM.png?fit=max&auto=format&n=Fr4_soY0i7dvUkBj&q=85&s=f70dc693e3a9925ea8f5eccf2eb81179" alt="Screen Shot2025 11 06at7 28 00PM Pn" title="Screen Shot2025 11 06at7 28 00PM Pn" style={{ width:"40%" }} lightAlt="Screen Shot2025 11 06at7 28 00PM Pn" darkAlt="Screen Shot2025 11 06at7 28 00PM Pn" className="mx-auto dark:hidden" width="572" height="1254" data-path="images/Screenshot-2026-06-11-at-10.24.48-AM.png" />

<img src="https://mintcdn.com/4minds-e9525117/Fr4_soY0i7dvUkBj/images/Screenshot-2026-06-11-at-10.20.00-AM.png?fit=max&auto=format&n=Fr4_soY0i7dvUkBj&q=85&s=4d20f9ac54f803173b2564f40cc61c8f" alt="Screen Shot2025 11 06at7 28 00PM Pn" title="Screen Shot2025 11 06at7 28 00PM Pn" style={{ width:"40%" }} lightAlt="Screen Shot2025 11 06at7 28 00PM Pn" darkAlt="Screen Shot2025 11 06at7 28 00PM Pn" className="mx-auto hidden dark:block" width="564" height="1142" data-path="images/Screenshot-2026-06-11-at-10.20.00-AM.png" />

You'll receive a confirmation that your key has been created successfully.

<Note>
  Copy your API authentication key now and store it securely, as you won't be able to retrieve it later.
</Note>

<img src="https://mintcdn.com/4minds-e9525117/Fr4_soY0i7dvUkBj/images/Screenshot-2026-06-11-at-10.26.57-AM.png?fit=max&auto=format&n=Fr4_soY0i7dvUkBj&q=85&s=92b6a1d255f3df499ce74d88740ecc99" alt="Screen Shot2025 11 06at7 31 06PM Pn" title="Screen Shot2025 11 06at7 31 06PM Pn" style={{ width:"61%" }} lightAlt="Screen Shot2025 11 06at7 31 06PM Pn" darkAlt="Screen Shot2025 11 06at7 31 06PM Pn" className="mx-auto dark:hidden" width="582" height="632" data-path="images/Screenshot-2026-06-11-at-10.26.57-AM.png" />

<img src="https://mintcdn.com/4minds-e9525117/Fr4_soY0i7dvUkBj/images/Screenshot-2026-06-11-at-10.28.47-AM.png?fit=max&auto=format&n=Fr4_soY0i7dvUkBj&q=85&s=98a641cb0038ce24201fdd44776dabd7" alt="Screen Shot2025 11 06at7 31 06PM Pn" title="Screen Shot2025 11 06at7 31 06PM Pn" style={{ width:"61%" }} lightAlt="Screen Shot2025 11 06at7 31 06PM Pn" darkAlt="Screen Shot2025 11 06at7 31 06PM Pn" className="mx-auto hidden dark:block" width="580" height="660" data-path="images/Screenshot-2026-06-11-at-10.28.47-AM.png" />

## Base URL

```text theme={null}
https://api.4minds.ai
```

## Support

For API access or questions, contact support at [support@4minds.ai](mailto:support@4minds.ai).
