ScriptSeen Realtime API

The Realtime API from ScriptSeen — 2 operation(s) for realtime.

GitHub OpenAPI

Operations 2

POST /v1/realtime/session Realtime Session #
POST /v1/realtime/phase Realtime Phase #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/scriptseen-com:scriptseen-com-realtime-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

scriptseen-com-realtime-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ScriptSeen Realtime API
  version: 0.1.0
tags:
- name: Realtime
paths:
  /v1/realtime/session:
    post:
      summary: Realtime Session
      description: 'Create one browser-to-OpenAI WebRTC Scout or rehearsal call.


        The offer passes through this API so the long-lived OpenAI key stays

        server-side. Media does not pass through ScriptSeen after the SDP

        handshake.'
      operationId: realtime_session_v1_realtime_session_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RealtimeCoachBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Realtime
  /v1/realtime/phase:
    post:
      summary: Realtime Phase
      description: 'The session fields for the room a Scout journey is moving into.


        The client applies them to its live call with ``session.update``. The

        prompts and tools stay server-owned; no allowance is spent here because

        the journey was counted when the call was created, and a call the

        server is no longer in the path of cannot be metered per room anyway.'
      operationId: realtime_phase_v1_realtime_phase_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/RealtimePhaseBody'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      tags:
      - Realtime
