Version: v1
Friendli Endpoints API Reference
This is an OpenAPI reference of Friendli Endpoints API. You can interact with the API through HTTP requests from any language or via our Python SDK. To install the Python SDK, run the following command:
pip install friendli-client
- To send inference requests to the Friendli Serverless Endpoints, send requests to the URI with the prefix:
https://inference.friendli.ai
. - To send inference requests to the Friendli Dedicated Endpoints, send requests to the URI with the prefix:
https://inference.friendli.ai/dedicated
.
For more information, visit FriendliAI.
Authentication
- HTTP: Bearer Auth
When using Friendli Endpoints API for inference requests, you need to provide a personal access token for authentication and authorization purposes. A personal access token serves as an alternative method of authorization to signing in with an email and a password. You can generate a new access token through the Friendli Suite, at your "User Settings" page by following the steps below.
- Go to the Friendli Suite and sign in with your account.
- Click the profile icon at the top-right corner of the page.
- Click "User Settings" menu.
- Go to the "Tokens" tab on the navigation bar.
- Create a new access token by clicking the "Create token" button.
- Copy the token and save it in a safe place. You will not be able to see this token again once the page is refreshed.
Security Scheme Type: | http |
---|---|
HTTP Authorization Scheme: | bearer |
Bearer format: | JWT |