---
title: "GET /v1beta/{tenantId}/file/shares"
method: GET
path: "/v1beta/{tenantId}/file/shares"
tags: ["File Shares"]
---

# GET /v1beta/{tenantId}/file/shares

`GET /v1beta/{tenantId}/file/shares`

Lists information for all file shares.

## Query parameters

- `limit` integer
- `offset` integer
- `sortDir` 'asc' | 'desc'
- `sortKey` string
- `name` string
- `profileId` string
- `status` string

## Response `200`

OK

- FileShareRespSpec[]
  - `id` string
  - `createdAt` string, date-time
  - `updatedAt` string, date-time
  - `tenantId` string
  - `userId` string
  - `name` string
  - `description` string
  - `size` integer
  - `availabilityZone` string
  - `status` string
  - `profileId` string
  - `protocols` string[]
  - `exportLocations` string[]
  - `metadata` object

## Other responses

- `401` — NotAuthorized
- `403` — Forbidden
- `500` — An unexpected error occured.

## Changes

- **2019-12-09** `6f907ee4cf9b` — 4 breaking, 9 info
  - the response property `items/allOf[subschema #2]/name` became optional for the status `200`
  - the response property `items/allOf[subschema #2]/size` became optional for the status `200`
  - the `items/allOf[subschema #2]/name` response property's maxLength was unset from `255` for the response status `200`
  - the `items/allOf[subschema #2]/name` response property's minLength was decreased from `1` to `0` for the response status `200`
  - …9 more
- **2019-12-06** `1c79c9d92d7b` — 1 info
  - the `items/allOf[subschema #2]/name` response's property pattern `[A-Za-z0-9_-]` was added for the status `200`
- **2019-11-22** `a41e1157d0e7` — 3 breaking
  - the response property `items/allOf[subschema #2]/availabilityZone` became optional for the status `200`
  - the response property `items/allOf[subschema #2]/profileId` became optional for the status `200`
  - the response property `items/allOf[subschema #2]/tenantId` became optional for the status `200`
- **2019-11-06** `fd0669e1e56f` — 4 info
  - added the media type `application/json` for the response with the status `200`
  - added the media type `application/json` for the response with the status `401`
  - added the media type `application/json` for the response with the status `403`
  - added the media type `application/json` for the response with the status `500`
- **2019-05-22** `2aca5485378c` — 1 info
  - endpoint added

[Full history](https://skmtc.dev/sodafoundation/apis/soda-api/changes/v1beta/:tenantId/file/shares/get.md)

---

[API](https://skmtc.dev/sodafoundation/apis/soda-api.md) · [All operations](https://skmtc.dev/sodafoundation/apis/soda-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sodafoundation/apis/soda-api/revisions/62ce0f6c94b4?raw)
