Vizit Public APIAPI
Exports

Retrieve an export

Poll for the status of a previously submitted export, and download once ready.

GET/v1/exports/{export_id}

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. 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_ids return 404 EXPORT_NOT_FOUND.

Authorization

bearerAuth
Authorization<token>

Short-lived access token issued by Create a token. Send it on every request as Authorization: Bearer <token>.

In: header

Path Parameters

export_id*string

The export_id returned by Create a bulk export job.

Formatuuid

Response Body

application/json

application/json

application/json

curl -X GET "https://ext.vizit.com/v1/exports/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "export_id": "a9a55f8d-48b1-4a5b-a88e-c41b0cd75102",  "subject": "pdps",  "status": "PROCESSING",  "requested_at": "2019-08-24T14:15:22Z",  "completed_at": "2019-08-24T14:15:22Z",  "row_count": 0,  "byte_size": 0,  "download_url": "string",  "expires_at": "2019-08-24T14:15:22Z",  "error_code": "string"}
Empty
{  "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"}

POSTCreate a bulk export job

Queues 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](/api/exports/getExport); 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](/api/images/scoreImage) 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](/api/images/getImageScore). 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](/api/images/getImageScore). 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 |

GETDownload an export artifact

Streams the CSV artifact for a `COMPLETED` export. Uses the same Bearer token as every other endpoint — no presigned URL, no embedded credentials. The path itself is what `download_url` on [Retrieve an export](/api/exports/getExport) points at. Response shape: - `Content-Type: text/csv` - `Content-Disposition: attachment; filename="<subject>-<timestamp>.csv"` - Body is the raw CSV (header row + data rows, UTF-8, `\n` line separator) Returns `404` with a typed `error_code` for every error state — cross-org access is intentionally indistinguishable from a missing or expired export so foreign `export_id`s never leak existence: - `EXPORT_NOT_FOUND` — does not exist in the caller's org - `EXPORT_NOT_READY` — exists but `status` is still `PROCESSING` - `EXPORT_EXPIRED` — artifact has been purged past its 7-day retention