{
  "openapi": "3.0.1",
  "info": {
    "title": "SiteVerdict — Podcast & Audio Transcriber (SRT, VTT, chapters)",
    "description": "Transcribe podcast episodes from an RSS feed or any audio URL with your own OpenAI Whisper, Deepgram or AssemblyAI key. Timestamps, speaker labels or change hints, chapters, and SRT, VTT, Markdown, TXT and JSON files. Uses the feed's own transcript when there is one.",
    "version": "1.2",
    "x-build-id": "VSWu91nnilaO4XUnQ"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/siteverdict~siteverdict-audio-transcriber/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-siteverdict-siteverdict-audio-transcriber",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/siteverdict~siteverdict-audio-transcriber/runs": {
      "post": {
        "operationId": "runs-sync-siteverdict-siteverdict-audio-transcriber",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/siteverdict~siteverdict-audio-transcriber/run-sync": {
      "post": {
        "operationId": "run-sync-siteverdict-siteverdict-audio-transcriber",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "rssFeedUrl": {
            "title": "Podcast RSS feed URL",
            "type": "string",
            "description": "A podcast feed (RSS or Atom). Pick episodes with the options below. If the feed already publishes a transcript (podcast:transcript), we use it instead of paying for speech-to-text."
          },
          "latestEpisodes": {
            "title": "Number of latest episodes",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many of the newest matching episodes to transcribe.",
            "default": 1
          },
          "titleContains": {
            "title": "Episode title contains",
            "type": "string",
            "description": "Only episodes whose title contains this text (case-insensitive)."
          },
          "publishedAfter": {
            "title": "Published on or after",
            "type": "string",
            "description": "Only episodes published on or after this date (YYYY-MM-DD)."
          },
          "episodeGuids": {
            "title": "Specific episode GUIDs",
            "type": "array",
            "description": "Transcribe exactly these episodes (guid values from the feed).",
            "items": {
              "type": "string"
            }
          },
          "onlyNewEpisodes": {
            "title": "Only episodes not transcribed before (monitoring)",
            "type": "boolean",
            "description": "Remember processed episodes in a named key-value store, so a scheduled run only transcribes new ones.",
            "default": false
          },
          "stateStoreName": {
            "title": "State store name",
            "type": "string",
            "description": "Named key-value store that remembers processed episodes.",
            "default": "siteverdict-transcriber-state"
          },
          "audioUrls": {
            "title": "Audio file URLs",
            "type": "array",
            "description": "Direct links to audio files (mp3, m4a, wav, ogg, webm, flac). Signed URLs are fine; query strings are redacted in the output.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "provider": {
            "title": "Speech-to-text provider",
            "enum": [
              "openai",
              "deepgram",
              "assemblyai",
              "sample"
            ],
            "type": "string",
            "description": "Uses YOUR OWN key. OpenAI Whisper: segment timestamps; files over 25 MB are split automatically for MP3. Deepgram and AssemblyAI: speaker diarisation, any size (they fetch the URL themselves). Leave the key empty to see a free SAMPLE output.",
            "default": "openai"
          },
          "apiKey": {
            "title": "Provider API key",
            "type": "string",
            "description": "Your OpenAI, Deepgram or AssemblyAI API key. Sent only to that provider; never logged or stored in the output."
          },
          "model": {
            "title": "Model (optional)",
            "type": "string",
            "description": "Defaults: whisper-1 (OpenAI), nova-3 (Deepgram), universal (AssemblyAI)."
          },
          "language": {
            "title": "Language (optional)",
            "type": "string",
            "description": "ISO code such as en, de, hi. Leave empty for automatic detection."
          },
          "diarize": {
            "title": "Speaker labels",
            "type": "boolean",
            "description": "Label speakers (Deepgram/AssemblyAI). With OpenAI we add pause-based speaker-change hints instead.",
            "default": true
          },
          "chapters": {
            "title": "Chapters",
            "type": "boolean",
            "description": "Add chapters: from AssemblyAI, from the feed's podcast:chapters, or from long pauses as a fallback.",
            "default": true
          },
          "usePublisherTranscript": {
            "title": "Use the podcast's own transcript when available",
            "type": "boolean",
            "description": "Cheaper and exact: if the RSS item has a podcast:transcript (VTT/SRT/JSON), convert it instead of running speech-to-text.",
            "default": true
          },
          "assemblyAiRegion": {
            "title": "AssemblyAI region",
            "enum": [
              "us",
              "eu"
            ],
            "type": "string",
            "description": "Use the EU endpoint for EU data residency.",
            "default": "us"
          },
          "prompt": {
            "title": "Vocabulary hint (OpenAI)",
            "type": "string",
            "description": "Names and jargon to spell correctly, e.g. \"SiteVerdict, Apify, Plymouth\"."
          },
          "outputFormats": {
            "title": "Output files",
            "type": "array",
            "description": "Files saved to the key-value store for every episode.",
            "items": {
              "type": "string",
              "enum": [
                "srt",
                "vtt",
                "md",
                "txt",
                "json"
              ]
            },
            "default": [
              "srt",
              "vtt",
              "md",
              "txt",
              "json"
            ]
          },
          "includeText": {
            "title": "Include full text in dataset",
            "type": "boolean",
            "description": "Put the plain transcript text in the dataset row (up to 200k characters; the files always hold everything).",
            "default": true
          },
          "includeSegments": {
            "title": "Include timed segments in dataset",
            "type": "boolean",
            "description": "Add the timestamped segments array to each dataset row.",
            "default": false
          },
          "maxAudioMb": {
            "title": "Max audio size (MB)",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Downloads larger than this are refused (OpenAI path only; Deepgram/AssemblyAI fetch the audio themselves).",
            "default": 300
          },
          "maxWaitMinutes": {
            "title": "Max wait per episode (minutes)",
            "minimum": 5,
            "maximum": 180,
            "type": "integer",
            "description": "AssemblyAI jobs that take longer are reported as failed (and not charged).",
            "default": 60
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}