---
title: "GET /workspace/{workspaceId}/history"
method: GET
path: "/workspace/{workspaceId}/history"
tags: ["history"]
---

# GET /workspace/{workspaceId}/history

`GET /workspace/{workspaceId}/history`

## Request

- Base URL: `https://4014930676-files.gitbook.io/api/v1`
- URL: `https://4014930676-files.gitbook.io/api/v1/workspace/{workspaceId}/history`
- Auth: none declared
- TypeScript: <https://skmtc.dev/terrakube/apis/elide-service/docs/workspace/:workspaceId/history/get.ts> (a function with typed inputs; its response is checked against the schema)

Returns the relationship history

## Query parameters

- `sort` string[]
- `fields[history]` string[]
- `include` string[]
- `filter[history]` string
- `page[number]` integer
- `page[size]` integer
- `page[offset]` integer
- `page[limit]` integer
- `page[totals]` string

## Response `200`

Successful response

- object
  - `data` History[]
    - `type` string: Create Permissions : (user is a super service) Delete Permissions : (user is a super service)
    - `id` string
    - `attributes` object
      - `createdBy` string: Update Permissions : (user is a super service)
      - `createdDate` string, date-time: Update Permissions : (user is a super service)
      - `jobReference` string: Update Permissions : (user is a super service)
      - `output` string: Update Permissions : (user is a super service)
      - `updatedBy` string: Update Permissions : (user is a super service)
      - `updatedDate` string, date-time: Update Permissions : (user is a super service)
    - `relationships` object
      - `workspace` object: Update Permissions : (user is a super service)
        - `id` string
        - `type` 'workspace'
  - `included` object[]: Included resources
    - `attributes` object
    - `id` string
    - `relationships` object
    - `type` string

---

[API](https://skmtc.dev/terrakube/apis/elide-service.md) - [All operations](https://skmtc.dev/terrakube/apis/elide-service/llms.txt) - [OpenAPI document](https://skmtc.dev/terrakube/apis/elide-service/revisions/e7891deb8c02?raw)
