---
title: "GET /api/script-assistant/sessions"
method: GET
path: "/api/script-assistant/sessions"
tags: ["ScriptAssistant"]
---

# GET /api/script-assistant/sessions

`GET /api/script-assistant/sessions`

## Request

- Base URL: `https://api.wearelearning.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.wearelearning.io/api/script-assistant/sessions`
- Auth: OAuth 2
  - Implicit: `https://login.wearelearning.io/authorize?audience=https://api.wearelearning.io`

## Query parameters

- `limit` integer
- `offset` integer
- `origin` 'ScriptAssistant' | 'Presentation'

## Response `200`

OK

- SessionListResponseDto
  - `sessions` SessionSummaryDto[], required
    - `sessionId` string, required
    - `title` string, nullable
    - `status` string, required
    - `messageCount` integer, required
    - `fileCount` integer, required
    - `fileNames` string[], required
    - `hasOutline` boolean, required
    - `nodeCount` integer, required
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
    - `origin` 'ScriptAssistant' | 'Presentation', required
    - `creationMode` 'Undecided' | 'Context' | 'Slideshow', required
  - `total` integer, required

## Other responses

- `401`: Unauthorized
- `403`: Forbidden

---

[API](https://skmtc.dev/wearelearning/apis/we-are-learning-api.md) - [All operations](https://skmtc.dev/wearelearning/apis/we-are-learning-api/llms.txt) - [OpenAPI document](https://skmtc.dev/wearelearning/apis/we-are-learning-api/revisions/e2ca5265db77?raw)
