跳到正文

Get FAQ list (AI insights)

GET
/ai_insights

Retrieve a list of AI insights (FAQ questions)

授权

ApiKeyAuth

API key authentication. Format: cpt_{env}v1{random}_{checksum}. Example: cpt_prod_v1_xxxxxxxxxx_xx

类型
API Key (header: X-CP-TERMINAL-API-KEY)

参数

查询参数

lang

Language code

类型
string
有效值
"en""ja""zh"
示例"en"
默认
"en"
limit

Maximum number of questions to return

类型
integer
示例4
最小值
1
默认
4

响应

Successful response

application/json
JSON
{
  
"code": 0,
  
"message": "ok",
  
"data": [
  
  
{
  
  
  
"id": 1,
  
  
  
"key": "market_price_sentiment",
  
  
  
"question": "What is the Current Market Sentiment?",
  
  
  
"lang": "en"
  
  
}
  
]
}

试验场

授权
变量

示例

技术支持 VitePress OpenAPI