---
title: "Retrieve all share links"
method: GET
path: "/shares"
tags: ["Share Management"]
---

# Retrieve all share links

`GET /shares`

Get all share links.

## Query parameters

- `sort` string
- `range` string
- `filter` string

## Response `200`

OK

- Share[]
  - `id` string, required
  - `resource_id` string, uuid, required
  - `user_id` string, nullable
  - `expiration_dt` string, date-time, nullable
  - `is_revoked` boolean

## Changes

- **2024-10-03** `682d4cb5d0dc` — 1 info
  - the `items/id` response's property pattern was changed from `^[a-z]{3}-[a-z]{3}-[a-z]{3}$` to `^[a-z]{4}-[a-z]{4}-[a-z]{4}$` for the status `200`
- **2024-10-02** `c9062e3a3c54` — 1 info
  - the `items/id` response's property pattern was changed from `^[a-z]{4}-[a-z]{4}-[a-z]{4}$` to `^[a-z]{3}-[a-z]{3}-[a-z]{3}$` for the status `200`
- **2024-10-02** `936529d30a41` — 1 info
  - the `items/id` response's property pattern was changed from `^[a-z]{3}-[a-z]{3}-[a-z]{3}$` to `^[a-z]{4}-[a-z]{4}-[a-z]{4}$` for the status `200`
- **2024-09-04** `5b0faf0cb344` — 3 breaking, 1 info
  - the response property `items/expiration_dt` became nullable for the status `200`
  - the response property `items/user_id` became nullable for the status `200`
  - the `items/user_id` response's property format changed from `uuid` to no format for status `200`
  - the `items/user_id` response's property pattern `^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$` was removed for the status `200`
- **2024-08-29** `42797f357538` — 1 breaking, 1 info
  - removed the required property `items/key` from the response with the `200` status
  - added the required property `items/id` to the response with the `200` status

[Full history](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/changes/shares/get.md)

---

[API](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api.md) · [All operations](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/pai-os/personal-artificial-intelligence-operating-system-pai-os-api/revisions/3c144b366e19/schema)
