Skip to content
中文

List pipelines

Code Mode: praxis.media.pipelines.list

HTTP: GET /media/v1/pipelines

List the pipelines of your organization, newest first, to find a pipeline id; to read one use pipelines.retrieve. Pages hold limit pipelines (1 to 100, default 20); when has_more is true pass the id of the last pipeline you received as starting_after to get the next page. Example: GET /media/v1/pipelines?limit=20.

Signature

praxis.media.pipelines.list(args?:{query?:{/** e.g. 20 */ limit?:number;/** e.g. "msp_zpnqd7a2kxwg3vhr5tj4bfm6ec" */ starting_after?:string}}):Promise<{/** Always list. e.g. "list" */ object:"list";/** The pipelines of this page */ data:Array<{/** The pipeline's id; msp_ followed by 26 lowercase base32 characters. e.g. "msp_zpnqd7a2kxwg3vhr5tj4bfm6ec" */ id:string;/** Always media.pipeline. e.g. "media.pipeline" */ object:"media.pipeline";/** The pipeline's name. e.g. "jewellery room" */ name:string;/** The ordered processors and sinks. */ elements:Array<{/** Which processor or sink this element is. e.g. "transcribe" */ type:"transcribe"|"describe_frames"|"match_keywords"|"events"|"webhook"|"agent";/** transcribe: a language tag such as zh or en-US. e.g. "zh" */ language?:string;/** transcribe: words the recogniser should favour, at most 100. e.g. ["jade"] */ hot_words?:Array<string>;/** describe_frames: seconds between two described frames. e.g. 20 */ interval_s?:number;/** describe_frames: what to ask the model about the frame; the default asks what is happening in the picture in a sentence or two. e.g. "Describe what is happening in the picture in one or two sentences." */ prompt?:string;/** describe_frames: the vision model; omit it to use the platform's default. e.g. "gemini-3.5-flash" */ model?:string;/** match_keywords: the words to look for in the transcript. e.g. ["refund"] */ keywords?:Array<string>;/** webhook: the https or http address results are posted to. e.g. "https://example.com/hook" */ url?:string;/** webhook: a stable name for this webhook inside the pipeline (letters, digits, - and _, up to 64); whk_ followed by its position when you send none. e.g. "whk_0" */ id?:string;/** webhook: the signing secret (whsec_ followed by base64) the receiver verifies each delivery with. e.g. "whsec_k3JvYm90LXNlY3JldC1leGFtcGxlLTAwMDA" */ secret?:string;/** agent: the agent session that receives the results. e.g. "ses_01example" */ session_id?:string}>;/** The alert rules. */ alert_rules:Array<{/** Which rule this is. e.g. "keyword_match" */ type:"keyword_match"|"model_judgment";/** keyword_match: the words that fire it. e.g. ["refund"] */ keywords?:Array<string>;/** model_judgment: the question the model answers. e.g. "Is the anchor promising a refund?" */ prompt?:string;[key:string]:unknown}>;/** When the pipeline was created. e.g. "2026-11-28T10:00:00.000Z" */ created_at:string;/** When it last changed. e.g. "2026-11-28T10:00:00.000Z" */ updated_at:string}>;/** True when another page follows; pass the last id as starting_after. e.g. false */ has_more:boolean}>;

Parameters

NameInTypeRequiredDescription
limitquerynumbernoHow many pipelines one page holds, 1 to 100; default 20.
starting_afterquerystringnoThe id of the last pipeline of the previous page, taken from that page’s data; omit it for the first page. An id that is not a pipeline of your organization answers 400.

Responses

StatusContent typesDescription
200application/jsonOne page of pipelines, newest first; has_more says whether another page follows.
400application/jsonlimit is not an integer from 1 to 100, or starting_after is not a pipeline of your organization. Correct the parameter and send again.
401application/jsonThe request carries no valid API key or session. Send a key of your organization.
404application/jsonMedia Streams is not released for your organization (flag media-streams-public is off).