Retrieve a pipeline
Code Mode: praxis.media.pipelines.retrieve
HTTP: GET /media/v1/pipelines/{pipeline_id}
Read one pipeline: its name, elements and alert rules, as a stream that names it will run them. Example: GET /media/v1/pipelines/msp_zpnqd7a2kxwg3vhr5tj4bfm6ec.
Signature
praxis.media.pipelines.retrieve(args:{path:{/** e.g. "msp_zpnqd7a2kxwg3vhr5tj4bfm6ec" */ pipeline_id:string}}):Promise<{/** 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}>;Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| pipeline_id | path | string | yes | The pipeline’s id, the id field returned by pipelines.create or pipelines.list (msp_ followed by 26 lowercase base32 characters); a pipeline of another organization answers 404. |
Responses
| Status | Content types | Description |
|---|---|---|
| 200 | application/json | The pipeline as it is now. |
| 401 | application/json | The request carries no valid API key or session. Send a key of your organization. |
| 404 | application/json | No pipeline with this id in your organization, or Media Streams is not released for it. List your pipelines to find the id. |