DocsMaple Proxy

List models

GET /v1/models through Maple Proxy returns the Maple models your API key can call, straight from Maple's backend, in OpenAI's list format.

HTTP
GET /v1/models

Lists the models you can call. The request and response follow OpenAI’s List models API.

Shell
curl http://127.0.0.1:8080/v1/models \
  -H "Authorization: Bearer $MAPLE_API_KEY"

What differs from OpenAI

  • Maple models. The list contains Maple model IDs. See models for names and rates.
  • It needs a key. Like every /v1 route, this call needs an API key, and it goes through the encrypted session. It is a good first test that your key and the enclave connection both work.
  • Only the list route. GET /v1/models/{model} isn’t forwarded and returns 404 from the proxy.

Last updated