API Compatibility
OpenAI · Models
Lists all available models.#
GET
/v1/modelsLists the currently available models, providing basic information such as the owner and availability.
This endpoint implements the OpenAI models listing API specification.For complete reference, see: https://platform.openai.com/docs/api-reference/models/list
Responses
| Status | Type | Description |
|---|---|---|
| 200 | [] | OK |
curl -X GET "$LMKIT_ONE_URL/v1/models" \
-H "Authorization: Bearer $LMKIT_API_KEY"Retrieves details for a specific model.#
GET
/v1/models/{modelId}Retrieves a model instance, providing basic information.
This endpoint implements the OpenAI model retrieval API specification.For complete reference, see: https://platform.openai.com/docs/api-reference/models/retrieve
Parameters
| Name | In | Type | Description |
|---|---|---|---|
modelIdrequired | path | string | The identifier of the model. |
Responses
| Status | Type | Description |
|---|---|---|
| 200 | OK | |
| 404 | Not Found |
curl -X GET "$LMKIT_ONE_URL/v1/models/$MODELID" \
-H "Authorization: Bearer $LMKIT_API_KEY"