Retrieve logs for a specific execution
curl --request GET \
--url https://production.runalloy.com/logs/{id} \
--header 'Authorization: <authorization>'import requests
url = "https://production.runalloy.com/logs/{id}"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://production.runalloy.com/logs/{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://production.runalloy.com/logs/{id}",
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: <authorization>"
],
]);
$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://production.runalloy.com/logs/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://production.runalloy.com/logs/{id}")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://production.runalloy.com/logs/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"data": {
"_id": "68110fea7d181f356acd1bf1",
"executionMode": "cli",
"executionUuid": "35SnGU0DUSNP5L26fsmnq",
"workflowId": "67ef01ed8eaeb50b18e646ea",
"userId": "67a21c7d10e1dee8d5ec3a3d",
"forgeWorkflowId": "67ef017d8eaeb50b18e635a1",
"finished": true,
"retries": [],
"actions": 3,
"metadata": {},
"runData": {},
"connections": {},
"startedAt": "2025-04-29T17:44:10.336Z",
"stoppedAt": "2025-04-29T17:44:10.393Z"
}
}Logs & Usage
Retrieve logs for a specific execution
Fetches the logs and execution details for a workflow by its execution ID.
GET
/
logs
/
{id}
Retrieve logs for a specific execution
curl --request GET \
--url https://production.runalloy.com/logs/{id} \
--header 'Authorization: <authorization>'import requests
url = "https://production.runalloy.com/logs/{id}"
headers = {"Authorization": "<authorization>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: '<authorization>'}};
fetch('https://production.runalloy.com/logs/{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://production.runalloy.com/logs/{id}",
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: <authorization>"
],
]);
$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://production.runalloy.com/logs/{id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "<authorization>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://production.runalloy.com/logs/{id}")
.header("Authorization", "<authorization>")
.asString();require 'uri'
require 'net/http'
url = URI("https://production.runalloy.com/logs/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = '<authorization>'
response = http.request(request)
puts response.read_body{
"data": {
"_id": "68110fea7d181f356acd1bf1",
"executionMode": "cli",
"executionUuid": "35SnGU0DUSNP5L26fsmnq",
"workflowId": "67ef01ed8eaeb50b18e646ea",
"userId": "67a21c7d10e1dee8d5ec3a3d",
"forgeWorkflowId": "67ef017d8eaeb50b18e635a1",
"finished": true,
"retries": [],
"actions": 3,
"metadata": {},
"runData": {},
"connections": {},
"startedAt": "2025-04-29T17:44:10.336Z",
"stoppedAt": "2025-04-29T17:44:10.393Z"
}
}⌘I

