Update pipeline
curl --request PATCH \
--url https://acusight.io/api/core/pipelines/{pipeline_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"auto_assign_to": 123,
"config": [
123
],
"description": "<string>",
"hls_port": 123,
"name": "<string>",
"stream_path": "<string>",
"video_source_url": "<string>",
"webrtc_port": 123
}
'import requests
url = "https://acusight.io/api/core/pipelines/{pipeline_id}"
payload = {
"auto_assign_to": 123,
"config": [123],
"description": "<string>",
"hls_port": 123,
"name": "<string>",
"stream_path": "<string>",
"video_source_url": "<string>",
"webrtc_port": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
auto_assign_to: 123,
config: [123],
description: '<string>',
hls_port: 123,
name: '<string>',
stream_path: '<string>',
video_source_url: '<string>',
webrtc_port: 123
})
};
fetch('https://acusight.io/api/core/pipelines/{pipeline_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://acusight.io/api/core/pipelines/{pipeline_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'auto_assign_to' => 123,
'config' => [
123
],
'description' => '<string>',
'hls_port' => 123,
'name' => '<string>',
'stream_path' => '<string>',
'video_source_url' => '<string>',
'webrtc_port' => 123
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://acusight.io/api/core/pipelines/{pipeline_id}"
payload := strings.NewReader("{\n \"auto_assign_to\": 123,\n \"config\": [\n 123\n ],\n \"description\": \"<string>\",\n \"hls_port\": 123,\n \"name\": \"<string>\",\n \"stream_path\": \"<string>\",\n \"video_source_url\": \"<string>\",\n \"webrtc_port\": 123\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://acusight.io/api/core/pipelines/{pipeline_id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"auto_assign_to\": 123,\n \"config\": [\n 123\n ],\n \"description\": \"<string>\",\n \"hls_port\": 123,\n \"name\": \"<string>\",\n \"stream_path\": \"<string>\",\n \"video_source_url\": \"<string>\",\n \"webrtc_port\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://acusight.io/api/core/pipelines/{pipeline_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"auto_assign_to\": 123,\n \"config\": [\n 123\n ],\n \"description\": \"<string>\",\n \"hls_port\": 123,\n \"name\": \"<string>\",\n \"stream_path\": \"<string>\",\n \"video_source_url\": \"<string>\",\n \"webrtc_port\": 123\n}"
response = http.request(request)
puts response.read_body{
"auto_assign_to": 123,
"config": [
123
],
"config_synced_at": "<string>",
"created_at": "<string>",
"current_config": [
123
],
"current_topology": [
123
],
"description": "<string>",
"desired_config": [
123
],
"device": {
"auto_assign_to": 123,
"compose_file_path": "<string>",
"config_last_sync": "<string>",
"created_at": "<string>",
"device_id": "<string>",
"device_type": "<string>",
"edge_key": "<string>",
"hls_port": 123,
"id": 123,
"ip_address": "<string>",
"last_seen": "<string>",
"last_snapshot_at": "<string>",
"name": "<string>",
"organization_id": "<string>",
"pipelines": "<array>",
"portainer_endpoint_id": 123,
"provisioned_at": "<string>",
"provisioned_by": "<string>",
"running_model": {
"alias": "<string>",
"archived_at": "<string>",
"artifact_uri": "<string>",
"class_labels": [
123
],
"created_at": "<string>",
"display_name": "<string>",
"format": "<string>",
"framework": "<string>",
"id": 123,
"is_reference": true,
"model_type": "<string>",
"project_id": 123,
"source_model_version_id": 123,
"updated_at": "<string>",
"version": 123,
"version_id": 123
},
"running_model_version_id": 123,
"status": "<string>",
"stream_path": "<string>",
"target_model": {
"alias": "<string>",
"archived_at": "<string>",
"artifact_uri": "<string>",
"class_labels": [
123
],
"created_at": "<string>",
"display_name": "<string>",
"format": "<string>",
"framework": "<string>",
"id": 123,
"is_reference": true,
"model_type": "<string>",
"project_id": 123,
"source_model_version_id": 123,
"updated_at": "<string>",
"version": 123,
"version_id": 123
},
"target_model_version_id": 123,
"updated_at": "<string>",
"virtual_device_config": {
"active_track_count": 123,
"batch_size": 123,
"created_at": "<string>",
"current_image_index": 123,
"dataset_format": "<string>",
"dataset_path": "<string>",
"dataset_version_id": 123,
"device_id": "<string>",
"event_frequency": 123,
"event_types": "<string>",
"id": 123,
"loop": true,
"max_concurrent_tracks": 123,
"random_order": true,
"simulation_mode": "<string>",
"simulation_status": "<string>",
"total_events_sent": 123,
"total_images": 123,
"total_images_uploaded": 123,
"track_max_duration": 123,
"track_min_duration": 123,
"updated_at": "<string>",
"upload_frequency": 123
},
"webrtc_port": 123
},
"device_id": "<string>",
"hls_port": 123,
"id": 123,
"last_snapshot_at": "<string>",
"name": "<string>",
"organization_id": "<string>",
"pipeline_id": "<string>",
"running_model_version_id": 123,
"status": "<string>",
"stream_path": "<string>",
"target_model_version_id": 123,
"updated_at": "<string>",
"video_source_type": "<string>",
"video_source_url": "<string>",
"webrtc_port": 123
}{}{}{}Devices & provisioning
Update pipeline
Update pipeline configuration and settings
PATCH
/
core
/
pipelines
/
{pipeline_id}
Update pipeline
curl --request PATCH \
--url https://acusight.io/api/core/pipelines/{pipeline_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"auto_assign_to": 123,
"config": [
123
],
"description": "<string>",
"hls_port": 123,
"name": "<string>",
"stream_path": "<string>",
"video_source_url": "<string>",
"webrtc_port": 123
}
'import requests
url = "https://acusight.io/api/core/pipelines/{pipeline_id}"
payload = {
"auto_assign_to": 123,
"config": [123],
"description": "<string>",
"hls_port": 123,
"name": "<string>",
"stream_path": "<string>",
"video_source_url": "<string>",
"webrtc_port": 123
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
auto_assign_to: 123,
config: [123],
description: '<string>',
hls_port: 123,
name: '<string>',
stream_path: '<string>',
video_source_url: '<string>',
webrtc_port: 123
})
};
fetch('https://acusight.io/api/core/pipelines/{pipeline_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://acusight.io/api/core/pipelines/{pipeline_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'auto_assign_to' => 123,
'config' => [
123
],
'description' => '<string>',
'hls_port' => 123,
'name' => '<string>',
'stream_path' => '<string>',
'video_source_url' => '<string>',
'webrtc_port' => 123
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://acusight.io/api/core/pipelines/{pipeline_id}"
payload := strings.NewReader("{\n \"auto_assign_to\": 123,\n \"config\": [\n 123\n ],\n \"description\": \"<string>\",\n \"hls_port\": 123,\n \"name\": \"<string>\",\n \"stream_path\": \"<string>\",\n \"video_source_url\": \"<string>\",\n \"webrtc_port\": 123\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://acusight.io/api/core/pipelines/{pipeline_id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"auto_assign_to\": 123,\n \"config\": [\n 123\n ],\n \"description\": \"<string>\",\n \"hls_port\": 123,\n \"name\": \"<string>\",\n \"stream_path\": \"<string>\",\n \"video_source_url\": \"<string>\",\n \"webrtc_port\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://acusight.io/api/core/pipelines/{pipeline_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"auto_assign_to\": 123,\n \"config\": [\n 123\n ],\n \"description\": \"<string>\",\n \"hls_port\": 123,\n \"name\": \"<string>\",\n \"stream_path\": \"<string>\",\n \"video_source_url\": \"<string>\",\n \"webrtc_port\": 123\n}"
response = http.request(request)
puts response.read_body{
"auto_assign_to": 123,
"config": [
123
],
"config_synced_at": "<string>",
"created_at": "<string>",
"current_config": [
123
],
"current_topology": [
123
],
"description": "<string>",
"desired_config": [
123
],
"device": {
"auto_assign_to": 123,
"compose_file_path": "<string>",
"config_last_sync": "<string>",
"created_at": "<string>",
"device_id": "<string>",
"device_type": "<string>",
"edge_key": "<string>",
"hls_port": 123,
"id": 123,
"ip_address": "<string>",
"last_seen": "<string>",
"last_snapshot_at": "<string>",
"name": "<string>",
"organization_id": "<string>",
"pipelines": "<array>",
"portainer_endpoint_id": 123,
"provisioned_at": "<string>",
"provisioned_by": "<string>",
"running_model": {
"alias": "<string>",
"archived_at": "<string>",
"artifact_uri": "<string>",
"class_labels": [
123
],
"created_at": "<string>",
"display_name": "<string>",
"format": "<string>",
"framework": "<string>",
"id": 123,
"is_reference": true,
"model_type": "<string>",
"project_id": 123,
"source_model_version_id": 123,
"updated_at": "<string>",
"version": 123,
"version_id": 123
},
"running_model_version_id": 123,
"status": "<string>",
"stream_path": "<string>",
"target_model": {
"alias": "<string>",
"archived_at": "<string>",
"artifact_uri": "<string>",
"class_labels": [
123
],
"created_at": "<string>",
"display_name": "<string>",
"format": "<string>",
"framework": "<string>",
"id": 123,
"is_reference": true,
"model_type": "<string>",
"project_id": 123,
"source_model_version_id": 123,
"updated_at": "<string>",
"version": 123,
"version_id": 123
},
"target_model_version_id": 123,
"updated_at": "<string>",
"virtual_device_config": {
"active_track_count": 123,
"batch_size": 123,
"created_at": "<string>",
"current_image_index": 123,
"dataset_format": "<string>",
"dataset_path": "<string>",
"dataset_version_id": 123,
"device_id": "<string>",
"event_frequency": 123,
"event_types": "<string>",
"id": 123,
"loop": true,
"max_concurrent_tracks": 123,
"random_order": true,
"simulation_mode": "<string>",
"simulation_status": "<string>",
"total_events_sent": 123,
"total_images": 123,
"total_images_uploaded": 123,
"track_max_duration": 123,
"track_min_duration": 123,
"updated_at": "<string>",
"upload_frequency": 123
},
"webrtc_port": 123
},
"device_id": "<string>",
"hls_port": 123,
"id": 123,
"last_snapshot_at": "<string>",
"name": "<string>",
"organization_id": "<string>",
"pipeline_id": "<string>",
"running_model_version_id": 123,
"status": "<string>",
"stream_path": "<string>",
"target_model_version_id": 123,
"updated_at": "<string>",
"video_source_type": "<string>",
"video_source_url": "<string>",
"webrtc_port": 123
}{}{}{}Authorizations
JWT access token. Paste the token only; the Bearer prefix is added automatically.
Path Parameters
Pipeline ID (pip_ format)
Body
application/json
Pipeline update payload
Response
Updated pipeline
Per-pipeline data tracking (moved from Device for multi-pipeline support)
Full streamproc pipeline config
Config sync (desired-state reconciliation, mirrors model deployment pattern)
Relationships
Show child attributes
Show child attributes
FK to Device.DeviceID
MediaMTX HLS port
Most recent snapshot upload
Denormalized from device for query perf
Actual state — reported by agent
"active", "stopped", "error"
Per-pipeline live streaming config
Desired state — set on deploy
"STREAM", "FILE", "CAMERA"
Video source configuration
MediaMTX WebRTC port
Was this page helpful?
⌘I