请求头
枚举值:application/json。
Bearer 身份验证格式,例如:Bearer {{API 密钥}}。
响应参数
包含以下属性的模型对象的数组。
curl --request GET \
  --url https://api.ppinfra.com/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.ppinfra.com/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
    }
  ]
}显示 properties