API for Querying Information About a Single Model
Function
Queries information about a specified model.
Format
Operation type: GET
URL: https://{ip}:{port}/v1/models/{model}
Replace {ip} and {port} with the IP address and port number of the service plane, that is, ipAddress and port.
Request Parameters
The {model} field in the URL is the model name.
Usage Example
Request example:
GET https://{ip}:{port}/v1/models/model-id-0
Response example:
{
"id": "model-id-0",
"object": "model",
"created": 1686935002,
"owned_by": "MindIE Server"
}
Response status code: 200
Output Description
Parameter |
Type |
Description |
|---|---|---|
id |
String |
Model name. |
object |
String |
Data result type. The default value is model. |
created |
Integer |
Model loading timestamp, that is, service startup timestamp, in seconds. |
owned_by |
String |
Model owner. The default value is MindIE Server. |
Parent topic: OpenAI APIs Compatible with vLLM