---
title: "Get machine files"
method: GET
path: "/services/beta/api/users/{leafUserId}/machines/{machineId}/files"
tags: ["Beta > Machines"]
---

# Get machine files

`GET /services/beta/api/users/{leafUserId}/machines/{machineId}/files`

## Path parameters

- `leafUserId` string, required
- `machineId` string, required

## Query parameters

- `page` integer
- `size` integer
- `sort` string
- `leafFileId` string
- `startTime` string
- `endTime` string
- `originType` string
- `createdTime` string
- `beforeCreatedTime` string
- `afterCreatedTime` string

## Response `200`

OK

---

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