Get run details
curl --request GET \
--url https://posttu.com/api/v1/workflow/runs/{runId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://posttu.com/api/v1/workflow/runs/{runId}"
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/runs/{runId}', 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/runs/{runId}",
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/runs/{runId}"
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/runs/{runId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://posttu.com/api/v1/workflow/runs/{runId}")
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{
"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>",
"logs": [
{
"id": "<string>",
"stepId": "<string>",
"stepName": "<string>",
"status": "COMPLETED",
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"output": "<unknown>",
"error": "<string>"
}
]
}{
"error": "<string>"
}Runs and testing
Get run details & logs
Retrieve step-by-step execution traces, inputs, outputs, error messages, and logs for a single run.
GET
/
api
/
v1
/
workflow
/
runs
/
{runId}
Get run details
curl --request GET \
--url https://posttu.com/api/v1/workflow/runs/{runId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://posttu.com/api/v1/workflow/runs/{runId}"
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/runs/{runId}', 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/runs/{runId}",
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/runs/{runId}"
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/runs/{runId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://posttu.com/api/v1/workflow/runs/{runId}")
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{
"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>",
"logs": [
{
"id": "<string>",
"stepId": "<string>",
"stepName": "<string>",
"status": "COMPLETED",
"timestamp": "2023-11-07T05:31:56Z",
"message": "<string>",
"output": "<unknown>",
"error": "<string>"
}
]
}{
"error": "<string>"
}Retrieves an in-depth execution trace for a single workflow run. Provides per-step inputs, evaluated expressions, outputs, error stack traces, and console execution logs.
Path Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
runId | string | Yes | Unique identifier of the execution run (run_...). |
cURL Example
curl "https://posttu.com/api/v1/workflow/runs/run_999" \
-H "Authorization: Bearer YOUR_API_KEY"
Response Example
{
"data": {
"id": "run_999",
"workflowId": "wkf_abc123",
"workflowName": "Weekly Tech Digest",
"status": "SUCCESS",
"durationMs": 1420,
"startedAt": "2026-07-29T12:00:00.000Z",
"finishedAt": "2026-07-29T12:00:01.420Z",
"errorMessage": null,
"triggerPayload": {
"item": {
"title": "New AI Release",
"description": "Powerful new model launched today."
}
},
"steps": [
{
"id": "step_1",
"name": "Generate Summary",
"actionName": "ai_generate_text",
"status": "SUCCESS",
"durationMs": 950,
"retryCount": 0,
"input": {
"prompt": "Summarize for Twitter: New AI Release..."
},
"output": {
"text": "🔥 New AI Release launched today! Check out the details here."
}
},
{
"id": "step_2",
"name": "Post to Twitter",
"actionName": "channel_post",
"status": "SUCCESS",
"durationMs": 470,
"retryCount": 0,
"input": {
"channelId": "chan_tw_999",
"text": "🔥 New AI Release launched today! Check out the details here."
},
"output": {
"postId": "post_tw_555",
"status": "SCHEDULED"
}
}
],
"logs": [
{
"time": "2026-07-29T12:00:00.100Z",
"level": "INFO",
"stepId": "step_1",
"message": "Calling OpenAI API model gpt-4o..."
}
]
},
"success": true
}
Authorizations
Response
Run details with logs
Last modified on July 30, 2026

