Skip to content

查询历史完整快照

snapshot.list

按日期区间返回可复现的完整发布快照。

调用契约

项目
MethodGET
Path/api/gendangzou/snapshots
业务域snapshot
数据更新随完整数据版本发布

受控意图:list_snapshotsselect_historical_datecompare_history

请求参数

参数位置类型必填约束与默认值
startquerystring格式 date
endquerystring格式 date
pagequeryinteger从 1 开始的页码;默认 1;最小 1
page_sizequeryinteger默认 50;最小 1;最大 100
detailquerystringfull 保留完整 Web 响应;compact 返回供 Agent 使用的稳定快照引用;默认 full;可选 fullcompact
includequerystring逗号分隔的精简版本扩展:sector_dynamics、coverage;最长 80 字符

最小调用

bash
curl --fail --silent --show-error \
  -H "Authorization: Bearer $MOBIUSQUANT_TOKEN" \
  "https://api.mobiusquant.ai/api/gendangzou/snapshots?page_size=10&detail=compact"

响应

字段类型必有含义
itemsarray<SnapshotContext / SnapshotReference>当前查询返回的结果列表。
paginationPagination分页位置、总数和总页数。

调用要点

  • 以响应中的实际 snapshot_idas_of 作为版本依据。
  • Agent 建议使用 detail=compact 控制上下文体积。
  • 分页从 page_size=10 开始,确认需要后再继续翻页。

关联能力

机器可读契约

AI 交易的基础设施平台