---
title: "List the caller's active AI conversation shares"
method: GET
path: "/api/{org_id}/ai/shares"
tags: ["AI"]
---

# List the caller's active AI conversation shares

`GET /api/{org_id}/ai/shares`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/ai/shares`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/ai/shares/get.ts> (a function with typed inputs; its response is checked against the schema)

The caller's active shares across their conversations; with `all=true`, every active share in the organization, for organization admins only.

## Path parameters

- `org_id` string, required

## Query parameters

- `all` boolean

## Response `200`

Active shares

- object
  - `shares` ShareView[], required
    - `access_count` integer, required
    - `created_at` integer, required
    - `expires_at` integer, nullable: Microseconds since the epoch; absent when the share never expires.
    - `id` string, required
    - `last_accessed_at` integer, nullable
    - `mode` string, required
    - `owner_email` string, nullable: The creator's email; only in the org-wide admin listing.
    - `owner_name` string, nullable: The creator's display name (email when unnamed); only in the org-wide admin listing.
    - `redact_tools` boolean, required: Readers see assistant text and tool names, never tool inputs or outputs.
    - `session_id` string, required
    - `snapshot_seq` integer, nullable
    - `title` string, required
    - `token` string, nullable: Bearer secret of the link; absent on other creators' rows of the org-wide listing.
    - `updated_at` integer, required
    - `url_path` string, nullable: Path of the web page that shows the share; absent whenever `token` is.
    - `visibility` string, required

## Other responses

- `403`: `all=true` from a non-admin

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
