获取令牌支持模型
GET /v1/models
概览
| Method | GET |
|---|---|
| Path | /v1/models |
| Type | http |
| Status | 1 |
| Module | 2102810 |
| Folder | 53539301 |
参数
{ "header": [ { "name": "content-type", "required": true, "description": "", "id": "7H2Rqn6XK7", "type": "string", "enable": true, "sampleValue": "application/json" }, { "required": false, "description": "系统令牌", "type": "string", "id": "4OUJB2UZ7F", "enable": true, "name": "Authorization", "sampleValue": "{{YOUR_API_KEY}}" } ] }
请求体
{ "type": "none", "parameters": [], "jsonSchema": { "type": "object", "properties": { "name": { "type": "string" }, "remain_quota": { "type": "integer" }, "expired_time": { "type": "integer" }, "unlimited_quota": { "type": "boolean" }, "model_limits_enabled": { "type": "boolean" }, "model_limits": { "type": "string" }, "allow_ips": { "type": "string" }, "group": { "type": "string" } }, "required": [ "name", "remain_quota", "expired_time", "unlimited_quota", "model_limits_enabled", "model_limits", "allow_ips", "group" ] }, "mediaType": "", "examples": [ { "value": "", "mediaType": "application/json", "description": "" } ], "oasExtensions": "" }
响应
[ { "id": 684945506, "name": "成功", "code": 200, "contentType": "json", "jsonSchema": { "type": "object", "properties": {} }, "itemSchema": {}, "description": "", "mediaType": "", "headers": [], "oasExtensions": "" } ]