Get total count of available models
GET
https://novapai.ai/api/v1/models/count
GET
/api/v1/models/count
cURL
$curl https://novapai.ai/api/v1/models/count \
>-H "Authorization: Bearer <token>"200 Retrieved
reference-models-list-models-count-01.json
{
"data": {
"count": 150
}
}Authentication
Authorization Bearer
API key as bearer token in Authorization header
Query parameters
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
| output_modalities | string | 否 | Filter models by output modality. Accepts a comma-separated list of modalities (text, image, audio, embeddings) or “all” to include all models. Defaults to “text”. |
Response
Returns the total count of available models
| 字段 | 类型 | 必填 | 说明 |
|---|---|---|---|
| data | object | - | Model count data |
Errors
| 状态码 | 说明 |
|---|---|
| 400 | Bad Request Error |
| 500 | Internal Server Error |