List Models
List the models available to the current tenant. This endpoint aligns with GET /v1/models and returns a list only; it does not provide the GET /v1/models/{model} detail endpoint.
GET
Authentication
Add Authorization: Bearer <API_KEY> to the request header to authenticate. You can generate a key on the "API Keys" page of the console.
curl https://api.mosi.cn/v1/models \
-H "Authorization: Bearer $MOSS_API_KEY"
Request parameters
No request body and no query parameters; the complete request is the authentication example above.
Response fields
| Field | Type | Always returned | Description |
|---|---|---|---|
| object | string | Yes | Always |
| data[].id | string | Yes | The model id; the |
| data[].object | string | Yes | Always |
| data[].created | integer | Yes | Model record creation time, a Unix timestamp in seconds. |
| data[].owned_by | string | Yes | The model owner; subject to the actual server response. |
Response example
{
"object": "list",
"data": [
{
"id": "moss-tts",
"object": "model",
"created": 1710000000,
"owned_by": "agw"
}
]
}