---
title: "listPublicLinksForFile"
method: GET
path: "/v1/files/{id}/public/links"
tags: ["Public Links"]
---

# listPublicLinksForFile

`GET /v1/files/{id}/public/links`

Fetches all public links previously generated for a file

## Path parameters

- `id` string, required

## Response `200`

Public links retrieved successfully

- object
  - `results` PublicLink[]
    - `id` string — ID of the public link
    - `link` string — Public link of the file
    - `last_accessed_at` string — The most recent timestamp when the file was accessed

## Other responses

- `501` — Not implemented

---

[API](https://skmtc.net/epilot/apis/file-api.md) · [All operations](https://skmtc.net/epilot/apis/file-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/epilot/file-api/revisions/e4fee5bc1196/schema)
