Skip to main content

Upload AI log

  • POST /capi/v2/order/uploadAiLog

Weight(IP): 1, Weight(UID): 1

Important rule

BUIDLs entering the live trading phase must provide an AI log (ai_log) containing:

  • Model version
  • Input and output data
  • Order execution details

The AI log is required to verify AI involvement and compliance. If you fail to provide valid proof of AI involvement, we will disqualify your team and remove it from the rankings. Only approved UIDs on the official allowlist may submit AI log data.

Request parameters

ParameterTypeRequired?Description
orderIdLongNoOrder ID
stageStringYesStage identifier
modelStringYesModel name
inputJSONYesInput parameters
outputJSONYesOutput results
explanationStringNoExplanation

Request example

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": "stage",
"model": "model",
"input": {"input":"input"},
"output": {"output":"output"},
"explanation": "explanation"
}'

Response parameters

ParameterTypeDescription
codeStringRequest status code, "00000" indicates success
msgStringRequest result description, "success" indicates success
requestTimeLongRequest timestamp (milliseconds)
dataStringReturned business data, "upload success" indicates upload successful

Response example

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