---
title: "Create Preview Image Urls"
method: GET
path: "/files/preview-image-urls"
tags: ["files"]
---

# Create Preview Image Urls

`GET /files/preview-image-urls`

## Request

- Base URL: `https://api.kobaltlabs.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.kobaltlabs.com/files/preview-image-urls`
- Auth: none declared

Bulk variant of ``/preview-image-url``.

Returns a mapping of ``upload_id`` -> presigned image URL for every
requested upload that has a generated preview image. Upload IDs without a
generated image (or that don't resolve to this company) are omitted so the
frontend can fall back gracefully per card.

## Query parameters

- `upload_ids` string[], required
- `variant` 'thumbnail' | 'preview'

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api.md) - [All operations](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/llms.txt) - [OpenAPI document](https://skmtc.dev/kobaltlabs/apis/kobaltlabs-api/revisions/8587332d5e43?raw)
