Get workflow runs
curl --request GET \
--url https://posttu.com/api/v1/workflow/{id}/runs \
--header 'Authorization: Bearer <token>'import requests
url = "https://posttu.com/api/v1/workflow/{id}/runs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://posttu.com/api/v1/workflow/{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://posttu.com/api/v1/workflow/{id}/runs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://posttu.com/api/v1/workflow/{id}/runs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://posttu.com/api/v1/workflow/{id}/runs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://posttu.com/api/v1/workflow/{id}/runs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"runs": [
{
"id": "run_def456",
"status": "COMPLETED",
"workflowId": "wkf_abc123",
"startedAt": "2024-01-20T10:00:00.000Z",
"completedAt": "2024-01-20T10:05:00.000Z",
"workflowName": "Daily Post Automation",
"input": {},
"output": {},
"error": "<string>"
}
],
"nextCursor": "<string>"
}{
"error": "<string>"
}Runs and testing
Get workflow runs
Retrieve execution run history and performance statistics for a workflow.
GET
/
api
/
v1
/
workflow
/
{id}
/
runs
Get workflow runs
curl --request GET \
--url https://posttu.com/api/v1/workflow/{id}/runs \
--header 'Authorization: Bearer <token>'import requests
url = "https://posttu.com/api/v1/workflow/{id}/runs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://posttu.com/api/v1/workflow/{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://posttu.com/api/v1/workflow/{id}/runs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://posttu.com/api/v1/workflow/{id}/runs"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://posttu.com/api/v1/workflow/{id}/runs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://posttu.com/api/v1/workflow/{id}/runs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"runs": [
{
"id": "run_def456",
"status": "COMPLETED",
"workflowId": "wkf_abc123",
"startedAt": "2024-01-20T10:00:00.000Z",
"completedAt": "2024-01-20T10:05:00.000Z",
"workflowName": "Daily Post Automation",
"input": {},
"output": {},
"error": "<string>"
}
],
"nextCursor": "<string>"
}{
"error": "<string>"
}Retrieves historical execution run logs for a workflow. Use this endpoint to audit performance, monitor execution frequency, or identify failed runs.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Unique identifier of the workflow (wkf_...). |
Query Parameters
| Field | Type | Description |
|---|---|---|
limit | number | Max runs to return (default 10, max 100). |
cursor | string | Optional cursor string for pagination. |
cURL Example
curl "https://posttu.com/api/v1/workflow/wkf_abc123/runs?limit=5" \
-H "Authorization: Bearer YOUR_API_KEY"
Response Example
{
"data": [
{
"id": "run_999",
"workflowId": "wkf_abc123",
"status": "SUCCESS",
"durationMs": 1420,
"stepCount": 3,
"startedAt": "2026-07-29T12:00:00.000Z",
"finishedAt": "2026-07-29T12:00:01.420Z",
"errorMessage": null
},
{
"id": "run_998",
"workflowId": "wkf_abc123",
"status": "FAILED",
"durationMs": 310,
"stepCount": 1,
"startedAt": "2026-07-29T11:00:00.000Z",
"finishedAt": "2026-07-29T11:00:00.310Z",
"errorMessage": "HTTP 401 Unauthorized from target API endpoint"
}
],
"nextCursor": null,
"success": true
}
Authorizations
Query Parameters
Last modified on July 30, 2026

