Scripts

Read one table-read line.

Returns one line's editable state (line: text, ttsText, parenthetical, sceneHeading, the speed it is spoken at, volume, pauseAfterMs, actingDirection, and sentAs — what the acting direction was sent to its voice as on a Cartesia voice, label "Sent as: sad, 0.9x"; null when nothing was mapped), the Slug conversation's rolling audits of it (audits) and the edit snapshots taken before each change (versions, newest first). line is null when the index is past the end. The line's speed and actingDirection are display-only: only re-voicing the line (revoice_line) changes them. The same read the Writers Lab's line editor, MCP get_script_line_tuning and sleeperhit script line get make. Read-only; costs no credits.

get/scripts/{scriptUploadId}/lines/{entryIndex}

Request

  • Base URL: https://docs.sleeperhit.studio/api/v1
  • URL: https://docs.sleeperhit.studio/api/v1/scripts/{scriptUploadId}/lines/{entryIndex}
  • Auth: HTTP bearer

Response

The line's tuning.

scriptUploadIdstring required
entryIndexinteger required
auditsobject[] required

The Slug conversation's rolling audit of this line, newest last.

versionsobject[] required

The edit snapshots taken before each change, newest first.

Changes

No recorded changes to this operation across all 1 revision of this API.