reports_getReports

List the SP-API reports Amazon already holds for the store.

readAmazon Seller (SP-API)sp.reports_2021-06-30

Call it BEFORE reports_createReport: a recent DONE report (the first entry is the newest) is fetched with reports_getReport and saves the 1–15 minute wait for a new one. Amazon SP-API · getReports · GET /reports/2021-06-30/reports

Call it

In an AI client (MCP)

tools/call
{
  "name": "reports_getReports",
  "arguments": {
    "store": "myStore-US"
  }
}

From code (Tool API)

curl -X POST https://api.sellersheetai.com/api/v1/tools/reports_getReports \
  -H "Authorization: Bearer $SELLERSHEET_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"store":"myStore-US"}'
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.
reportTypestringone SP-API reportType constant or human-readable name — the one-value shortcut for reportTypes. Amazon requires reportType or reportTypes unless nextToken pages an earlier result.
reportTypesobject[]1–10 constants or names, matched as OR (e.g. ['GET_MERCHANT_LISTINGS_ALL_DATA', 'GET_FBA_INVENTORY_AGED_DATA']) — auditing several types costs ONE call against an endpoint limited to 0.0222 req/s. Wins over reportType when both are given. A list of report types used to filter reports. Refer to Report Type Values for more information. When reportTypes is provided, the other filter parameters (processingStatuses, marketplaceIds, createdSince, createdUntil) and pageSize may also be provided. Either reportTypes or nextToken is required.
processingStatusesstring[]the statuses to keep (e.g. ['DONE']); default all. Allowed: CANCELLED | DONE | FATAL | IN_PROGRESS | IN_QUEUE.CANCELLEDDONEFATALIN_PROGRESSIN_QUEUE
marketplaceIdsobject[]optional marketplaceId strings; omit for the store's own marketplace. Ignored with nextToken. A list of marketplace identifiers used to filter reports. The reports returned will match at least one of the marketplaces that you specify.
createdSincestring · date-timeISO 8601 bounds on the report's creation time.
createdUntilstring · date-timeISO 8601 bounds on the report's creation time.
pageSizeinteger · 1–1001–100 (default 10).Default: 10
nextTokenstringthe cursor from the previous call's data.nextToken; omit for the first page. A string token returned in the response to your previous request. nextToken is returned when the number of results exceeds the specified pageSize value. To get the next page of results, call the getReports operation and include this token as the only parameter. Specifying nextToken with any other parameters will cause the request to fail.

Result

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

  • data.count — reports in this page.
  • data.reports — [{reportId (for reports_getReport), reportType, processingStatus, createdTime, dataStartTime, dataEndTime, marketplaceIds, reportScheduleId (when scheduled), reportDocumentId (when DONE)}], newest first.
  • data.nextToken — only when more pages exist — pass it back as nextToken (every other filter is then ignored).

On this page

Actions

View as Markdown

Ask an assistant

Ask ChatGPTAsk Claude