---
title: "List shares for session"
method: GET
path: "/api/sessions/{sessionId}/shares"
tags: ["Shares"]
---

# List shares for session

`GET /api/sessions/{sessionId}/shares`

## Request

- Base URL: `/api/plugins/consensys-asko11y-app/resources` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/plugins/consensys-asko11y-app/resources/api/sessions/{sessionId}/shares`
- Auth: one of:
  - API key in cookie `grafana_session`
  - HTTP bearer

Returns all active shares created by the current user for the specified session.

## Path parameters

- `sessionId` string, required

## Headers

- `X-Grafana-Org-Id` string

## Response `200`

List of shares

- object[]
  - `shareId` string
  - `shareUrl` string
  - `expiresAt` string, date-time, nullable

## Other responses

- `400`: Bad request (invalid parameters or malformed request body)
- `401`: Unauthorized (missing or invalid authentication)
- `500`: Internal server error

---

[API](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api.md) - [All operations](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/llms.txt) - [OpenAPI document](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/revisions/ee3ccd0f186d?raw)
