Device Streams

List Streams

List every stream configured on a device.

Required scope: device:read

List Streams

get

List every stream configured on a device. Credentials are stripped from URLs and known credential-bearing object keys are removed from each stream's source.

Authorizations
AuthorizationstringRequired

Roboflow API key passed as a Bearer token.

Path parameters
workspacestringRequired

Workspace ID (URL slug).

deviceIdstringRequired

Device ID.

Responses
200

Streams configured on the device.

application/json
get
/{workspace}/devices/v2/{deviceId}/streams

Example Request

Example Response

Source sanitization

The source field is always passed through a sanitizer before it is returned:

  • If the source is a URL, any userinfo (scheme://user:pass@host/...) is stripped. For example, rtsp://admin:[email protected]:554/live becomes rtsp://192.168.1.100:554/live.

  • If the source is an object, keys whose lowercase name is password, passwd, secret, api_key, apikey, auth, authorization, token, or access_token are dropped from the response. All other keys are preserved.

  • Arrays and nested objects are sanitized recursively.

Get Stream

Retrieve a single stream. Returns 404 if the stream does not exist on the device, or if the device does not exist or does not belong to your workspace.

Required scope: device:read

Get a Stream

get

Retrieve a single stream on a device.

Authorizations
AuthorizationstringRequired

Roboflow API key passed as a Bearer token.

Path parameters
workspacestringRequired

Workspace ID (URL slug).

deviceIdstringRequired

Device ID.

streamIdstringRequired

Stream ID.

Responses
200

The stream.

application/json
idstring · nullableOptional
namestring · nullableOptional
statusstring · nullableOptional

Stream status reported by the streams service (for example "running", "stopped", or transitional states).

pipeline_idstring · nullableOptional
workflow_idstring · nullableOptional
sourceone ofOptional

Sanitized source descriptor. URL userinfo is stripped; object keys named password, passwd, secret, api_key, apikey, auth, authorization, token, or access_token are removed.

string · nullableOptional
or
objectOptional
or
started_atstring · date-time · nullableOptional
last_event_atstring · date-time · nullableOptional
camera_fpsnumber · nullableOptional

Camera frame rate reported by the device heartbeat.

inference_fpsnumber · nullableOptional

Inference pipeline frame rate reported by the device heartbeat.

sharpnessnumber · nullableOptional

Image sharpness score reported by the device heartbeat.

errorstring · nullableOptional
get
/{workspace}/devices/v2/{deviceId}/streams/{streamId}

Example Request

The response body matches a single item from the list endpoint (not wrapped in a data array).

Last updated

Was this helpful?