---
title: "Upload Task File"
method: PUT
path: "/v1/runner/tasks/{task_id}/files/{file_path}"
tags: ["v1", "protected", "harness runner"]
---

# Upload Task File

`PUT /v1/runner/tasks/{task_id}/files/{file_path}`

## Request

- The document declares no server URL.
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/agentarea/apis/agentarea-api/docs/v1/runner/tasks/:task_id/files/:file_path/put.ts> (a function with typed inputs; its response is checked against the schema)

Store a file the CLI made in its task folder, so the task's file links open it.

## Path parameters

- `task_id` string, uuid, required
- `file_path` string, required

## Response `204`

Successful Response

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-08** `fc6f062f7d70`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/agentarea/apis/agentarea-api/changes/v1/runner/tasks/:task_id/files/:file_path/put.md)

---

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