---
title: "Get metadata of all public files owned by the user"
method: GET
path: "/files/{userName}"
tags: ["files"]
---

# Get metadata of all public files owned by the user

`GET /files/{userName}`

## Path parameters

- `user_name` string, required

## Response `200`

File metadata retrieved successfully

- PublicFileMeta[]
  - `owner` string, required
  - `file_name` string, required
  - `registered_versions` Version[], required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `404` — User not found

## Changes

- **2025-01-20** `93e312846ab3` — 4 breaking, 7 info
  - removed the required property `items/createdAt` from the response with the `200` status
  - removed the required property `items/fileName` from the response with the `200` status
  - removed the required property `items/registeredVersions` from the response with the `200` status
  - removed the required property `items/updatedAt` from the response with the `200` status
  - …7 more

[Change history](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/changes/files/:userName/get.md)

---

[API](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api.md) · [All operations](https://skmtc.dev/lapisla-prover/apis/lapisla-prover-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/lapisla-prover/lapisla-prover-api/revisions/ad4cd30302ac/schema)
