请求头
枚举值:
application/json
Bearer 身份验证格式: Bearer {{API 秘钥}}。
响应
包含以下属性的模型对象数组:
curl --request GET \
--url https://api.jiekou.ai/openai/v1/models \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>'
{
"data": [
{
"id": "<string>",
"created": 123,
"object": "<string>",
"input_token_price_per_m": 123,
"output_token_price_per_m": 123,
"title": "<string>",
"description": "<string>",
"context_size": 123
}
]
}
curl --request GET \
--url https://api.jiekou.ai/openai/v1/models \
--header 'Authorization: <authorization>' \
--header 'Content-Type: <content-type>'
{
"data": [
{
"id": "<string>",
"created": 123,
"object": "<string>",
"input_token_price_per_m": 123,
"output_token_price_per_m": 123,
"title": "<string>",
"description": "<string>",
"context_size": 123
}
]
}
application/json
Hide 模型对象属性