Create a bulk export job
Start an asynchronous export of PDP or image scores.
/v1/exportsQueues an asynchronous bulk export for the caller's organization. The
response returns immediately with status: PROCESSING and a status_url
pointing at Retrieve an export; poll there
until status reaches COMPLETED to obtain the short-lived presigned
download URL.
Org scope is enforced by the access token; the optional filters
block narrows within the org. Each caller is limited to one in-flight
PROCESSING export at a time — additional submissions
return 409 EXPORT_CONCURRENCY_LIMIT.
CSV format
Exports are CSV in v1 (JSONL and Parquet deferred to v2). The header
row is fixed per subject.
New columns are appended after the existing ones; read columns by
header name, not position.
subject=images exports also include images you submitted through
the API that are not currently on a PDP, such as images scored on
their own with Submit an image for scoring
or images no longer linked to any PDP. Each such image gets one row,
after all PDP image rows.
subject=pdps column set
| Column | Type | Notes |
|---|---|---|
pdp_id | uuid | PDP identifier; stable across refreshes |
portfolio_id | uuid | Owning portfolio |
retailer_region | string | e.g. amazon_us, walmart_us, or us_composite_us for PDPs submitted for another retailer |
item_id | string | ASIN or GTIN, depending on retailer. A value starting with =, +, -, @, a tab, a carriage return or a line feed, ignoring leading spaces, is written with a leading ' so a spreadsheet does not run it as a formula |
name | string | null | PDP display name. A value starting with =, +, -, @, a tab, a carriage return or a line feed, ignoring leading spaces, is written with a leading ' so a spreadsheet does not run it as a formula; the JSON endpoints return the stored value |
brand | string | null | A value starting with =, +, -, @, a tab, a carriage return or a line feed, ignoring leading spaces, is written with a leading ' so a spreadsheet does not run it as a formula; the JSON endpoints return the stored value |
category_id | uuid | null | Vizit category identifier |
category | string | null | Category display name. A value starting with =, +, -, @, a tab, a carriage return or a line feed, ignoring leading spaces, is written with a leading ' so a spreadsheet does not run it as a formula |
listing_score | int | null | 0–100, resolved per org; empty when the score is withheld (see withheld_reason) |
score_penalty | bool | null | True if any penalty applied, otherwise False. Empty on FORMULA rows and before the PDP is scored |
image_count_penalty | bool | null | True when this penalty lowered the listing score, otherwise False; the same value as image_count_penalty on the PDP score endpoints. Empty on FORMULA rows and before the PDP is scored |
image_mix_penalty | bool | null | True when this penalty lowered the listing score, otherwise False; the same value as image_mix_penalty on the PDP score endpoints. Empty on FORMULA rows and before the PDP is scored |
image_order_penalty | bool | null | True when this penalty lowered the listing score, otherwise False; the same value as image_order_penalty on the PDP score endpoints. Empty on FORMULA rows and before the PDP is scored |
high_scoring_asset_count | int | null | |
is_ideal_content_mix | bool | null | |
images_matching_ideal_mix | int | null | |
score_status | string | CREATED, PROCESSING, SCORED, CATEGORY_NOT_FOUND, or FAILED (scoring did not complete after a retry; refresh the PDP to try again) |
created_at | date-time | |
updated_at | date-time | |
last_refreshed | date-time | null | When a retailer refresh last found a change to the hero image, carousel, price or rating. Empty until Vizit refreshes the PDP from the retailer, including for PDPs you submit through the API |
shopper_clarity_status | string | null | PASS, REVIEW, or FAIL for the hero image; empty while unscored |
image_quality_status | string | null | PASS, REVIEW, or FAIL for the hero image; empty while unscored |
composition_status | string | null | HIGH, MEDIUM, or LOW for the hero image; empty while unscored |
product_staging_status | string | null | HIGH, MEDIUM, or LOW for the hero image; empty while unscored |
score_method | string | FORMULA or LEGACY: how listing_score was computed |
scoring_version | string | null | Version of the scoring rules behind a FORMULA score; empty for LEGACY rows and when the component breakdown isn't available |
hero_utility | int | null | Hero component score, 0–100; FORMULA rows only, empty when the component breakdown isn't available |
carousel_utility | int | null | Carousel component score, 0–100; FORMULA rows only, empty when the component breakdown isn't available |
order_utility | int | null | Order component score, 0–100; FORMULA rows only, empty when the component breakdown isn't available |
image_count_utility | int | null | Image count component score, 0–100; FORMULA rows only, empty when the component breakdown isn't available |
asset_mix_utility | int | null | Asset mix component score, 0–100; FORMULA rows only, empty when the component breakdown isn't available |
formula_version | date | null | Date the scoring weights behind a FORMULA score took effect; empty for LEGACY rows and when the component breakdown isn't available |
withheld_reason | string | null | Why the score was withheld (same codes as withheld_reason on the PDP score endpoints); empty unless listing_score is withheld |
planned_retailer | string | null | Planned retailer of a PDP submitted for another retailer (retailer_region us_composite_us); empty for Amazon and Walmart PDPs. A value starting with =, +, -, @, a tab, a carriage return or a line feed, ignoring leading spaces, is written with a leading ' so a spreadsheet does not run it as a formula; the JSON endpoints return the stored value |
subject=images column set
Rows for images not on a PDP leave pdp_id, retailer_region,
item_id, and position empty. vizit_score is filled the same way
on every row.
| Column | Type | Notes |
|---|---|---|
image_id | uuid | |
pdp_id | uuid | null | Parent PDP; empty for images not on a PDP |
portfolio_id | uuid | Owning portfolio |
retailer_region | string | null | Retailer region of the parent PDP; empty for images not on a PDP |
item_id | string | null | ASIN or GTIN of the parent PDP; empty for images not on a PDP. A value starting with =, +, -, @, a tab, a carriage return or a line feed, ignoring leading spaces, is written with a leading ' so a spreadsheet does not run it as a formula |
image_type | string | hero or carousel |
image_url | string | null | The image URL you submitted; empty when no submitted URL is on record, such as for images Vizit collected from the retailer, images scored on their own before Vizit began keeping their URLs, and URLs longer than 2,048 characters |
position | int | null | 0 for the hero image, 1-based for carousel images; empty when the image is not the PDP's current hero or in its carousel, which includes every image not on a PDP |
source | string | How the image reached Vizit, e.g. scraped; public_api for images you submitted through the API |
vizit_score | float | null | The score the Vizit platform shows for this image, 0–100; the same value as vizit_score on Retrieve an image score. Empty while the image is still processing, when scoring timed out, when the image was omitted from scoring, or when a hero image has no hero score |
classification | string | null | The label the Vizit platform shows for this image, e.g. Lifestyle, Alternate Product Views; the same value as classification on Retrieve an image score. Empty while the image is still processing or when scoring timed out |
created_at | date-time | |
updated_at | date-time | |
scored_at | date-time | null | When the image was last updated, including its latest scoring |
Authorization
bearerAuth Short-lived access token issued by Create a token.
Send it on every request as Authorization: Bearer <token>.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Which dataset to export. pdps returns PDP-level scores; images
returns image-level scores. CSV column layout per subject is
documented in the createExport endpoint description.
"pdps" | "images"Optional filters narrowing the export. Org scope is always enforced
by the access token; these filters refine within the caller's org.
Unknown filter keys are rejected with INVALID_FILTER.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://ext.vizit.com/v1/exports" \ -H "Content-Type: application/json" \ -d '{ "subject": "pdps" }'{ "export_id": "a9a55f8d-48b1-4a5b-a88e-c41b0cd75102", "subject": "pdps", "status": "PROCESSING", "status_url": "/v1/exports/4f1a2b3c-5d6e-7f8a-9b0c-1d2e3f4a5b6c", "requested_at": "2019-08-24T14:15:22Z"}{ "detail": "string", "status_code": 0, "error_code": "IMAGE_DOWNLOAD_FAILED", "request_id": "266ea41d-adf5-480b-af50-15b940c2b846", "extra": { "failed_urls": [ { "url": "https://cdn.example.com/broken.jpg", "reason": "IMAGE_DOWNLOAD_TIMEOUT" }, { "url": "https://cdn.example.com/icon.svg", "reason": "UNSUPPORTED_IMAGE_FORMAT" } ] }, "timestamp": "2019-08-24T14:15:22Z"}{ "detail": "string", "status_code": 0, "error_code": "IMAGE_DOWNLOAD_FAILED", "request_id": "266ea41d-adf5-480b-af50-15b940c2b846", "extra": { "failed_urls": [ { "url": "https://cdn.example.com/broken.jpg", "reason": "IMAGE_DOWNLOAD_TIMEOUT" }, { "url": "https://cdn.example.com/icon.svg", "reason": "UNSUPPORTED_IMAGE_FORMAT" } ] }, "timestamp": "2019-08-24T14:15:22Z"}{ "detail": "string", "status_code": 0, "error_code": "IMAGE_DOWNLOAD_FAILED", "request_id": "266ea41d-adf5-480b-af50-15b940c2b846", "extra": { "failed_urls": [ { "url": "https://cdn.example.com/broken.jpg", "reason": "IMAGE_DOWNLOAD_TIMEOUT" }, { "url": "https://cdn.example.com/icon.svg", "reason": "UNSUPPORTED_IMAGE_FORMAT" } ] }, "timestamp": "2019-08-24T14:15:22Z"}{ "detail": "string", "status_code": 0, "error_code": "IMAGE_DOWNLOAD_FAILED", "request_id": "266ea41d-adf5-480b-af50-15b940c2b846", "extra": { "failed_urls": [ { "url": "https://cdn.example.com/broken.jpg", "reason": "IMAGE_DOWNLOAD_TIMEOUT" }, { "url": "https://cdn.example.com/icon.svg", "reason": "UNSUPPORTED_IMAGE_FORMAT" } ] }, "timestamp": "2019-08-24T14:15:22Z"}GETGet bulk import status
Returns the current status of a bulk import. Poll this endpoint until `status` is `COMPLETED`. - `items_completed`: products that were scraped and scored successfully. - `items_errored`: products that failed during scraping or scoring. - `items_skipped`: products that already existed and were not re-imported.
GETRetrieve an export
Returns the current status of an export job. When `status` is `COMPLETED` and the artifact has not yet expired, `download_url` is populated with a path to [Download an export artifact](/api/exports/downloadExport). Authenticate that follow-up GET with the same Bearer token used for this endpoint — the URL itself does not carry embedded credentials. Lifecycle: - `PROCESSING` → `download_url` is `null`, no `error_code` - `COMPLETED` (within retention) → `download_url` populated - `COMPLETED` (past 7-day retention) → `download_url` is `null`, `error_code: EXPORT_EXPIRED` - `ERROR` → `download_url` is `null`, `error_code: EXPORT_FAILED` Cross-org access is intentionally indistinguishable from "not found"; foreign `export_id`s return `404 EXPORT_NOT_FOUND`.