跳转到主要内容
GET https://sys.poixe.com/api/channels/pricing-options
查询各渠道类型的可选价格配置。在 创建渠道 时,price 字段必须从本接口返回的 prices 列表中选取有效值。

查询参数

string
按渠道类型 slug 过滤(可重复传入多个)。省略则返回所有类型。例:?channel_type=openai_chatgpt&channel_type=anthropic_claude

响应字段

返回数组,每项代表一个渠道类型的定价信息:
string
渠道类型 slug,如 openai_chatgpt
string
渠道类型展示名称,如 OpenAI ChatGPT
array
该类型的可用价格配置列表: