ads_list_workflow_executions

List the AMC queries run on the store's instance — from these tools, the AMC console or a schedule — newest first, with their status.

readAmazon Adsads.amc-reporting

Use it to find a run whose id you no longer have, or to see how many are still running before starting more. Amazon does not list dry runs. Amazon Ads API · listWorkflowExecutions · GET /amc/reporting/{instanceId}/workflowExecutions Docs: https://advertising.amazon.com/API/docs/en-us/amc-reporting#tag/Workflow-executions/operation/listWorkflowExecutions

Call it

In an AI client (MCP)

tools/call
{
  "name": "ads_list_workflow_executions",
  "arguments": {
    "store": "myStore-US",
    "country_code": "<country_code>"
  }
}

From code (Tool API)

curl -X POST https://api.sellersheetai.com/api/v1/tools/ads_list_workflow_executions \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"store":"myStore-US","country_code":"<country_code>"}'
Early access — the Tool API is open on request, contact us.

Arguments

NameTypeDescription
storerequiredstringthe store ref `<store>-<CC>` (name-country, e.g. 'myStore-US') — one of get_user_context's store_refs, verbatim.
country_coderequiredstringthe Ads profile's 2-letter country code (e.g. 'US').
min_creation_timestringruns created at or after 'YYYY-MM-DDTHH:MM:SS'. Default: 7 days ago (UTC) when workflow_id is not given either — Amazon needs one of the two.
max_creation_timestringruns created before 'YYYY-MM-DDTHH:MM:SS'.
time_zonestringthe IANA zone of the two times, e.g. 'Asia/Dubai'; default UTC.
workflow_idstringonly the runs of this saved workflow.
include_cancelledbooleantrue to list cancelled runs too.
include_workflowbooleantrue to add each run's SQL (data.executions[].sql_query).
sort_ascendingbooleantrue for oldest first.
limitintegerruns per page, 1–100.
next_tokenstringthe cursor from the previous call's data.nextToken; omit for the first page.

Result

Every tool answers {notification, data, human_action}; data carries:

  • data.executions[] — {workflow_execution_id, status, status_reason, workflow_id, create_time, time_window_start, time_window_end, execution_seconds, sql_query}.
  • data.min_creation_time — the start of the period listed.
  • data.nextToken — set when more runs remain.

On this page

Actions

View as Markdown

Ask an assistant

Ask ChatGPTAsk Claude