统一模型接入与用量管理 立即注册
蓝天
原站参考文档

以下为胜算云公开资料。文中的原站账号、地址、定价和专有服务不属于蓝天;蓝天可用模型以当前 sub2api 配置为准。接入蓝天请先查看 快速开始。

查看原文

POST 市场 SkillBot 工作簿报价

POST /loom/v1/marketListings/{marketListing}:quoteWorkbook 市场 SkillBot 工作簿报价
所属分组:Market Runs · 市场执行与报价

BASE URLhttps://router.shengsuanyun.com/api
认证方式Authorization: Bearer YOUR_API_KEY

端点列表

← 上一页
市场 SkillBot 运行报价
下一页 →
校验市场 SkillBot 工作簿

接口参考

以下为原文协议定义与示例,原站地址不代表蓝天已开通对应能力。蓝天接入地址和模型以本地配置为准。

蓝天 API 密钥
POST/loom/v1/marketListings/{marketListing}:quoteWorkbookQuote Market SkillBot workbook

请求参数

参数位置 / 类型说明
marketListing必填path / anyMarket listing ID

请求体 · 必填

Workbook quote request

application/json
字段类型说明
clientRequestIdstring
confirmboolean
contentarray
展开结构

array

数组元素

integer

expectedListingVersionIdstring
expectedPaymentModestring
filenamestring
listingVersionIdstring
maxCreatorFeeobject
展开结构
字段类型说明
amount必填string
currency必填string
paymentPreferencestring
{
  "clientRequestId": "string",
  "confirm": false,
  "content": [
    0
  ],
  "expectedListingVersionId": "string",
  "expectedPaymentMode": "string",
  "filename": "string",
  "listingVersionId": "string",
  "maxCreatorFee": {
    "amount": "1.7027920",
    "currency": "CNY"
  },
  "paymentPreference": "string"
}

请求示例

参考地址:https://loomloom.shengsuanyun.com。路径参数与凭据需替换;非 JSON 请求体需按对应格式准备。

curl -X POST 'https://loomloom.shengsuanyun.com/loom/v1/marketListings/{marketListing}:quoteWorkbook' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  --data '{
  "clientRequestId": "string",
  "confirm": false,
  "content": [
    0
  ],
  "expectedListingVersionId": "string",
  "expectedPaymentMode": "string",
  "filename": "string",
  "listingVersionId": "string",
  "maxCreatorFee": {
    "amount": "1.7027920",
    "currency": "CNY"
  },
  "paymentPreference": "string"
}'

响应

200 OK

application/json

字段类型说明
currencystring
effectiveCreatorFeeobject
展开结构
字段类型说明
amount必填string
currency必填string
effectivePaymentModestring
entitlementExpiresAtstring
estimatedBuyerPayableobject
展开结构
字段类型说明
amount必填string
currency必填string
estimatedBuyerPayableTinteger
estimatedExecutionCostobject
展开结构
字段类型说明
amount必填string
currency必填string
estimatedExecutionCostTinteger
listingVersionIdstring
pricingRuleVersionstring
purchaseOptionsarray
展开结构

array

数组元素
字段类型说明
bundleIdstring
bundleNamestring
revisioninteger
tiersarray
展开结构

array

数组元素
字段类型说明
durationDaysinteger
enabledboolean
priceobject
展开结构
字段类型说明
amount必填string
currency必填string
tierTypestring
quoteIdstring
requiresPaymentChoiceboolean
taskCountinteger
taskFixedFeeobject
展开结构
字段类型说明
amount必填string
currency必填string
taskFixedFeeTinteger
{
  "currency": "string",
  "effectiveCreatorFee": {
    "amount": "1.7027920",
    "currency": "CNY"
  },
  "effectivePaymentMode": "string",
  "entitlementExpiresAt": "string",
  "estimatedBuyerPayable": {
    "amount": "1.7027920",
    "currency": "CNY"
  },
  "estimatedBuyerPayableT": 0,
  "estimatedExecutionCost": {
    "amount": "1.7027920",
    "currency": "CNY"
  },
  "estimatedExecutionCostT": 0,
  "listingVersionId": "string",
  "pricingRuleVersion": "string",
  "purchaseOptions": [
    {
      "bundleId": "string",
      "bundleName": "string",
      "revision": 0,
      "tiers": [
        {
          "durationDays": 0,
          "enabled": false,
          "price": {
            "amount": "1.7027920",
            "currency": "CNY"
          },
          "tierType": "string"
        }
      ]
    }
  ],
  "quoteId": "string",
  "requiresPaymentChoice": false,
  "taskCount": 0,
  "taskFixedFee": {
    "amount": "1.7027920",
    "currency": "CNY"
  },
  "taskFixedFeeT": 0
}
400 Bad Request

application/json

字段类型说明
codestring
errorstring
{
  "code": "string",
  "error": "string"
}
401 Unauthorized

application/json

字段类型说明
codestring
errorstring
{
  "code": "string",
  "error": "string"
}
500 Internal Server Error

application/json

字段类型说明
codestring
errorstring
{
  "code": "string",
  "error": "string"
}