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

# API Reference

> Complete API reference for Friendli Suite. Explore endpoints for Model APIs, Dedicated Endpoints, Container, File, and Dataset APIs with HTTP examples.

export const RoundedBorderBox = ({children, caption}) => <div className="rounded-border-box">
    {children}
    {caption && <p className="text-sm text-gray-700 dark:text-gray-400">{caption}</p>}
  </div>;

OpenAPI reference of Friendli Suite API. You can interact with the API through HTTP requests from any language.

To send inference requests, send to the URI with the prefix: `https://api.friendli.ai`.
For more information, visit [FriendliAI](https://friendli.ai).

## Authentication

When using Friendli Suite API for inference requests, you need to provide a **Personal API Key** for authentication and authorization purposes.
A Personal API key serves as an alternative method of authorization to signing in with an email and a password.
To generate a new Personal API key, go to your **'[Personal Settings > API Keys](https://friendli.ai/suite/~/setting/keys)'** page in the [Friendli Suite](https://friendli.ai/suite) and follow the steps below.

1. Go to the [Friendli Suite](https://friendli.ai/suite) and sign in with your account.

2. Click the profile icon at the top-right corner of the page.

3. Click the **'API Keys'** menu.

   <RoundedBorderBox>
     <img alt="Personal Settings Menu" style={{ maxWidth: "240px", width: "-webkit-fill-available" }} src="https://mintcdn.com/friendliai/y312xWiY11dgE7oz/static/images/personal-settings-menu.png?fit=max&auto=format&n=y312xWiY11dgE7oz&q=85&s=b1e013a1e3de8446dbcd65a0cccca375" width="702" height="704" data-path="static/images/personal-settings-menu.png" />
   </RoundedBorderBox>

4. Click the **'Create API Key'** button to create a new Personal API key.

5. Copy the API key and save it in a safe place. You will not be able to see this API key again once the page is refreshed.

   <RoundedBorderBox>
     <img alt="Personal API Keys" src="https://mintcdn.com/friendliai/y312xWiY11dgE7oz/static/images/personal-api-keys.png?fit=max&auto=format&n=y312xWiY11dgE7oz&q=85&s=87b55ed018879f51b496ccbf94736f22" width="1708" height="640" data-path="static/images/personal-api-keys.png" />
   </RoundedBorderBox>
