List models
List the models your API key is allowed to use.
GET
/modelsList the models your API key is allowed to use.
The API serves one model, olive. Call this endpoint to confirm a
key works before sending a real completion. It is the cheapest request
you can make, and it fails with the same 401 and 403 bodies as every
other endpoint. It still counts against your rate limit.
Authorization
BearerAuth AuthorizationBearer <token>
Your Avey API key, sent as Authorization: Bearer <key>. This is the header the OpenAI SDKs already send, so pass the key as the client's ordinary api_key and no further configuration is needed.
In: header
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl https://api.avey.ai/llm/models \ -H "Authorization: Bearer $AVEY_API_KEY"{ "object": "list", "data": [ { "id": "olive", "object": "model", "created": 1769904000, "owned_by": "avey", "context_length": 65536, "max_output_tokens": 16384 } ]}