Docs
Get Started
Get Started
Guide through the steps to get started with using our API.
This page will guide you through the steps to get started with using our API.
Step 1: Obtain Your API Token
To use the LLM Engine API, you need an API token. You can find your API token in the User Dashboard:
- Log in to your account on LLM Engine website
- Click on your profile picture or username in the top right corner
- Select "Dashboard" from the top menu
- Scroll down to the "API Settings" section
Copy the API token by clicking the copy button next to it. You will use this token to authenticate your API requests.
Step 2: Use Your API Token with the API
To use the LLM Engine API, you need to include your API token in the X-API-Key
header of your request. Here's an example using curl
:
Replace YOUR_API_TOKEN
with your actual API token.
API Request Headers
X-API-Key
: Your API token (required)User-Agent
: A string identifying the client making the request (optional, but recommended)Content-Type
: The format of the request body (e.g.application/json
) (required)
Example Use Cases
Here are some example use cases for the LLM Engine API:
- Text Classification: Send a text query to the API with a specific model and get back the classified output.
- Language Translation: Send a text query to the API with a specific model and get back the translated output.
We hope this helps you get started with using the LLM Engine API! If you have any questions or need further assistance, please don't hesitate to contact us.