跳轉到主要內容
POST https://api.acedata.cloud/webextrator/tasks免費 查詢歷史 render / extract 任務(保留 7 天)。

單條查詢

{
  "action": "retrieve",
  "id": "550e8400-e29b-41d4-a716-446655440000"
}
或者透過 trace_id
{
  "action": "retrieve",
  "trace_id": "550e8400-e29b-41d4-a716-446655440001"
}
返回單個任務物件(包含 request / response / started_at / finished_at 等欄位)。

批量查詢

{
  "action": "retrieve_batch",
  "ids": ["...", "..."],
  "limit": 12,
  "offset": 0
}
或者用 trace_ids,或兩者都不傳以分頁拉取自己的任務歷史。 返回:
{
  "items": [ { /* task */ }, ... ],
  "count": 2
}

欄位定義

欄位說明
id / task_id任務唯一 ID
trace_id調用鏈 ID(與 PlatformGateway / CLS 對齊)
typerenderextract
request原始請求體
response渲染 / 抽取結果(同 sync response 的 data
started_at / finished_at / elapsed時間戳與耗時(秒)
該介面免費、不計入用量。