Inference API
List models
Lists the model aliases this key may address.
GEThttps://api.futureway.ai/v1/models
Authentication
- Header
Authorization: Bearer $FUTUREWAY_API_KEY- Scope
- inferenceInference API: chat completions, embeddings, model list.
- Key kinds
- personal · service
- Format
- OpenAI-compatible
Details on keys and scopes under Authentication.
Example request
curl https://api.futureway.ai/v1/models \
-H "Authorization: Bearer $FUTUREWAY_API_KEY"Response
200
{
"object": "list",
"data": [
{
"id": "futureway-fast",
"object": "model",
"owned_by": "futureway"
},
{
"id": "futureway-smart",
"object": "model",
"owned_by": "futureway"
},
{
"id": "futureway-bigthink",
"object": "model",
"owned_by": "futureway"
},
{
"id": "futureway-embed",
"object": "model",
"owned_by": "futureway"
}
]
}Errors
| Status | Code | Description |
|---|---|---|
| 401 | unauthorized | No, invalid or revoked API key. |
| 429 | rate_limit_error | Too many requests in the window; retry-after names the wait. |
Formats and handling under Errors.