---
title: "Set or clear episode overrides."
method: PATCH
path: "/scripts/{scriptUploadId}/overrides"
tags: ["Scripts"]
---

# Set or clear episode overrides.

`PATCH /scripts/{scriptUploadId}/overrides`

## Request

- Base URL: `https://docs.sleeperhit.studio/api/v1`
- URL: `https://docs.sleeperhit.studio/api/v1/scripts/{scriptUploadId}/overrides`
- Auth: HTTP bearer

Partial update. Text sets an override (trimmed); null or blank text clears it back to the Series Bible canon (the soundscape to the studio default); keys left out are untouched; the whole change lands together. An unknown key, a non-text value or text over the cap is refused with 400 `validation_failed` — the same validation the Writers Lab, MCP `update_script_overrides` and `sleeperhit script overrides update` go through. Answers all five as they now stand. Free and naturally idempotent, so no `Idempotency-Key`: it renders nothing, and the next render of that kind uses the new direction.

## Request body

- ScriptOverridesPatch: Only the overrides to change. Text sets one; null or blank text clears it; keys left out are untouched.
  - `avatar` string, nullable: Episode Avatar Override. Optional script-specific exception layered over the Series Bible visual canon for character portraits.
  - `theater` string, nullable: Episode Theater Override. Optional script-specific exception layered over the Series Bible visual canon for theater presentation.
  - `soundscape` string, nullable: Soundscape Style. Global sonic direction fed directly into adaptive scene music and beat cue generation.
  - `pitchDeck` string, nullable: Episode Pitch Deck Override. Optional script-specific exception layered over the Series Bible visual canon for pitch deck generation.
  - `locations` string, nullable: Episode Locations Override. Optional script-specific exception layered over the Series Bible visual canon for this episode's location plates.

## Response `200`

The episode overrides after the change.

- ScriptOverrides
  - `scriptUploadId` string, required
  - `overrides` object, required
    - `avatar` string, nullable, required: Episode Avatar Override. Optional script-specific exception layered over the Series Bible visual canon for character portraits. Null: none is set, so the Series Bible visual canon applies.
    - `theater` string, nullable, required: Episode Theater Override. Optional script-specific exception layered over the Series Bible visual canon for theater presentation. Null: none is set, so the Series Bible visual canon applies.
    - `soundscape` string, nullable, required: Soundscape Style. Global sonic direction fed directly into adaptive scene music and beat cue generation. Null: none is set, so the studio default (`soundscapeDefault`) applies.
    - `pitchDeck` string, nullable, required: Episode Pitch Deck Override. Optional script-specific exception layered over the Series Bible visual canon for pitch deck generation. Null: none is set, so the Series Bible visual canon applies.
    - `locations` string, nullable, required: Episode Locations Override. Optional script-specific exception layered over the Series Bible visual canon for this episode's location plates. Null: none is set, so the Series Bible visual canon applies.
  - `soundscapeDefault` string, nullable, required: What a null `soundscape` falls back to: the studio's default soundscape style, or null when none is configured.

## Other responses

- `400`: Request payload failed validation. The error message names the offending field.
- `401`: Missing, malformed, revoked, or expired API key.
- `403`: API key is valid but lacks the scope, is blocked by IP allowlist, or the account is disabled.
- `404`: The named project or source does not exist or is owned by another account.
- `429`: Rate limit for this API key + IP + route family was exceeded.
- `500`: The API failed unexpectedly. Safe to retry with the same Idempotency-Key.

---

[API](https://skmtc.dev/sleeperhit/apis/sleeper-hit-studio-story-api.md) · [All operations](https://skmtc.dev/sleeperhit/apis/sleeper-hit-studio-story-api/llms.txt) · [OpenAPI document](https://skmtc.dev/sleeperhit/apis/sleeper-hit-studio-story-api/revisions/64c1102ccb2f?raw)
