Cogine LLM Gateway

模型管理

curl -X GET "https://loading/api/models/"
Empty

创建模型元数据

POST
/api/models/

Response Body

curl -X POST "https://loading/api/models/"
Empty

更新模型元数据

PUT
/api/models/

Response Body

curl -X PUT "https://loading/api/models/"
Empty

搜索模型

GET
/api/models/search

Query Parameters

keyword?string

Response Body

curl -X GET "https://loading/api/models/search"
Empty

获取指定模型

GET
/api/models/{id}

Path Parameters

id*integer

Response Body

curl -X GET "https://loading/api/models/0"
Empty

删除模型

DELETE
/api/models/{id}

Path Parameters

id*integer

Response Body

curl -X DELETE "https://loading/api/models/0"
Empty

预览上游模型同步

GET
/api/models/sync_upstream/preview

Response Body

curl -X GET "https://loading/api/models/sync_upstream/preview"
Empty

同步上游模型

POST
/api/models/sync_upstream

Response Body

curl -X POST "https://loading/api/models/sync_upstream"
Empty

获取缺失模型

GET
/api/models/missing

Response Body

curl -X GET "https://loading/api/models/missing"
Empty