---
title: "Share List Endpoint"
method: GET
path: "/share/{component}"
tags: ["Share"]
---

# Share List Endpoint

`GET /share/{component}`

## Request

- Base URL: `https://api.pharia.example.com`
- URL: `https://api.pharia.example.com/share/{component}`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/aleph-alpha/apis/stateful-responses/docs/share/:component/get.ts> (a function with typed inputs; its response is checked against the schema)

GET /share/{component} — list shares visible to the caller.

Without ``object_id``: every object of this component shared with the caller
(via ``list_objects``). With ``object_id``: the full ACL of that object,
gated by ``can_share`` (owner or tenant admin). Audited on all paths.

## Path parameters

- `component` 'skill' | 'skill_version' | 'application', required

## Query parameters

- `object_id` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found
- `413`: Content Too Large
- `422`: Validation errors are returned as 400, not 422. This entry exists because FastAPI generates it automatically.
- `425`: Too Early
- `500`: Internal Server Error
- `501`: Not Implemented
- `502`: Bad Gateway
- `504`: Gateway Timeout

---

[API](https://skmtc.dev/aleph-alpha/apis/stateful-responses.md) - [All operations](https://skmtc.dev/aleph-alpha/apis/stateful-responses/llms.txt) - [OpenAPI document](https://skmtc.dev/aleph-alpha/apis/stateful-responses/revisions/2747297acb54?raw)
