---
title: "List or compare versioned AI edit history for a layer"
method: GET
path: "/api/ai/edit-history"
tags: ["ai-jobs", "history"]
---

# List or compare versioned AI edit history for a layer

`GET /api/ai/edit-history`

## Query parameters

- `projectId` string, required
- `layerId` string, required
- `mode` 'list' | 'compare'
- `limit` integer
- `fromVersionId` string
- `toVersionId` string

## Response `200`

Layer history payload

## Other responses

- `404` — Versions not found for comparison

---

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