---
title: "Generate View URL"
method: POST
path: "/api/mcp/v1/files/generate-view-url"
tags: ["Files"]
---

# Generate View URL

`POST /api/mcp/v1/files/generate-view-url`

## Request

- Base URL: `https://flowdot.ai/api`
- URL: `https://flowdot.ai/api/api/mcp/v1/files/generate-view-url`
- Auth: HTTP bearer

Generate a temporary signed URL for viewing a file.

## Request body

- object
  - `filename` string: Stored filename
  - `expires_in` integer: Expiration time in seconds (max 3600)

## Response `200`

Successful response

- unknown

## Other responses

- `401`: Unauthenticated
- `404`: File not found

---

[API](https://skmtc.dev/flowdot/apis/flowdot-api.md) · [All operations](https://skmtc.dev/flowdot/apis/flowdot-api/llms.txt) · [OpenAPI document](https://skmtc.dev/flowdot/apis/flowdot-api/revisions/93f63cc9c775?raw)
