---
title: "PATCH /api/script-assistant/sessions/{sessionId}/outline/scenes/{sceneId}/nodes/{nodeId}"
method: PATCH
path: "/api/script-assistant/sessions/{sessionId}/outline/scenes/{sceneId}/nodes/{nodeId}"
tags: ["ScriptAssistant"]
---

# PATCH /api/script-assistant/sessions/{sessionId}/outline/scenes/{sceneId}/nodes/{nodeId}

`PATCH /api/script-assistant/sessions/{sessionId}/outline/scenes/{sceneId}/nodes/{nodeId}`

## 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/{sessionId}/outline/scenes/{sceneId}/nodes/{nodeId}`
- Auth: OAuth 2
  - Implicit: `https://login.wearelearning.io/authorize?audience=https://api.wearelearning.io`

## Path parameters

- `sessionId` string, required
- `sceneId` string, required
- `nodeId` string, required

## Request body

- UpdateOutlineNodeRequestDto
  - `purpose` string, nullable
  - `contentSketch` string, nullable
  - `speakerHint` string, nullable

## Response `200`

OK

- OutlineNodeDto
  - `id` string, required
  - `nodeType` string, required
  - `purpose` string, required
  - `contentSketch` string, required
  - `speakerHint` string, nullable
  - `hasDecisionPoint` boolean, required
  - `outcomes` string[], nullable
  - `pageData` OutlinePageDataDto
    - `pages` OutlinePageDto[], required
      - `title` string, required
      - `sections` OutlineSectionDto[], required
        - `layout` string, required
        - `columnWidths` number[], required
        - `columns` array[], required
          - OutlineBlockDto[]
            - `kind` string, required
            - `text` string, nullable
            - `content` RichTextDto
              - …
            - `variant` string, nullable
            - `mediaKind` string, nullable
            - `description` string, nullable

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `404`: Not Found

---

[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)
