---
title: "Get files and artifacts from a run"
method: GET
path: "/api/runs/files"
tags: ["Runs"]
---

# Get files and artifacts from a run

`GET /api/runs/files`

## Request

- Base URL: `https://pluto-api.trainy.ai`
- URL: `https://pluto-api.trainy.ai/api/runs/files`
- Auth: HTTP bearer

Returns file metadata with presigned URLs for downloading. URLs are valid for 5 days.

## Query parameters

- `runId` number, nullable: Numeric run ID
- `projectName` string, required: Project name
- `logName` string: Filter by log name
- `logGroup` string: Filter by log group

## Response `200`

Files with presigned URLs

- GetFilesResponse
  - `files` object[], required
    - `fileName` string, required
    - `fileType` string, required
    - `fileSize` number, required
    - `logName` string, required
    - `logGroup` string, required
    - `time` string, required
    - `step` number, required
    - `url` string, required
    - `caption` string, nullable, required

---

[API](https://skmtc.dev/trainy/apis/mlop-api.md) - [All operations](https://skmtc.dev/trainy/apis/mlop-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trainy/apis/mlop-api/revisions/5d2c0b0baecb?raw)
