List Podcasts by Publication URL

View as Markdown

This endpoint returns a paginated list of podcasts. For GET requests, it returns the base podcast list. For POST requests, if the JSON body contains a ‘url’ parameter (representing the publication’s custom URL), the view will filter the podcasts to return only those whose ‘owner’ matches the Publication owner’s user. If the ‘url’ parameter is omitted, the full list is returned.

Query parameters

categorystringOptional
created_afterdatetimeOptional
created_beforedatetimeOptional
descriptionstringOptional
focus_areastringOptional
generation_statusenumOptional
Current status of podcast generation process * `not_started` - Not Started * `generating_script` - Generating Script * `script_generated` - Script Generated * `generating_audio` - Generating Audio * `completed` - Completed * `failed` - Failed
is_draftbooleanOptional
knowledge_levelenumOptional
Target knowledge level for the podcast audience * `beginner` - Beginner * `intermediate` - Intermediate * `advanced` - Advanced * `expert` - Expert
Allowed values:
max_lengthintegerOptional
min_lengthintegerOptional
pageintegerOptional
A page number within the paginated result set.
page_sizeintegerOptional
Number of results to return per page.
publicationstringOptional
subcategorystringOptional
tagsstringOptional
titlestringOptional
visibilitystringOptional
voice_typestringOptional

Response

A paginated list of podcasts. If a 'url' is provided in the POST body, only podcasts created by the corresponding Publication owner are returned.
countinteger
resultslist of objects
nextstring or nullformat: "uri"
previousstring or nullformat: "uri"

Errors

400
Bad Request Error
401
Unauthorized Error