{"openapi":"3.1.0","info":{"title":"Aggregators API Service","description":"Aggregators API","version":"0.83-704b06a"},"servers":[{"url":"https://api.zeno.fm","description":"Generated server url"}],"paths":{"/podcast-bot/podcasts/{podcastKey}":{"get":{"tags":["Podcast Bot"],"description":"Get podcast","operationId":"getPodcast","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PB_Podcast"}}}}}},"put":{"tags":["Podcast Bot"],"description":"Update podcast info","operationId":"updatePodcastInfo","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PB_Podcast"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PB_Podcast"}}}}}},"delete":{"tags":["Podcast Bot"],"description":"Delete podcast","operationId":"deletePodcast","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/podcast-bot/podcasts/{podcastKey}/recordingSchedule/enable":{"put":{"tags":["Podcast Bot"],"description":"Enable podcast recording schedule","operationId":"enablePodcastRecordingSchedule","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/podcast-bot/podcasts/{podcastKey}/recordingSchedule/disable":{"put":{"tags":["Podcast Bot"],"description":"Disable podcast recording schedule","operationId":"disablePodcastRecordingSchedule","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/podcast-bot/podcasts/{podcastKey}/recordingConfig":{"get":{"tags":["Podcast Bot"],"description":"Get podcast recording configuration","operationId":"getPodcastRecordingConfig","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PB_PodcastRecordingConfig"}}}}}},"put":{"tags":["Podcast Bot"],"description":"Update podcast recording configuration","operationId":"updatePodcastRecordingConfig","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PB_PodcastRecordingConfig"}}},"required":true},"responses":{"200":{"description":"OK"}}},"delete":{"tags":["Podcast Bot"],"description":"Delete podcast recording configuration","operationId":"deletePodcastRecordingConfig","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/podcast-bot/podcasts/{podcastKey}/processingPresets":{"get":{"tags":["Podcast Bot"],"description":"Get podcast processing presets","operationId":"getPodcastProcessingPresets","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PB_PodcastProcessingPresets"}}}}}},"put":{"tags":["Podcast Bot"],"description":"Update podcast processing presets","operationId":"updatePodcastProcessingPresets","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PB_PodcastProcessingPresets"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/podcast-bot/podcasts/{podcastKey}/interviewPresets":{"get":{"tags":["Podcast Bot"],"description":"Get podcast interview extraction presets","operationId":"getPodcastInterviewExtractionPresets","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PB_PodcastInterviewConfig"}}}}}},"put":{"tags":["Podcast Bot"],"description":"Update podcast interview extraction presets","operationId":"updatePodcastInterviewExtractionPresets","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PB_PodcastInterviewConfig"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/podcast-bot/podcasts/{podcastKey}/episodes/{episodeKey}/unpublish":{"put":{"tags":["Podcast Bot"],"description":"Unpublish podcast episode","operationId":"unpublishPodcastEpisode","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"episodeKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/podcast-bot/podcasts/{podcastKey}/episodes/{episodeKey}/publish":{"put":{"tags":["Podcast Bot"],"description":"Publish podcast episode","operationId":"publishPodcastEpisode","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"episodeKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/podcast-bot/podcasts/{podcastKey}/autoClipsConfig":{"get":{"tags":["Podcast Bot"],"description":"Get auto-clips configuration","operationId":"getPodcastAutoClipsConfig","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PB_AutoClipConfig"}}}}}},"put":{"tags":["Podcast Bot"],"description":"Update podcast auto-clips configuration","operationId":"updatePodcastAutoClipsConfig","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PB_AutoClipConfig"}}},"required":true},"responses":{"200":{"description":"OK"}}},"delete":{"tags":["Podcast Bot"],"description":"Delete podcast auto-clips configuration","operationId":"deletePodcastAutoClipsConfig","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/podcast-bot/podcasts/{podcastKey}/aiAdsPresets":{"get":{"tags":["Podcast Bot"],"description":"Get podcast AI Ads presets","operationId":"getPodcastAiAdsPresets","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PB_PodcastAiAdsConfig"}}}}}},"put":{"tags":["Podcast Bot"],"description":"Update podcast AI Ads presets","operationId":"updatePodcastAiAdsPresets","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PB_PodcastAiAdsConfig"}}},"required":true},"responses":{"200":{"description":"OK"}}}},"/api/v2/podcasts/{podcastKey}":{"get":{"tags":["API-v2"],"description":"Get podcast","operationId":"getPodcast_1","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Podcast"}}}}}},"put":{"tags":["API-v2"],"description":"Update podcast","operationId":"updatePodcast","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"podcast":{"$ref":"#/components/schemas/Podcast"},"file_logo":{"type":"string","format":"binary"}},"required":["podcast"]}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Podcast"}}}}}},"delete":{"tags":["API-v2"],"description":"Delete podcast","operationId":"deletePodcast_1","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/api/v2/podcasts/{podcastKey}/episodes/{episodeKey}":{"get":{"tags":["API-v2"],"description":"Get podcast episode","operationId":"getPodcastEpisode","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"episodeKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PodcastEpisode"}}}}}},"put":{"tags":["API-v2"],"description":"Update podcast episode","operationId":"updatePodcastEpisode","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"episodeKey","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"episode":{"$ref":"#/components/schemas/PodcastEpisode"},"file_logo":{"type":"string","format":"binary"}},"required":["episode"]}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PodcastEpisode"}}}}}},"delete":{"tags":["API-v2"],"description":"Delete podcast episode","operationId":"deletePodcastEpisode","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"episodeKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/stats/mounts/{mount}/auth-cache/reload":{"post":{"tags":["Stats"],"summary":"Retrieve total numer of live stats for a specific mount","description":"Retrieve total numer of live stats for a specific mount, requires basic authorization","operationId":"reload","parameters":[{"name":"mount","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"boolean"}}}}},"security":[{"basicAuth":[]}]}},"/stats/mounts/{mount}/auth-cache/reload/all":{"post":{"tags":["Stats"],"summary":"Retrieve total numer of live stats for a specific mount","description":"Retrieve total numer of live stats for a specific mount, requires basic authorization","operationId":"reloadAll","parameters":[{"name":"mount","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}},"security":[{"basicAuth":[]}]}},"/podcast-bot/workflows/process-file":{"post":{"tags":["Podcast Bot"],"description":"Process file","operationId":"processFile","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PB_FileProcessorConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PB_FileProcessorResponse"}}}}}}},"/podcast-bot/podcasts/{podcastKey}/upload/prerollAudio":{"post":{"tags":["Podcast Bot"],"description":"Upload pre-roll audio - prepended to every episode","operationId":"uploadPodcastPrerollAudio","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}},"required":["file"]}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PB_File"}}}}}}},"/podcast-bot/podcasts/{podcastKey}/upload/postrollAudio":{"post":{"tags":["Podcast Bot"],"description":"Upload post-roll audio - appended to every episode","operationId":"uploadPodcastPostrollAudio","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}},"required":["file"]}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PB_File"}}}}}}},"/podcast-bot/podcasts/{podcastKey}/upload/editOutroAudio":{"post":{"tags":["Podcast Bot"],"description":"Upload outro audio for edit recording","operationId":"uploadPodcastEditOutroAudio","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}},"required":["file"]}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PB_File"}}}}}}},"/podcast-bot/podcasts/{podcastKey}/upload/editIntroAudio":{"post":{"tags":["Podcast Bot"],"description":"Upload intro audio for edit recording","operationId":"uploadPodcastEditIntroAudio","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"file":{"type":"string","format":"binary"}},"required":["file"]}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PB_File"}}}}}}},"/podcast-bot/podcasts/{podcastKey}/episodes/{episodeKey}/reprocess":{"post":{"tags":["Podcast Bot"],"description":"Reprocess episode","operationId":"reprocessPodcastEpisode","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"episodeKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/podcast-bot/podcasts/{podcastKey}/episodes/{episodeKey}/reprocess/custom":{"post":{"tags":["Podcast Bot"],"description":"Reprocess episode with custom presets","operationId":"reprocessPodcastEpisodeCustomPresets","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"episodeKey","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PB_EpisodeProcessorConfig"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PB_EpisodeProcessorResponse"}}}}}}},"/podcast-bot/podcasts/recording/create":{"post":{"tags":["Podcast Bot"],"description":"Create recording podcast","operationId":"createRecordingPodcast","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PB_CreateRecordingPodcast"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PB_Podcast"}}}}}}},"/partners/streams":{"post":{"tags":["Partners"],"description":"Get the partner information for a list of streams.","operationId":"getStreamListInformation","parameters":[{"name":"currentTrack","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"X-Auth-Token","in":"header","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"array","items":{"type":"string"}}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PartnerStreamInformation"}}}}}}}},"/api/v2/stations/search":{"post":{"tags":["API-v2"],"description":"Search stations","operationId":"searchStations","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StationSearchParams"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StationSearchResults"}}}}}}},"/api/v2/stations/listener/location":{"post":{"tags":["API-v2"],"description":"Get top stations by listener location","operationId":"getStationsByListenerLocation","parameters":[{"name":"maxResults","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10,"maximum":10000,"minimum":1}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListenerLocationFilter"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Station"}}}}}}}},"/api/v2/podcasts/{podcastKey}/episodes/create":{"post":{"tags":["API-v2"],"description":"Create podcast episode","operationId":"createPodcastEpisode","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"episode":{"$ref":"#/components/schemas/PodcastEpisode"},"file_logo":{"type":"string","format":"binary"},"file_media":{"type":"string","format":"binary"}},"required":["episode","file_logo","file_media"]}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PodcastEpisode"}}}}}}},"/api/v2/podcasts/search":{"post":{"tags":["API-v2"],"description":"Search podcasts","operationId":"searchPodcasts","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastSearchParams"}}},"required":true},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PodcastSearchResults"}}}}}}},"/api/v2/podcasts/create":{"post":{"tags":["API-v2"],"description":"Create podcast","operationId":"createPodcast","requestBody":{"content":{"multipart/form-data":{"schema":{"type":"object","properties":{"podcast":{"$ref":"#/components/schemas/Podcast"},"file_logo":{"type":"string","format":"binary"}},"required":["file_logo","podcast"]}}}},"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Podcast"}}}}}}},"/stats/mounts/{mount}/live/total":{"get":{"tags":["Stats"],"summary":"Retrieve total numer of live stats for a specific mount","description":"Retrieve total numer of live stats for a specific mount, requires basic authorization","operationId":"totalLiveStats","parameters":[{"name":"Authorization","in":"header","description":"Authorization token","required":true,"schema":{"type":"string"}},{"name":"mount","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/TotalLiveStats"}}}}},"security":[{"basicAuth":[]}]}},"/podcast-bot/workflows/{workflowId}/jobsDetails":{"get":{"tags":["Podcast Bot"],"description":"Get workflow jobs details","operationId":"getWorkflowJobsDetails","parameters":[{"name":"workflowId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/WorkflowDetails"}}}}}}},"/podcast-bot/workflows/{workflowId}/details":{"get":{"tags":["Podcast Bot"],"description":"Get workflow details","operationId":"getWorkflowDetails","parameters":[{"name":"workflowId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AudioProcessorJob"}}}}}}},"/podcast-bot/podcasts/{podcastKey}/episodes":{"get":{"tags":["Podcast Bot"],"description":"Get podcast episodes","operationId":"getPodcastEpisodes","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string","maximum":500,"minimum":1}},{"name":"offset","in":"query","required":false,"schema":{"type":"string","minimum":0}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PB_PodcastEpisode"}}}}}}}},"/podcast-bot/podcasts/{podcastKey}/episodes/{episodeKey}":{"get":{"tags":["Podcast Bot"],"description":"Get podcast episode","operationId":"getPodcastEpisode_1","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"episodeKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PB_PodcastEpisode"}}}}}},"delete":{"tags":["Podcast Bot"],"description":"Delete podcast episode","operationId":"deletePodcastEpisode_1","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"episodeKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"}}}},"/podcast-bot/podcasts/{podcastKey}/episodes/{episodeKey}/transcript":{"get":{"tags":["Podcast Bot"],"description":"Get transcript for a podcast episode","operationId":"getPodcastEpisodeTranscript","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"episodeKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"string"}}}}}}},"/podcast-bot/podcasts/{podcastKey}/episodes/{episodeKey}/metadata":{"get":{"tags":["Podcast Bot"],"description":"Get metadata for a podcast episode","operationId":"getPodcastEpisodeMetadata","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"episodeKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PB_PodcastEpisodeMetadata"}}}}}}},"/podcast-bot/podcasts/{podcastKey}/episodes/{episodeKey}/clips":{"get":{"tags":["Podcast Bot"],"description":"Get generated clips for a podcast episode","operationId":"getPodcastEpisodeClips","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"episodeKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Clip"}}}}}}}},"/podcast-bot/podcasts/{podcastKey}/episodes/{episodeKey}/chapters":{"get":{"tags":["Podcast Bot"],"description":"Get chapters for a podcast episode","operationId":"getPodcastEpisodeChapters","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"episodeKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Chapter"}}}}}}}},"/podcast-bot/podcasts/{podcastKey}/episodes/{episodeKey}/adsMarkers":{"get":{"tags":["Podcast Bot"],"description":"Get Ads markers info for a podcast episode","operationId":"getPodcastEpisodeAdsMarkers","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"episodeKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AdMarkersInfo"}}}}}}},"/podcast-bot/podcasts/{podcastKey}/episodes/interviews":{"get":{"tags":["Podcast Bot"],"description":"Get podcast interviews","operationId":"getPodcastInterviews","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string","maximum":500,"minimum":1}},{"name":"offset","in":"query","required":false,"schema":{"type":"string","minimum":0}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PB_PodcastEpisode"}}}}}}}},"/podcast-bot/podcasts/list":{"get":{"tags":["Podcast Bot"],"description":"List podcasts","operationId":"listPodcasts","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string","maximum":500,"minimum":1}},{"name":"offset","in":"query","required":false,"schema":{"type":"string","minimum":0}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PB_Podcast"}}}}}}}},"/podcast-bot/jobs/{jobId}":{"get":{"tags":["Podcast Bot"],"description":"Get job","operationId":"getJob","parameters":[{"name":"jobId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/AudioProcessorJob"}}}}}}},"/podcast-bot/jobs/podcasts/{podcastKey}":{"get":{"tags":["Podcast Bot"],"description":"Get all processing jobs for a podcast","operationId":"jobsByPodcastKey","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string","enum":["PENDING_CREATION","PENDING","PROCESSING","CHECKING","FINISHING","CHECKING_FAILED","COMPLETED","FINISHED","FAILED","CANCELLED"]}},{"name":"from_date","in":"query","description":"Filter jobs where lastUpdate >= from_date (ISO 8601 instant, e.g. 2024-01-01T00:00:00Z)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PodcastJob"}}}}}}}},"/podcast-bot/jobs/podcasts/{podcastKey}/episodes/{episodeKey}":{"get":{"tags":["Podcast Bot"],"description":"Get processing jobs for a podcast episode","operationId":"getEpisodeJobs","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"episodeKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PodcastJob"}}}}}}}},"/partners/{partnerId}/ads/stats":{"get":{"tags":["Partners Stats"],"summary":"Retrieve partner stats","description":"Retrieve partner stats daily, hourly,etc","operationId":"partnerStats","parameters":[{"name":"partnerId","in":"path","required":true,"schema":{"type":"string"}},{"name":"from","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"to","in":"query","required":true,"schema":{"type":"string","format":"date"}},{"name":"type","in":"query","required":false,"schema":{"type":"string","enum":["DAILY","HOURLY","BREAKDOWN"]}},{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":0}},{"name":"size","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10}},{"name":"x-zeno-api-key","in":"header","description":"Authorization token","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PartnerAdStatsResponse"}}}}}}},"/partners/streams/{streamId}":{"get":{"tags":["Partners"],"description":"Get the stream partner information.","operationId":"getStreamInformation","parameters":[{"name":"streamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"currentTrack","in":"query","required":false,"schema":{"type":"boolean","default":false}},{"name":"X-Auth-Token","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PartnerStreamInformation"}}}}}}},"/partners/streams/{streamId}/tracks":{"get":{"tags":["Partners"],"description":"Get the stream partner information.","operationId":"getStreamTracks","parameters":[{"name":"streamId","in":"path","required":true,"schema":{"type":"string"}},{"name":"X-Auth-Token","in":"header","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PartnerStreamTrackInformation"}}}}}}}},"/api/v2/stations/{stationKey}":{"get":{"tags":["API-v2"],"description":"Get station","operationId":"getStation","parameters":[{"name":"stationKey","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/Station"}}}}}}},"/api/v2/stations/list":{"get":{"tags":["API-v2"],"description":"List stations","operationId":"getPartnerAggregatorStations","parameters":[{"name":"page","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":1,"minimum":1}},{"name":"hitsPerPage","in":"query","required":false,"schema":{"type":"integer","format":"int32","default":10,"maximum":1000,"minimum":1}},{"name":"minSessions","in":"query","required":false,"schema":{"type":"integer","format":"int64","minimum":0}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StationList"}}}}}}},"/api/v2/stations/languages":{"get":{"tags":["API-v2"],"description":"Get the list of Languages that can be used to filter stations in the search stations request","operationId":"getStationLanguages","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Language"}}}}}}}},"/api/v2/stations/genres":{"get":{"tags":["API-v2"],"description":"Get the list of Genres that can be used to filter stations in the search stations request","operationId":"getStationGenres","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/StationGenre"}}}}}}}},"/api/v2/stations/countries":{"get":{"tags":["API-v2"],"description":"Get the list of Countries that can be used to filter stations in the search stations request","operationId":"getStationCountries","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Country"}}}}}}}},"/api/v2/stations/browse":{"get":{"tags":["API-v2"],"description":"Browse all stations","operationId":"browseStations","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"integer","format":"int64","default":50,"maximum":5000,"minimum":1}},{"name":"offset","in":"query","required":false,"schema":{"type":"integer","format":"int64","default":0,"minimum":0}},{"name":"mount_status","in":"query","required":false,"schema":{"type":"boolean","default":false}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/StationList"}}}}}}},"/api/v2/podcasts/{podcastKey}/episodes":{"get":{"tags":["API-v2"],"description":"Get podcast episodes","operationId":"getPodcastEpisodes_1","parameters":[{"name":"podcastKey","in":"path","required":true,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string","maximum":1000,"minimum":1}},{"name":"offset","in":"query","required":false,"schema":{"type":"string","minimum":0}}],"responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"$ref":"#/components/schemas/PodcastEpisodeList"}}}}}}},"/api/v2/podcasts/languages":{"get":{"tags":["API-v2"],"description":"Get the list of Languages that can be used to filter podcasts in the search podcasts request","operationId":"getPodcastLanguages","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Language"}}}}}}}},"/api/v2/podcasts/countries":{"get":{"tags":["API-v2"],"description":"Get the list of Countries that can be used to filter podcasts in the search podcasts request","operationId":"getPodcastCountries","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/Country"}}}}}}}},"/api/v2/podcasts/categories":{"get":{"tags":["API-v2"],"description":"Get the list of Categories that can be used to filter podcasts in the search podcasts request","operationId":"getPodcastCategories","responses":{"200":{"description":"OK","content":{"*/*":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/PodcastCategory"}}}}}}}}},"components":{"schemas":{"PB_Podcast":{"type":"object","description":"Podcast model","properties":{"key":{"type":"string","readOnly":true},"title":{"type":"string"},"coverArtUrl":{"type":"string"},"summary":{"type":"string","readOnly":true},"description":{"type":"string"},"author":{"type":"string"},"ownerName":{"type":"string"},"ownerEmail":{"type":"string"},"categories":{"type":"array","items":{"type":"string"},"uniqueItems":true},"language":{"type":"string"},"link":{"type":"string"},"explicit":{"type":"boolean"},"rssFeed":{"type":"string","readOnly":true},"interviewPodcastKey":{"type":"string","readOnly":true}},"required":["categories","description","language","ownerEmail","ownerName","title"]},"PB_PodcastRecordingConfig":{"type":"object","description":"Podcast Recording Config model","properties":{"streamUrl":{"type":"string","description":"Recording audio stream"},"recordingSchedule":{"$ref":"#/components/schemas/PB_PodcastRecordingSchedule"},"introAudioUrl":{"type":"string","description":"Edit based on intro audio. Required if outro is specified."},"outroAudioUrl":{"type":"string","description":"Edit based on outro audio. Required if intro is specified."}},"required":["recordingSchedule","streamUrl"]},"PB_PodcastRecordingSchedule":{"type":"object","description":"Podcast Recording Schedule model","properties":{"frequency":{"type":"string","enum":["weekly","monthly"]},"daysOfWeek":{"type":"array","description":"Required when frequency is weekly","items":{"type":"string","enum":["SUN","MON","TUE","WED","THU","FRI","SAT"]},"uniqueItems":true},"daysOfMonth":{"type":"array","description":"Required when frequency is monthly","items":{"type":"integer","format":"int32"},"uniqueItems":true},"startTime":{"type":"string","description":"Recording start time HH:mm"},"durationMinutes":{"type":"integer","format":"int64","maximum":480,"minimum":1},"timezone":{"type":"string","description":"Timezone identifier e.g. UTC, America/New_York, Asia/Tokyo"},"enabled":{"type":"boolean","default":true,"description":"Enable/disable this schedule"}},"required":["durationMinutes","frequency","startTime","timezone"]},"PB_PodcastProcessingPresets":{"type":"object","description":"Podcast Processing Presets model","properties":{"removeBackgroundMusic":{"type":"boolean"},"introAudioUrl":{"type":"string","description":"Add intro audio to recorded episode"},"outroAudioUrl":{"type":"string","description":"Add outro audio to recorded episode"},"aiTitleSummary":{"type":"boolean","description":"Generate episode title and summary"},"customPromptTitle":{"type":"string","description":"Custom prompt for generating episode title"},"customPromptDescription":{"type":"string","description":"Custom prompt for generating episode description"}}},"PB_PodcastInterviewConfig":{"type":"object","description":"Podcast Interview Config model","properties":{"extractInterviews":{"type":"boolean","description":"Enable Interview Extraction"},"interviewPodcastName":{"type":"string","description":"Interview Podcast Name. Required if interview extraction is enabled"},"interviewMinLengthMinutes":{"type":"integer","format":"int64","description":"Minimum Interview Length (minutes). Required if interview extraction is enabled","minimum":1},"customPromptInterviewTitle":{"type":"string","description":"Custom prompt for generating interview title"},"customPromptInterviewDescription":{"type":"string","description":"Custom prompt for generating interview description"}}},"AnimationConfig":{"type":"object","properties":{"styles":{"type":"array","description":"Animation styles. Options: \"waveform\", \"spectrum\", \"bars\", \"cqt\", \"scope\", \"volume\"","items":{"type":"string"}},"color":{"type":"string","description":"Animation color (hex). Also used as default for speaker/caption accent."}}},"PB_AutoClipConfig":{"type":"object","description":"Podcast Auto-Clip Configuration model","properties":{"video":{"$ref":"#/components/schemas/PB_VideoConfig","description":"Top-level video config for rendering a video per clip (see below). Omit for audio-only. Not supported in chapters mode. Fallback value for groups."},"generate_chapters":{"type":"boolean","description":"Detect YouTube-style chapter boundaries via LLM and upload chapters.json"},"clip_generation":{"type":"string","description":"Clip generation mode. \"highlights\" = top viral/engaging moments; \"chapters\" = one clip per chapter boundary (audio only, no transcript/video); \"segments\" = named broadcast blocks (Weather, Sports, Traffic, etc.); \"none\" = skip clip generation, produce chapters only"},"max_clips":{"type":"integer","format":"int32","description":"Max number of clips to produce (flat mode only — ignored when `clip_groups` is set)"},"min_clip_duration":{"type":"number","format":"double","description":"Minimum clip length in seconds. Clips shorter than this are padded to center. Applies to highlights mode only. (flat mode default; each group can override)","minimum":0},"max_clip_duration":{"type":"number","format":"double","description":"Maximum clip length in seconds. Clips longer than this are trimmed from the end. (flat mode default; each group can override)","minimum":0},"padding_seconds":{"type":"number","format":"double","description":"Extra seconds added before/after each clip","minimum":0},"segment_types":{"type":"array","description":"List of broadcast segment names to look for (segments mode only). If empty, LLM infers from content. Fallback value for groups.","items":{"type":"string"}},"clip_groups":{"type":"array","description":"List of clip group configs. When set, overrides flat `max_clips`/`min_clip_duration`/`max_clip_duration` and produces multiple named groups of clips.","items":{"$ref":"#/components/schemas/PbClip"}}}},"PB_VideoConfig":{"type":"object","description":"Video rendering config — used by CREATE_VIDEO and AUTO_CLIP jobs","properties":{"animation":{"$ref":"#/components/schemas/AnimationConfig","description":"Audio visualizer animation"},"aspect_ratios":{"type":"array","description":"Output aspect ratios — one video produced per clip per ratio. Options: \"16:9\", \"9:16\", \"1:1\", \"4:5\"","items":{"type":"string"}}}},"PbClip":{"type":"object","properties":{"label":{"type":"string","description":"Filename prefix for clips in this group (e.g. `\"long\"`, `\"short\"`). Defaults to `\"g1\"`, `\"g2\"`, ..."},"video":{"$ref":"#/components/schemas/PB_VideoConfig","description":"Video config for this group. If omitted, falls back to top-level `auto_clip.video`."},"clip_generation":{"type":"string","description":"Clip generation mode for this group. \"highlights\" = top viral/engaging moments; \"chapters\" = one clip per chapter boundary (audio only, no transcript/video); \"segments\" = named broadcast blocks (Weather, Sports, Traffic, etc.); "},"count":{"type":"integer","format":"int32","description":"Number of clips to generate for this group. Overrides top-level max_clips"},"min_clip_duration":{"type":"number","format":"double","description":"Minimum clip length in seconds for this group. Overrides top-level min_clip_duration","minimum":0},"max_clip_duration":{"type":"number","format":"double","description":"Maximum clip length in seconds for this group. Overrides top-level max_clip_duration","minimum":0},"segment_types":{"type":"array","description":"Segment type hints for this group (segments mode only)","items":{"type":"string"}}}},"PB_PodcastAiAdsConfig":{"type":"object","description":"Podcast AI Ads Config model","properties":{"removeAds":{"type":"boolean"},"insertProgrammaticAds":{"type":"boolean"},"adsFrequency":{"type":"integer","format":"int64","description":"Required if insertProgrammaticAds is enabled","minimum":1}}},"Podcast":{"type":"object","description":"Podcast model","properties":{"key":{"type":"string"},"title":{"type":"string"},"subtitle":{"type":"string"},"summary":{"type":"string"},"description":{"type":"string"},"showType":{"type":"string"},"language":{"type":"string"},"image":{"type":"string"},"country":{"type":"string"},"categories":{"type":"array","items":{"type":"string"},"uniqueItems":true},"author":{"type":"string"},"ownerName":{"type":"string"},"ownerEmail":{"type":"string"},"keywords":{"type":"array","items":{"type":"string"},"uniqueItems":true},"link":{"type":"string"},"copyright":{"type":"string"},"explicit":{"type":"boolean"},"block":{"type":"boolean"}},"required":["categories","description","language","summary","title"]},"PodcastEpisode":{"type":"object","description":"PodcastEpisode model","properties":{"key":{"type":"string"},"title":{"type":"string"},"subtitle":{"type":"string"},"summary":{"type":"string"},"description":{"type":"string"},"image":{"type":"string"},"duration":{"type":"integer","format":"int64"},"size":{"type":"integer","format":"int64"},"fileUrl":{"type":"string"},"episodeType":{"type":"string"},"publishDate":{"type":"string","format":"date-time"},"season":{"type":"integer","format":"int64"},"episode":{"type":"integer","format":"int64"},"author":{"type":"string"},"link":{"type":"string"},"tags":{"type":"array","items":{"type":"string"},"uniqueItems":true},"explicit":{"type":"boolean"},"block":{"type":"boolean"}},"required":["description","publishDate","summary","title"]},"PB_FileProcessorConfig":{"type":"object","description":"File Processing Presets model","properties":{"fileUrl":{"type":"string"},"removeAds":{"type":"boolean"},"removeBackgroundMusic":{"type":"boolean"},"removeSilence":{"type":"boolean"},"normalizeAudioLevels":{"type":"boolean"},"aiAutoEnhance":{"type":"boolean"},"removeFillerWords":{"type":"boolean"}}},"PB_FileProcessorResponse":{"type":"object","description":"File Processing Response model","properties":{"jobId":{"type":"string"},"error":{"type":"string"}}},"PB_File":{"type":"object","description":"File model","properties":{"url":{"type":"string"}}},"PB_EpisodeProcessorConfig":{"type":"object","description":"Episode Processing Presets model","properties":{"cutIntroAudioUrl":{"type":"string","description":"Edit based on intro audio. Required if cutOutro is specified."},"cutOutroAudioUrl":{"type":"string","description":"Edit based on outro audio. Required if cutIntro is specified."},"addIntroAudioUrl":{"type":"string","description":"Add intro audio to recorded episode"},"addOutroAudioUrl":{"type":"string","description":"Add outro audio to recorded episode"},"aiTitleSummary":{"type":"boolean","description":"Generate episode title and summary"},"customPromptTitle":{"type":"string","description":"Custom prompt for generating episode title"},"customPromptDescription":{"type":"string","description":"Custom prompt for generating episode description"},"removeBackgroundMusic":{"type":"boolean"},"removeAds":{"type":"boolean"},"extractInterviews":{"type":"boolean","description":"Enable Interview Extraction"},"interviewMinLengthMinutes":{"type":"integer","format":"int64","description":"Minimum Interview Length (minutes). Required if interview extraction is enabled","minimum":1},"customPromptInterviewTitle":{"type":"string","description":"Custom prompt for generating interview title"},"customPromptInterviewDescription":{"type":"string","description":"Custom prompt for generating interview description"}}},"PB_EpisodeProcessorResponse":{"type":"object","description":"Episode Processing Response model","properties":{"jobId":{"type":"string"},"status":{"type":"string"},"error":{"type":"string"}}},"PB_CreateRecordingPodcast":{"type":"object","description":"Create Recording Podcast model","properties":{"podcast":{"$ref":"#/components/schemas/PB_Podcast"},"recordingConfig":{"$ref":"#/components/schemas/PB_PodcastRecordingConfig"},"processingPresets":{"$ref":"#/components/schemas/PB_PodcastProcessingPresets"},"aiAdsConfig":{"$ref":"#/components/schemas/PB_PodcastAiAdsConfig"},"interviewConfig":{"$ref":"#/components/schemas/PB_PodcastInterviewConfig"}},"required":["podcast","recordingConfig"]},"PartnerStreamInformation":{"type":"object","properties":{"id":{"type":"string"},"requestId":{"type":"string"},"state":{"type":"string","enum":["active","idle","unknown"]},"name":{"type":"string"},"streamUrl":{"type":"string","format":"url"},"siteUrl":{"type":"string","format":"url"},"currentTrack":{"$ref":"#/components/schemas/PartnerStreamTrackInformation"},"listeners":{"type":"integer","format":"int32"},"listenersTimestamp":{"type":"string","format":"date-time"}}},"PartnerStreamTrackInformation":{"type":"object","properties":{"album":{"type":"string"},"artist":{"type":"string"},"track":{"type":"string"},"duration":{"type":"integer","format":"int32"},"startTime":{"type":"string","format":"date-time"},"endTime":{"type":"string","format":"date-time"}}},"StationFilters":{"type":"object","description":"Filters for station search","properties":{"country":{"type":"array","items":{"type":"string"},"uniqueItems":true},"language":{"type":"array","items":{"type":"string"},"uniqueItems":true},"genre":{"type":"array","items":{"type":"string"},"uniqueItems":true}}},"StationSearchParams":{"type":"object","description":"Station search params","properties":{"query":{"type":"string"},"filters":{"$ref":"#/components/schemas/StationFilters"},"hitsPerPage":{"type":"integer","format":"int32","default":10,"maximum":1000,"minimum":1},"page":{"type":"integer","format":"int32","default":1,"minimum":1},"minSessions":{"type":"integer","format":"int64","minimum":0}}},"MountStatus":{"type":"object","properties":{"status":{"type":"string"},"timestamp":{"type":"integer","format":"int64"}}},"Restrictions":{"type":"object","properties":{"allowedCountries":{"type":"array","items":{"type":"string"},"uniqueItems":true},"blockedCountries":{"type":"array","items":{"type":"string"},"uniqueItems":true}}},"Station":{"type":"object","description":"Station model","properties":{"key":{"type":"string"},"name":{"type":"string"},"stream":{"type":"string"},"website":{"type":"string"},"genre":{"type":"string"},"logo":{"type":"string"},"wallpaper":{"type":"string"},"language":{"type":"string"},"country":{"type":"string"},"city":{"type":"string"},"description":{"type":"string"},"lastUpdate":{"type":"integer","format":"int64"},"restrictions":{"$ref":"#/components/schemas/Restrictions"},"mountStatus":{"$ref":"#/components/schemas/MountStatus"},"streamConfig":{"$ref":"#/components/schemas/StreamConfig"}}},"StationSearchResults":{"type":"object","description":"Station search results","properties":{"hits":{"type":"array","items":{"$ref":"#/components/schemas/Station"}},"total":{"type":"integer","format":"int64"}}},"StreamConfig":{"type":"object","properties":{"enforceHttps":{"type":"boolean"},"sampleRate":{"type":"integer","format":"int64"},"bitRate":{"type":"integer","format":"int64"},"codec":{"type":"string"}}},"ListenerLocationFilter":{"type":"object","description":"Listener location filter","properties":{"continents":{"type":"array","items":{"type":"string"}},"countries":{"type":"array","items":{"type":"string"}}}},"PodcastFilters":{"type":"object","description":"Filters for podcast search","properties":{"country":{"type":"array","items":{"type":"string"},"uniqueItems":true},"language":{"type":"array","items":{"type":"string"},"uniqueItems":true},"category":{"type":"array","items":{"type":"string"},"uniqueItems":true},"podcastType":{"type":"string","enum":["podcasts","shows"]}}},"PodcastSearchParams":{"type":"object","description":"Podcast search params","properties":{"query":{"type":"string"},"filters":{"$ref":"#/components/schemas/PodcastFilters"},"hitsPerPage":{"type":"integer","format":"int32","default":10,"maximum":1000,"minimum":1},"page":{"type":"integer","format":"int32","default":1,"minimum":1}}},"PodcastSearchResults":{"type":"object","description":"Podcast search results","properties":{"hits":{"type":"array","items":{"$ref":"#/components/schemas/Podcast"}},"total":{"type":"integer","format":"int64"}}},"TotalLiveStats":{"type":"object","properties":{"count":{"type":"integer","format":"int64"},"peak":{"type":"integer","format":"int64"}}},"AdMarker":{"type":"object","properties":{"position_in_output_start":{"type":"string"},"position_in_output_end":{"type":"string"},"original_start":{"type":"string"},"original_end":{"type":"string"},"slot_duration":{"type":"number","format":"double"},"ad_count":{"type":"integer","format":"int64"}}},"AdMarkersInfo":{"type":"object","properties":{"path":{"type":"string"},"success":{"type":"boolean"},"s3":{"$ref":"#/components/schemas/S3"},"metadata":{"$ref":"#/components/schemas/Metadata"},"total_ads_removed":{"type":"integer","format":"int64"},"total_ads_duration":{"type":"number","format":"double"},"markers":{"type":"array","items":{"$ref":"#/components/schemas/AdMarker"}}}},"AudioFileInfo":{"type":"object","properties":{"path":{"type":"string"},"success":{"type":"boolean"},"url":{"type":"string"},"s3":{"$ref":"#/components/schemas/S3"},"metadata":{"$ref":"#/components/schemas/Metadata"},"job_id":{"type":"string"}}},"AudioProcessorJob":{"type":"object","properties":{"job_id":{"type":"string"},"workflow_id":{"type":"string"},"streamUrl":{"type":"string"},"status":{"type":"string"},"params":{"$ref":"#/components/schemas/JsonNode"},"type":{"type":"string"},"current_job_index":{"type":"integer","format":"int64"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"error_message":{"type":"string"},"results":{"$ref":"#/components/schemas/Results"},"jobCompleted":{"type":"boolean"},"jobCompletedWithSuccess":{"type":"boolean"}}},"Chapter":{"type":"object","properties":{"start":{"type":"number","format":"double"},"end":{"type":"number","format":"double"},"title":{"type":"string"},"summary":{"type":"string"}}},"Clip":{"type":"object","properties":{"start":{"type":"number","format":"double"},"end":{"type":"number","format":"double"},"score":{"type":"number","format":"double"},"category":{"type":"string"},"title":{"type":"string"},"quote":{"type":"string"},"why_viral":{"type":"string"},"group":{"type":"string"},"clip_generation":{"type":"string"},"audio_clip_info":{"$ref":"#/components/schemas/AudioFileInfo"},"transcript_clip_info":{"$ref":"#/components/schemas/AudioFileInfo"},"video_clip_info":{"$ref":"#/components/schemas/AudioFileInfo"},"video_clips_info":{"type":"object","additionalProperties":{"$ref":"#/components/schemas/AudioFileInfo"}}}},"Interview":{"type":"object","properties":{"id":{"type":"integer","format":"int32"},"path":{"type":"string"},"job_id":{"type":"string"},"transcript_path":{"type":"string"},"name":{"type":"string"},"file_size":{"type":"integer","format":"int64"},"duration":{"type":"integer","format":"int32"},"description":{"type":"string"},"is_interview":{"type":"boolean"}}},"JsonNode":{},"Metadata":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"file_size":{"type":"integer","format":"int64"},"duration":{"type":"integer","format":"int64"}}},"MusicInfo":{"type":"object","properties":{"total_music_removed":{"type":"integer","format":"int64"},"total_music_duration":{"type":"number","format":"double"}}},"Results":{"type":"object","properties":{"job_id":{"type":"string"},"audio_file":{"type":"string"},"interviews":{"type":"array","items":{"$ref":"#/components/schemas/Interview"}},"transcript_path":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"audio_file_info":{"$ref":"#/components/schemas/AudioFileInfo"},"original_audio_file_info":{"$ref":"#/components/schemas/AudioFileInfo"},"ad_markers_info":{"$ref":"#/components/schemas/AdMarkersInfo"},"music_info":{"$ref":"#/components/schemas/MusicInfo"},"transcript_file_info":{"$ref":"#/components/schemas/AudioFileInfo"},"timed_transcript_file_info":{"$ref":"#/components/schemas/AudioFileInfo"},"intro_duration_seconds":{"type":"number","format":"double"},"total_duration":{"type":"number","format":"double"},"chapters":{"type":"array","items":{"$ref":"#/components/schemas/Chapter"}},"chapters_info":{"$ref":"#/components/schemas/AudioFileInfo"},"clips":{"type":"array","items":{"$ref":"#/components/schemas/Clip"}},"total_clips":{"type":"integer","format":"int64"},"total_chapters":{"type":"integer","format":"int64"},"failed_job_id":{"type":"string"}}},"S3":{"type":"object","properties":{"key":{"type":"string"},"bucket":{"type":"string"},"url":{"type":"string"}}},"WorkflowDetails":{"type":"object","properties":{"workflow":{"$ref":"#/components/schemas/AudioProcessorJob"},"jobs":{"type":"array","items":{"$ref":"#/components/schemas/AudioProcessorJob"}}}},"PB_PodcastEpisode":{"type":"object","description":"Podcast Episode model","properties":{"podcast":{"type":"string","description":"Podcast key"},"key":{"type":"string","description":"Episode key"},"explicit":{"type":"boolean"},"published":{"type":"boolean"},"duration":{"type":"integer","format":"int64","description":"Episode duration in seconds"},"size":{"type":"integer","format":"int64","description":"Episode size in bytes"},"author":{"type":"string"},"image":{"type":"string"},"link":{"type":"string"},"title":{"type":"string"},"subtitle":{"type":"string"},"summary":{"type":"string"},"description":{"type":"string"},"publish_date":{"type":"string"},"upload_status":{"type":"string"},"file_url":{"type":"string"}}},"PB_PodcastEpisodeMetadata":{"type":"object","description":"Podcast Episode Metadata model","properties":{"recordingStartTime":{"type":"integer","format":"int64","description":"Recording start time (epoch seconds)"},"recordingEndTime":{"type":"integer","format":"int64","description":"Recording end time (epoch seconds)"},"originalLength":{"type":"integer","format":"int64","description":"Original recording length (seconds)"},"originalRecordingUrl":{"type":"string","description":"Original recording URL"},"postProcessingLength":{"type":"integer","format":"int64","description":"Audio length after post processing (seconds)"},"removedMusicLength":{"type":"integer","format":"int64","description":"Length of removed music (seconds)"},"removedAdsLength":{"type":"integer","format":"int64","description":"Length of removed Ads (seconds)"},"insertedAdsLength":{"type":"integer","format":"int64","description":"Length of inserted Ads (seconds)"}}},"PodcastJob":{"type":"object","properties":{"episodeSourceKey":{"type":"string"},"podcastSourceKey":{"type":"string"},"podcastSourceId":{"type":"integer","format":"int64"},"episodeUrl":{"type":"string"},"episodeUrlPublishDate":{"type":"string","format":"date-time"},"jobId":{"type":"string"},"recordScheduleId":{"type":"string"},"slotId":{"type":"string"},"duration":{"type":"integer","format":"int64"},"podcastDestKey":{"type":"string"},"type":{"type":"string","enum":["CUT","INTERVIEWS","METADATA","REMOVE_COPYRIGHT_MUSIC","REMOVE_MUSIC","REMOVE_FOREGROUND_MUSIC","REMOVE_BACKGROUND_MUSIC","REMOVE_COMMERCIALS","REMOVE_MUSIC_COMMERCIALS","ADD_INTRO_OUTRO","WORKFLOW","CLASSIFY_AUDIO","EXTRACT_INTERVIEWS","AUTO_CLIP"]},"intro":{"type":"string"},"outro":{"type":"string"},"addIntro":{"type":"string"},"addOutro":{"type":"string"},"id":{"type":"integer","format":"int64"},"host":{"type":"string"},"creationDate":{"type":"string","format":"date-time"},"lastUpdated":{"type":"string","format":"date-time"},"status":{"type":"string","enum":["PENDING_CREATION","PENDING","PROCESSING","CHECKING","FINISHING","CHECKING_FAILED","COMPLETED","FINISHED","FAILED","CANCELLED"]},"subJobTypes":{"type":"array","items":{"type":"string","enum":["CUT","INTERVIEWS","METADATA","REMOVE_COPYRIGHT_MUSIC","REMOVE_MUSIC","REMOVE_FOREGROUND_MUSIC","REMOVE_BACKGROUND_MUSIC","REMOVE_COMMERCIALS","REMOVE_MUSIC_COMMERCIALS","ADD_INTRO_OUTRO","WORKFLOW","CLASSIFY_AUDIO","EXTRACT_INTERVIEWS","AUTO_CLIP"]}},"titlePrefix":{"type":"string"},"recordingInterviewMinDurationMinutes":{"type":"integer","format":"int32"},"customPromptTitle":{"type":"string"},"customPromptDescription":{"type":"string"},"interviewCustomTitle":{"type":"string"},"interviewCustomDescription":{"type":"string"},"processedAudioDuration":{"type":"integer","format":"int64"}}},"PartnerAdStats":{"type":"object","properties":{"partnerId":{"type":"string"},"timestamp":{"type":"string"},"requests":{"type":"integer","format":"int64"},"opportunity":{"type":"integer","format":"int64"},"impressions":{"type":"integer","format":"int64"},"start":{"type":"integer","format":"int64"},"complete":{"type":"integer","format":"int64"},"cpm":{"type":"number","format":"double"},"grossRevenue":{"type":"number","format":"double"},"netRevenue":{"type":"number","format":"double"},"insertionRate":{"type":"number","format":"double"},"listenThroughRate":{"type":"number","format":"double"},"fillRate":{"type":"number","format":"double"},"revenuePercentage":{"type":"number","format":"double"},"groupBy":{"type":"object","additionalProperties":{"type":"string"}}}},"PartnerAdStatsResponse":{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PartnerAdStats"}},"success":{"type":"boolean"},"error":{"type":"string"}}},"StationList":{"type":"object","description":"List of Station","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/Station"}},"total":{"type":"integer","format":"int64"}}},"Language":{"type":"object","description":"Language model","properties":{"name":{"type":"string"}}},"StationGenre":{"type":"object","description":"StationGenre model","properties":{"name":{"type":"string"}}},"Country":{"type":"object","description":"Country model","properties":{"name":{"type":"string"},"iso":{"type":"string"},"iso3":{"type":"string"}}},"PodcastEpisodeList":{"type":"object","description":"List of PodcastEpisode","properties":{"items":{"type":"array","items":{"$ref":"#/components/schemas/PodcastEpisode"}},"total":{"type":"integer","format":"int64"}}},"PodcastCategory":{"type":"object","description":"PodcastCategory model","properties":{"id":{"type":"string"},"text":{"type":"string"},"parent":{"type":"string"}}}}}}