---
title: "Get Shared Tokens"
method: GET
path: "/api/v1/workspaces/current/shared"
tags: ["workspaces"]
---

# Get Shared Tokens

`GET /api/v1/workspaces/current/shared`

List all shared entities and their tokens by the workspace.

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

Successful Response

- TenantShareTokensResponse
  - `entities` union[], required
    - union
      - TenantShareRunToken
        - `type` 'run', required
        - `share_token` string, required
        - `created_at` string, date-time, required
        - `run_id` string, uuid, required
        - `run_name` string, nullable
        - `run_type` string, nullable
        - `session_id` string, uuid, nullable
        - `session_name` string, nullable
      - TenantShareDatasetToken
        - `type` 'dataset', required
        - `share_token` string, required
        - `created_at` string, date-time, required
        - `dataset_id` string, uuid, required
        - `dataset_name` string, nullable

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/langchain-ai/apis/langsmith.md) · [All operations](https://skmtc.net/langchain-ai/apis/langsmith/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/langchain-ai/langsmith/revisions/a0acb3a6a101/schema)
