---
title: "Workspace File History"
method: GET
path: "/v1/files/history"
tags: ["v1", "protected", "files"]
---

# Workspace File History

`GET /v1/files/history`

Return the provenance trail for a workspace file, newest event first.

## Query parameters

- `path` string, required

## Response `200`

Successful Response

- ArtifactHistoryResponse
  - `events` ArtifactEventResponse[], required
    - `action` string, required
    - `actor_type` string, required
    - `agent_id` string, nullable
    - `created_at` string, required
    - `created_by` string, required
    - `task_id` string, nullable
  - `path` string, required

## Other responses

- `422` — Validation Error

## Changes

> 19 revisions in range; 5 could not be searched.

- **2026-06-18** `dad98bb65260` — 1 info
  - endpoint added
- **2026-03-30** `e9c153221160` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/agentarea/apis/agentarea-api/changes/v1/files/history/get.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-service-production.skmtc.workers.dev/v1/apis/agentarea/agentarea-api/revisions/ac18f7025c00/schema)
