跳到主要内容

上传AiLog接口

  • POST /capi/v2/order/uploadAiLog

权重(IP): 1, 权重(UID): 1

重要规则

进入实盘交易阶段的BUIDL需要提供包含以下内容的AI日志(ai_log):

  • 模型版本信息
  • 输入与输出数据
  • 订单执行详情

该AI日志是验证AI参与度与合规性的必要文件。 未能提供有效AI参与证明的参赛者将被取消资格并从排行榜中移除。 仅官方白名单中核准的UID才被允许提交AI日志数据。

请求参数

参数名类型是否必填说明
orderIdLong订单ID
stageString阶段标识
modelString模型名称
inputJSON输入参数
outputJSON输出结果
explanationString解释说明



























请求示例1

curl -X POST "https://api-contract.weex.com/capi/v2/order/uploadAiLog" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json" \
-d '{
"orderId": null,
"stage": "Decision Making",
"model": "GPT-5-mini",
"input": {"prompt":"Summarize last 6h BTC/ETH correlation and give a directional signal."},
"output": {"response":"Sell ETH; correlation weakened, BTC showing dominance."},
"explanation": "Analysis of the past 6 hours of market data indicates a weakening correlation between BTC and ETH. BTC demonstrated relative strength and capital dominance, resulting in a directional signal favoring selling ETH."
}
'

请求示例2

curl -X POST "https://api-contract.weex.com/capi/v2/order/uploadAiLog" \
-H "ACCESS-KEY:*******" \
-H "ACCESS-SIGN:*" \
-H "ACCESS-PASSPHRASE:*" \
-H "ACCESS-TIMESTAMP:1659076670000" \
-H "locale:zh-CN" \
-H "Content-Type: application/json" \
-d '{
"orderId": null,
"stage": "Strategy Generation",
"model": "GPT-5-turbo",
"input": {
"prompt": "Predict BTC/USDT price trend for the next 3 hours.",
"data": {
"RSI_14": 36.8,
"EMA_20": 68950.4,
"FundingRate": -0.0021,
"OpenInterest": 512.3
}
},
"output": {
"signal": "Buy",
"confidence": 0.82,
"target_price": 69300,
"reason": "Negative funding + rising open interest implies short squeeze potential."
},
"explanation": "Low RSI and price near the EMA20 suggest weakening downside momentum. Negative funding with rising open interest points to short-side pressure and potential squeeze risk, indicating a bullish bias for BTC over the next three hours."
}'

返回参数

参数名类型说明
codeString请求状态码,"00000"表示成功
msgString请求结果描述,"success"表示成功
requestTimeLong请求时间戳(毫秒)
dataString返回的业务数据,"upload success"表示上传成功

返回示例

{
"code": "00000",
"msg": "success",
"requestTime": 1763103201300,
"data": "upload success"
}