{
  "openapi": "3.0.1",
  "info": {
    "title": "Podcast Transcriber & Monitor — Backfill + New Episode Alerts",
    "description": "Transcribe whole podcast archives from an RSS feed (backfill) and auto-transcribe new episodes (monitor). Dual-engine ASR: high-accuracy transcripts, optional speaker labels, SRT/VTT subtitles included. Pay per audio minute, failed episodes are never charged.",
    "version": "1.0",
    "x-build-id": "8rqaZ0HqFPewIDcoB"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/lone_fascia~podcast-rss-transcriber/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-lone_fascia-podcast-rss-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/lone_fascia~podcast-rss-transcriber/runs": {
      "post": {
        "operationId": "runs-sync-lone_fascia-podcast-rss-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/lone_fascia~podcast-rss-transcriber/run-sync": {
      "post": {
        "operationId": "run-sync-lone_fascia-podcast-rss-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": {
          "audioUrls": {
            "title": "Direct audio URLs (alternative to feeds)",
            "type": "array",
            "description": "Direct links to episode audio files (mp3/m4a/...), used when you do not have an RSS feed. Monitor mode is not available in this mode.",
            "items": {
              "type": "string"
            }
          },
          "episodeSelection": {
            "title": "Episode selection (backfill)",
            "type": "object",
            "description": "Which existing episodes to transcribe in backfill mode. Default: the 10 most recent episodes, so a first run cannot accidentally transcribe (and bill) a whole archive. Use {\"type\":\"all\"} for the full archive, or {\"type\":\"afterDate\",\"afterDate\":\"2026-01-01\"} for episodes published after a date.",
            "default": {
              "n": 10,
              "type": "latestN"
            }
          },
          "feedUrls": {
            "title": "Podcast RSS feed URLs",
            "type": "array",
            "description": "One or more podcast RSS feed URLs. Apple Podcasts show-page URLs are accepted too and resolved to their RSS feed automatically. Use this (with mode) for whole-archive backfill and new-episode monitoring.",
            "items": {
              "type": "string"
            }
          },
          "freeFirstEpisode": {
            "title": "First episode free",
            "type": "boolean",
            "description": "Transcribe the first selected episode of this run for free (standard tier only, up to 60 minutes; minutes beyond 60 are billed normally). One free episode per run.",
            "default": true
          },
          "language": {
            "title": "Audio language",
            "enum": [
              "auto",
              "zh",
              "yue",
              "en",
              "ja",
              "ko",
              "de",
              "fr",
              "ru",
              "es",
              "pt",
              "ar",
              "it",
              "hi",
              "id",
              "th",
              "tr",
              "uk",
              "vi",
              "cs",
              "da",
              "fil",
              "fi",
              "is",
              "ms",
              "no",
              "pl",
              "sv"
            ],
            "type": "string",
            "description": "Language hint for the speech engine. 'auto' lets the engine detect it. Supported: auto, zh, yue, en, ja, ko, de, fr, ru, es, pt, ar, it, hi, id, th, tr, uk, vi, cs, da, fil, fi, is, ms, no, pl, sv.",
            "default": "auto"
          },
          "maxEpisodeMinutes": {
            "title": "Max minutes per episode",
            "minimum": 10,
            "maximum": 600,
            "type": "integer",
            "description": "Episodes longer than this are skipped (and reported, never charged). Raise it for very long shows.",
            "default": 240
          },
          "maxEpisodesPerRun": {
            "title": "Max episodes per run",
            "minimum": 1,
            "maximum": 2000,
            "type": "integer",
            "description": "Safety cap on episodes processed in one run.",
            "default": 200
          },
          "mode": {
            "title": "Mode",
            "enum": [
              "backfill",
              "monitor"
            ],
            "type": "string",
            "description": "backfill: transcribe existing episodes selected below. monitor: transcribe only episodes not seen in previous monitor runs of the same feed (state is kept between runs; schedule this Actor to catch new episodes automatically).",
            "default": "backfill"
          },
          "speakerNames": {
            "title": "Speaker names (speaker tier)",
            "type": "array",
            "description": "Optional names for the speakers, in order: the first name goes to SPEAKER_1 (the person who talks the most), the second to SPEAKER_2, and so on, e.g. [\"Host\", \"Guest\"]. Names appear in the transcript, segments, subtitles and the speakers list.",
            "items": {
              "type": "string"
            }
          },
          "tier": {
            "title": "Transcription tier",
            "enum": [
              "standard",
              "speaker"
            ],
            "type": "string",
            "description": "standard: accurate transcript + subtitles. speaker: everything in standard, plus speaker diarization (who said what) merged into the transcript, segments and subtitles.",
            "default": "standard"
          },
          "webhookUrl": {
            "title": "Webhook URL (monitor mode)",
            "type": "string",
            "description": "Optional. In monitor mode, after a run that transcribed new episodes, a JSON summary is POSTed to this URL."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}