---
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

---

[API](https://skmtc.net/agentarea/apis/agentarea-api.md) · [All operations](https://skmtc.net/agentarea/apis/agentarea-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agentarea/agentarea-api/revisions/e3650e48373b/schema)
