SuperAPI AI 工具集

creative-insights-api

编程与开发

查看项目

更新于 10-16 01:20

技能介绍

用途:当用户询问 Motion 分析或创意洞察时,该技能负责构造 curl 请求调用 Creative Insights API,并格式化展示返回结果。

主要能力:支持按创意格式(image/video)、分组方式、排序字段(如 thumbstop、retention、spend)、排序方向、日期范围(预设如 last_7d、last_30d、last_90d 或自定义 ISO 起止日期)、返回数量上限以及指定创意素材 ID 进行查询。

使用方式:需先设置环境变量 MOTION_API_TOKEN 作为 Bearer 令牌。基础地址为 https://builder-be.staging.motionapp.com/api/creative-insights。流程为:解析用户请求确定参数,仅包含明确要求或上下文相关的参数,拼接查询字符串,执行 curl,最后以表格展示结果。示例:curl -H "Authorization: Bearer $MOTION_API_TOKEN" "https://builder-be.staging.motionapp.com/api/creative-insights?format=video&sortKey=thumbstop&sortDirection=desc&dateRange=last_30d&limit=10"。

默认行为:用户未指定参数时,默认 sortDirection=desc、dateRange=last_30d、limit=10。

限制:资料未提供错误处理、速率限制、权限范围及返回字段结构等细节。