Gateway

Retrieve one model

One entry of GET /v1/models, by id — what OpenAI SDKs call for models.retrieve(id). A model this key cannot use is 404 model_not_found, exactly as the list omits it. Requires the inference scope.

Calling from a browser. Requests carrying an Origin header are refused with a 403 unless they also send x-roar-dangerous-browser-access: true. Your API key belongs on your server: put it in a web page and every visitor can read it, and there is no way to un-leak it afterwards. Send the header only when that is genuinely what you want — an internal tool, or an app where each person supplies their own key. Server-side calls send no Origin and are unaffected.

get/v1/models/{model}

Request

  • Base URL: https://api.roar-ai.com
  • URL: https://api.roar-ai.com/v1/models/{model}
  • Auth: HTTP bearer

Path parameters

modelstring required

The model id, as GET /v1/models lists it

Response

The model

Changes

No recorded changes to this operation across all 1 revision of this API.