Skip to main content
POST
Probe Stream

Overview

A preflight check that connects to a source URL and reports the tracks it carries, without creating anything. Use it to:
  • Verify the source is reachable before scheduling a stream.
  • Find the right audio track for audio_selections[].source.
  • Check for data tracks such as SCTE-35 ad markers.
SRT sources are supported today; RTMP and HLS ingest are coming soon. Note the trailing slash in the path: POST /stream/probe/.

Example request

A reachable source returns its tracks:

From probe to create

Pick the audio track to process and reference it in your create payload’s audio_selections. Selectors count within a track type, so the first audio track is a:0 regardless of its overall index:
If you are unsure which track carries speech, start with $first_audio.

Errors

  • 422 - Validation error, or the source could not be reached.

Authorizations

x-api-key
string
header
required

The x-api-key is a custom header required for authenticating requests to our API. Include this header in your request with the appropriate API key value to securely access our endpoints. You can find your API key(s) in the 'API' section of our studio website.

Body

application/json
url
string
required

Source stream URL to probe, e.g. srt://example.com:9000.

passphrase
string | null

Optional passphrase for authenticated streams (commonly used with SRT).

stream_id
string | null

Optional SRT streamid the source requires. This is not the Camb.ai stream ID.

Response

Tracks discovered in the source.

video_streams
VideoStream · object[]

Video tracks discovered in the source stream.

audio_streams
AudioStream · object[]

Audio tracks discovered in the source stream.

data_streams
DataStream · object[]

Data tracks discovered in the source stream (e.g., SCTE-35 ad markers).

Last modified on July 24, 2026