---
title: "Retrieve share link by id"
method: GET
path: "/shares/{id}"
tags: ["Share Management"]
---

# Retrieve share link by id

`GET /shares/{id}`

Retrieve the information of the share with the specified id.

## Path parameters

- `id` string, required

## 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 warning, 1 info
  - changed the pattern of the `path` request parameter `id` from `^[a-z]{3}-[a-z]{3}-[a-z]{3}$` to `^[a-z]{4}-[a-z]{4}-[a-z]{4}$`
  - the `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 warning, 1 info
  - changed the pattern of the `path` request parameter `id` from `^[a-z]{4}-[a-z]{4}-[a-z]{4}$` to `^[a-z]{3}-[a-z]{3}-[a-z]{3}$`
  - the `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 warning, 1 info
  - changed the pattern of the `path` request parameter `id` from `^[a-z]{3}-[a-z]{3}-[a-z]{3}$` to `^[a-z]{4}-[a-z]{4}-[a-z]{4}$`
  - the `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 `expiration_dt` became nullable for the status `200`
  - the response property `user_id` became nullable for the status `200`
  - the `user_id` response's property format changed from `uuid` to no format for status `200`
  - the `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`
- …earlier changes not shown

[Full history](https://skmtc.dev/pai-os/apis/personal-artificial-intelligence-operating-system-pai-os-api/changes/shares/:id/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)