components:
  schemas:
    RealtimeScriptContext:
      properties:
        title:
          type: string
          maxLength: 300
          title: Title
          default: ''
        full_script:
          type: string
          maxLength: 8000
          title: Full Script
          default: ''
        previous_line:
          type: string
          maxLength: 1200
          title: Previous Line
          default: ''
        next_line:
          type: string
          maxLength: 1200
          title: Next Line
          default: ''
        line_number:
          anyOf:
          - type: integer
            maximum: 500.0
            minimum: 1.0
          - type: 'null'
          title: Line Number
        total_lines:
          anyOf:
          - type: integer
            maximum: 500.0
            minimum: 1.0
          - type: 'null'
          title: Total Lines
        narrative_role:
          type: string
          maxLength: 40
          title: Narrative Role
          default: ''
        speaker:
          type: string
          maxLength: 80
          title: Speaker
          default: ''
        topic:
          type: string
          maxLength: 4000
          title: Topic
          default: ''
        audience:
          type: string
          maxLength: 300
          title: Audience
          default: ''
        platform:
          type: string
          maxLength: 40
          title: Platform
          default: ''
        tone:
          type: string
          maxLength: 300
          title: Tone
          default: ''
        total_target_seconds:
          anyOf:
          - type: integer
            maximum: 600.0
            minimum: 1.0
          - type: 'null'
          title: Total Target Seconds
        delivery_style:
          type: string
          maxLength: 800
          title: Delivery Style
          default: ''
        story_intent:
          type: string
          maxLength: 1500
          title: Story Intent
          default: ''
      type: object
      title: RealtimeScriptContext
      description: Bounded story context that helps the coach understand one selected line.
    RealtimeCoachBody:
      properties:
        sdp:
          type: string
          maxLength: 50000
          minLength: 20
          title: Sdp
        mode:
          type: string
          enum:
          - practice
          - studio_brief
          - journey
          title: Mode
          default: practice
        line:
          type: string
          maxLength: 1200
          minLength: 1
          title: Line
          default: Studio script brief
        delivery_note:
          type: string
          maxLength: 500
          title: Delivery Note
          default: ''
        punches:
          items:
            type: string
          type: array
          maxItems: 12
          title: Punches
        target_seconds:
          type: number
          maximum: 60.0
          minimum: 0.5
          title: Target Seconds
          default: 5.0
        feedback_language:
          type: string
          maxLength: 8
          title: Feedback Language
          default: en
        context:
          $ref: '#/components/schemas/RealtimeScriptContext'
        brief:
          $ref: '#/components/schemas/RealtimeStudioBrief'
        script_id:
          anyOf:
          - type: string
            maxLength: 128
            pattern: ^[a-zA-Z0-9_.:-]+$
          - type: 'null'
          title: Script Id
        practice_session_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Practice Session Id
        attempt_id:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Attempt Id
      type: object
      required:
      - sdp
      title: RealtimeCoachBody
    RealtimeScriptListItem:
      properties:
        number:
          type: integer
          maximum: 20.0
          minimum: 1.0
          title: Number
        title:
          type: string
          maxLength: 300
          title: Title
          default: ''
        source:
          type: string
          enum:
          - recent
          - saved
          title: Source
          default: recent
        platform:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
          title: Platform
        seconds:
          anyOf:
          - type: number
            maximum: 3600.0
            minimum: 0.0
          - type: 'null'
          title: Seconds
        when:
          anyOf:
          - type: string
            maxLength: 60
          - type: 'null'
          title: When
        practiced:
          anyOf:
          - type: string
            maxLength: 40
          - type: 'null'
          title: Practiced
        last_score:
          anyOf:
          - type: integer
            maximum: 100.0
            minimum: 0.0
          - type: 'null'
          title: Last Score
        best_score:
          anyOf:
          - type: integer
            maximum: 100.0
            minimum: 0.0
          - type: 'null'
          title: Best Score
      type: object
      required:
      - number
      title: RealtimeScriptListItem
      description: 'One of the creator''s scripts as Scout sees it in the home and script rooms: a number to

        ask for and a title to recognise, nothing of the script itself.'
    RealtimeScriptSummary:
      properties:
        title:
          type: string
          maxLength: 300
          title: Title
          default: ''
        hooks:
          items:
            type: string
          type: array
          maxItems: 3
          title: Hooks
        chosen_hook:
          anyOf:
          - type: integer
            maximum: 3.0
            minimum: 1.0
          - type: 'null'
          title: Chosen Hook
        script:
          type: string
          maxLength: 8000
          title: Script
          default: ''
        sections:
          items:
            $ref: '#/components/schemas/RealtimeScriptSection'
          type: array
          maxItems: 20
          title: Sections
        line_count:
          anyOf:
          - type: integer
            maximum: 500.0
            minimum: 1.0
          - type: 'null'
          title: Line Count
        read_available:
          type: boolean
          title: Read Available
          default: false
        has_cues:
          type: boolean
          title: Has Cues
          default: false
        can_record:
          type: boolean
          title: Can Record
          default: false
        coach_listens:
          type: boolean
          title: Coach Listens
          default: false
        take_available:
          type: boolean
          title: Take Available
          default: false
        platform:
          type: string
          maxLength: 40
          title: Platform
          default: ''
        topic:
          type: string
          maxLength: 300
          title: Topic
          default: ''
        audience:
          type: string
          maxLength: 300
          title: Audience
          default: ''
        target_seconds:
          anyOf:
          - type: integer
            maximum: 600.0
            minimum: 1.0
          - type: 'null'
          title: Target Seconds
        word_count:
          anyOf:
          - type: integer
            maximum: 5000.0
            minimum: 0.0
          - type: 'null'
          title: Word Count
        estimated_seconds:
          anyOf:
          - type: integer
            maximum: 3600.0
            minimum: 0.0
          - type: 'null'
          title: Estimated Seconds
        why:
          additionalProperties:
            type: string
          type: object
          title: Why
      type: object
      title: RealtimeScriptSummary
      description: What Scout is told about the finished script in the script and prompter rooms.
    RealtimeStudioBrief:
      properties:
        topic:
          type: string
          maxLength: 4000
          title: Topic
          default: ''
        audience:
          type: string
          maxLength: 500
          title: Audience
          default: ''
        platform:
          type: string
          enum:
          - tiktok
          - reels
          - youtube-shorts
          title: Platform
          default: tiktok
        duration:
          type: integer
          maximum: 180.0
          minimum: 10.0
          title: Duration
          default: 30
        confirmed_fields:
          items:
            type: string
            enum:
            - topic
            - audience
            - platform
            - duration
          type: array
          maxItems: 4
          title: Confirmed Fields
      type: object
      title: RealtimeStudioBrief
      description: The editable Studio fields shared with Scout at session start.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    RealtimePhaseBody:
      properties:
        phase:
          type: string
          enum:
          - home
          - brief
          - writing
          - script
          - practice
          - prompter
          title: Phase
        feedback_language:
          type: string
          maxLength: 8
          title: Feedback Language
          default: en
        surface:
          type: string
          enum:
          - studio
          - script
          - saved
          - ideas
          - account
          title: Surface
          default: studio
        scripts:
          items:
            $ref: '#/components/schemas/RealtimeScriptListItem'
          type: array
          maxItems: 20
          title: Scripts
        brief:
          $ref: '#/components/schemas/RealtimeStudioBrief'
        script:
          $ref: '#/components/schemas/RealtimeScriptSummary'
        line:
          type: string
          maxLength: 1200
          title: Line
          default: ''
        delivery_note:
          type: string
          maxLength: 500
          title: Delivery Note
          default: ''
        punches:
          items:
            type: string
          type: array
          maxItems: 12
          title: Punches
        target_seconds:
          type: number
          maximum: 60.0
          minimum: 0.5
          title: Target Seconds
          default: 5.0
        context:
          $ref: '#/components/schemas/RealtimeScriptContext'
        abilities:
          items:
            type: string
          type: array
          maxItems: 16
          title: Abilities
      type: object
      required:
      - phase
      title: RealtimePhaseBody
      description: The room a journey is moving into, with the bounded context it needs.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    RealtimeScriptSection:
      properties:
        number:
          type: integer
          maximum: 20.0
          minimum: 1.0
          title: Number
        text:
          type: string
          maxLength: 240
          title: Text
          default: ''
      type: object
      required:
      - number
      title: RealtimeScriptSection
      description: One displayed section, numbered the way the script page numbers it.