---
title: "Get history for a specific service and entity"
method: GET
path: "/history/v1/{service}/{entity_table_name}/{id}"
tags: ["history"]
---

# Get history for a specific service and entity

`GET /history/v1/{service}/{entity_table_name}/{id}`

Returns the history of changes for the given service and entity.

## Path parameters

- `service` string, required
- `entity_table_name` string, required
- `id` string, required

## Query parameters

- `page` integer
- `list` string
- `action` string

## Response `200`

Successfully retrieved history

- object
  - `data` object[]
    - `changed_by` string
    - `changed_at` string
    - `items` object[]
      - `field_id` string
      - `action` string
      - `from` object
        - `value` string
        - `display_value` string
      - `to` object
        - `value` string
        - `display_value` string

## Other responses

- `404` — Entity not found
- `422` — Invalid input parameters

---

[API](https://skmtc.dev/uspacy/apis/uspacy-api-2.md) · [All operations](https://skmtc.dev/uspacy/apis/uspacy-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/uspacy/uspacy-api-2/revisions/c3f48fd1c26b/schema)
