Quickstart
The Pareto application programming interface (API) uses the OpenAI Chat Completions format.Before you start
You need a Pareto API key. Keep the key on your server and outside source control.1. Find your model
Each Pareto API key is assigned to one model. The response contains adata list. Copy the model id from that list.
2. Send a message
ReplaceMODEL_ID with an id from the models response. The request body uses JavaScript Object Notation (JSON). The Authorization header carries the API key. The word Bearer tells the API to use the next value as the key.
choices[0].message.content.
3. Connect an app
The base URL is the main address that the app uses to send requests.
Your app must support a custom base URL, an API key, and a model ID.
See SDK examples or the API reference.