---
title: "Get Agent’s active files in the job"
method: GET
path: "/runs/{id}/agents/{agent_id}/active_files"
tags: ["Runs"]
---

# Get Agent’s active files in the job

`GET /runs/{id}/agents/{agent_id}/active_files`

## Request

- Base URL: `https://localhost:8446/api/v2`
- URL: `https://localhost:8446/api/v2/runs/{id}/agents/{agent_id}/active_files`
- Auth: API key in header `Authorization`

Returns Agent’s active files in the job.

## Path parameters

- `id` string, required
- `agent_id` string, required

## Response `200`

Successful response

- object
  - `path` string, required: Absolute file path
  - `relative_path` string, required: Relative file path
  - `size` number, required: File size (in bytes)
  - `status` string: Status. Possible values: Downloading Uploading
  - `progress` number: Progress %

## Other responses

- `default`: Error response. Depending on the error, either a 4xx or 5xx response status is returned.

---

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