---
title: "Batch Presigned Urls"
method: POST
path: "/api/v1/presigned-urls"
tags: ["Chat"]
---

# Batch Presigned Urls

`POST /api/v1/presigned-urls`

## Request

- Base URL: `https://backend.caspr.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://backend.caspr.ai/api/v1/presigned-urls`
- Auth: OAuth 2
  - Password
  - Token URL: `token`

Generate presigned URLs for a batch of S3 visualization URIs.

Intended for refreshing expired visualization URLs on long-lived pages.
Rate-limited to 10 requests per minute per user, max 20 URIs per call.

## Request body

- BatchPresignedUrlRequest
  - `s3_uris` string[], required

## Response `200`

Successful Response

- BatchPresignedUrlResponse
  - `success` boolean, required
  - `urls` object, required

## Other responses

- `401`: Unauthorized
- `422`: Unprocessable Entity
- `429`: Too Many Requests
- `500`: Internal Server Error

---

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