Deploy & logs
List runs
List run summaries for recent endpoint executions — status, duration, error message, and event counts.
GET
/
apps
/
{appId}
/
logs
List runs
curl --request GET \
--url https://api.zite.com/v1/apps/{appId}/logs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.zite.com/v1/apps/{appId}/logs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zite.com/v1/apps/{appId}/logs', 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.zite.com/v1/apps/{appId}/logs",
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://api.zite.com/v1/apps/{appId}/logs"
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://api.zite.com/v1/apps/{appId}/logs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zite.com/v1/apps/{appId}/logs")
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": [
{
"runId": "3f0c8a4e-93e1-46f7-9d0a-6d5a1c2b7e90",
"workflowId": "listTickets",
"mode": "live",
"startedAt": "2026-07-13T18:04:11Z",
"durationMs": 142,
"success": false,
"errorMessage": "invalid input syntax for type timestamp: \"\"",
"sdkCallCount": 2,
"consoleLogCount": 3,
"fetchRequestCount": 0,
"snapshotId": 6347,
"triggerSource": "live"
}
],
"totalCount": 1,
"publishedSnapshotId": 6347,
"latestSnapshotId": 6351
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "API authorization header missing"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Workspace not found"
}Returns run summaries for recent workflow executions — status, duration,
error message, and per-run counts of console/SDK/fetch events. Each summary carries a
runId;
pass it to Read a run for the full detail: console
output, SDK calls with request/response data, the run’s input and output, and the error stack
trace. Logs are retained for 90 days. See Troubleshooting for common runtime
errors and fixes.Query Parameters
Response
Run summaries, newest first
⌘I
List runs
curl --request GET \
--url https://api.zite.com/v1/apps/{appId}/logs \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.zite.com/v1/apps/{appId}/logs"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.zite.com/v1/apps/{appId}/logs', 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.zite.com/v1/apps/{appId}/logs",
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://api.zite.com/v1/apps/{appId}/logs"
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://api.zite.com/v1/apps/{appId}/logs")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.zite.com/v1/apps/{appId}/logs")
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": [
{
"runId": "3f0c8a4e-93e1-46f7-9d0a-6d5a1c2b7e90",
"workflowId": "listTickets",
"mode": "live",
"startedAt": "2026-07-13T18:04:11Z",
"durationMs": 142,
"success": false,
"errorMessage": "invalid input syntax for type timestamp: \"\"",
"sdkCallCount": 2,
"consoleLogCount": 3,
"fetchRequestCount": 0,
"snapshotId": 6347,
"triggerSource": "live"
}
],
"totalCount": 1,
"publishedSnapshotId": 6347,
"latestSnapshotId": 6351
}{
"statusCode": 401,
"error": "Unauthorized",
"message": "API authorization header missing"
}{
"statusCode": 404,
"error": "Not Found",
"message": "Workspace not found"
}