List Trigger Runs
curl --request GET \
--url https://api.example.com/trigger/{trigger_id}/runsimport requests
url = "https://api.example.com/trigger/{trigger_id}/runs"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/trigger/{trigger_id}/runs', 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://api.example.com/trigger/{trigger_id}/runs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/trigger/{trigger_id}/runs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/trigger/{trigger_id}/runs")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/trigger/{trigger_id}/runs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyAgent Runs
List Trigger Runs
List runs started by a specific trigger.
GET
/
trigger
/
{trigger_id}
/
runs
List Trigger Runs
curl --request GET \
--url https://api.example.com/trigger/{trigger_id}/runsimport requests
url = "https://api.example.com/trigger/{trigger_id}/runs"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/trigger/{trigger_id}/runs', 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://api.example.com/trigger/{trigger_id}/runs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/trigger/{trigger_id}/runs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.example.com/trigger/{trigger_id}/runs")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/trigger/{trigger_id}/runs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_bodyReturns run summaries for one trigger ID.
Request
curl -X GET "https://api.mosaic.so/trigger/[trigger_id]/runs?limit=25" \
-H "Authorization: Bearer mk_your_api_key"
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
limit | number | No | Page size (1-100, default 25). |
cursor | string | No | Pagination cursor from next_cursor. |
status | string | No | Comma-separated statuses (running,completed). |
from | string | No | ISO timestamp lower bound on created_at. |
to | string | No | ISO timestamp upper bound on created_at. |
Response
{
"runs": [
{
"run_id": "7f8d9c2b-4a6e-8b3f-1d5c-9e2f3a4b5c6d",
"agent_id": "123e4567-e89b-12d3-a456-789012345678",
"status": "completed",
"status_message": null,
"started_at": "2026-03-02T09:00:00Z",
"updated_at": "2026-03-02T09:06:00Z",
"node_status_counts": {
"completed": 10,
"in_progress": 0,
"failed": 0
},
"inputs": [],
"outputs": [],
"triggered_by": {
"trigger_id": "9cb911f5-7e2e-473d-8de0-9f5e2b7c95c1"
}
}
],
"next_cursor": null
}
outputs[] uses the same shape as Get Agent Run, including premiere_prproj_url when a Premiere Pro timeline package is attached to the render and sources[] when the output contains source citations.Was this page helpful?
⌘I