---
title: "Get user data file"
method: GET
path: "/api/userdata/{file}"
tags: ["user"]
---

# Get user data file

`GET /api/userdata/{file}`

Returns the requested user data file if it exists.

## Path parameters

- `file` string, required

## Response `200`

Successfully retrieved the file.

## Other responses

- `400` — Bad request (e.g., invalid filename).
- `401` — Unauthorized.
- `404` — File not found or invalid path.
- `500` — General error

---

[API](https://skmtc.net/ac/apis/comfy-api.md) · [All operations](https://skmtc.net/ac/apis/comfy-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/ac/comfy-api/versions/c1893dffe250/schema)
