scrapewise_get_matched_export_latest_status
Tells whether the newest matched-results file of a group (one gzip CSV or JSON Lines file of all matched
rows of the group's CURRENT matching run) is ready, how fresh it is, and the address to download it. Read
only; costs nothing; never starts a build and never returns file bytes - download the file over HTTPS with
the same API key (it can be hundreds of MB):
curl -H "Authorization: Bearer <key>" -o lu.jsonl.gz "<url>"
Args:
- id (string, path, required): the group's id.
- format (string, query, optional): jsonl (default), csv or xlsx.
- compression (string, query, optional): none (with csv: a plain .csv file) or gzip (default).
- layout (string, query, optional): human or machine (default: human for xlsx and plain csv, machine
for csv.gz and jsonl).
- systemFields (boolean, query, optional): fixed per format here; a value other than the layout's
default is 400.
- bucket (string, query, optional): all (default), matched, review or no - the matched grid's buckets.
- customerRef (string, query, optional): only for a Scrapewise admin key while the admin works in
another customer's account (Take Over): the customerUniqueRef of that customer. Required then
(409 TAKE_OVER_ACTIVE without it); leave it out otherwise.
Returns:
{ready, state, jobId, matcherRunId, matchedAt, refreshStamp, verdictEpoch, stale, bytes, rows, builtAt,
format, bucket, path, url, etag}. ready=true: the file at url is complete and belongs to the current
matching run (matchedAt = when that run finished; refreshStamp = the newest daily price refresh inside
it). stale=true: newer prices or review decisions exist and a newer file is on its way - the current
one stays downloadable. ready=false with state QUEUED/RUNNING: a file is being built; null state: none
exists yet (a GET of url starts one). contentVersion: 2 = the current file contents, 1 = a file built
before them (served until the new one is ready). Each row of the file carries the SKU column,
matchDecision (MATCH/REVIEW/NO), matchScore, reviewed, reviewVerdict (approve/reject/blank),
pricesRefreshedAt (= refreshStamp, on every row) and priceRefreshedAt (only on rows whose price a
refresh changed); machine layout (csv.gz, jsonl) also priceSourceJobId, matcherRunId, ownKey and
masterKey; human layout (xlsx, plain csv) your own SKU, masterKey, masterName and masterPrice.
Rows matched by exact EAN show ean_equal in decidedBy; their picture line is not checked. The group's
daily matched file must be on: the group owner turns it on in the portal, group export settings.
Examples:
- Use when: "is today's matched file for group {id} ready, and where do I get it?".
- Use when: checking how fresh the file is before a daily import (matchedAt, refreshStamp).
- Don't use when: you need single matched rows -> read the matched data instead.
Error Handling:
- 400 INVALID_EXPORT_REQUEST: unknown format; 400 (CustomerError): unknown bucket or no group with this
id for this customer.
- 404 EXPORT_NO_MATCHED_RUN: the group has no finished matching run yet.
- 409 TAKE_OVER_ACTIVE: this key's admin works in another customer's account - end Take Over or send
customerRef=<that customer's ref>.
- 402 without the data-export feature; 401 Unauthorized; 500 INTERNAL.[runtime hint] This tool returns JSON-as-text — its response shape is dynamic (per-scraper itemsConfig, file binary, etc.) so the MCP outputSchema is omitted. Do not rely on the presence of any specific field in the response; treat the result as a string-or-object blob and parse defensively.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "scrapewise_get_matched_export_latest_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| bucket | No | ||
| format | No | ||
| layout | No | human | machine. Default: human for xlsx and plain csv, machine for csv.gz and jsonl. | |
| compression | No | none = a plain .csv file (with format=csv); gzip (default) = .csv.gz / .jsonl.gz. | |
| customerRef | No | Admin keys in Take Over only: the customerUniqueRef of the customer the admin works for. Required then; leave it out otherwise. | |
| systemFields | No | Fixed per format on the daily file: a value other than the layout's default is 400. |