ExecLog API
curl --request GET \
--url https://api.example.com/v1/execlogimport requests
url = "https://api.example.com/v1/execlog"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/execlog', 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/v1/execlog",
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/v1/execlog"
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/v1/execlog")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/execlog")
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_bodyReference
ExecLog API
Query execution history
GET
/
v1
/
execlog
ExecLog API
curl --request GET \
--url https://api.example.com/v1/execlogimport requests
url = "https://api.example.com/v1/execlog"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.example.com/v1/execlog', 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/v1/execlog",
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/v1/execlog"
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/v1/execlog")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/v1/execlog")
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_bodyRequest
GET /v1/execlog?agent={name}&limit={n}&state={state}
Query Parameters
| Parameter | Type | Description |
|---|---|---|
agent | string | Filter by agent name |
limit | int | Max results (default: 50) |
state | string | Filter: completed, failed, crashed |
cURL Example
# All executions for an agent
curl "http://localhost:7777/v1/execlog?agent=my-agent&limit=10"
# Only failed
curl "http://localhost:7777/v1/execlog?agent=my-agent&state=failed"
Response
{
"executions": [
{
"request_id": "abc-123",
"agent_name": "my-agent",
"worker_id": "my-agent-worker-1",
"session_id": "user-456",
"state": "completed",
"started_at": "2026-01-19T10:15:00Z",
"completed_at": "2026-01-19T10:15:02Z",
"duration_ms": 2000,
"error": null
}
],
"total": 1
}
States
| State | Description |
|---|---|
queued | Waiting for worker |
started | Currently executing |
completed | Finished successfully |
failed | Handler returned error |
crashed | Daemon died mid-execution |
CLI Equivalent
# List recent runs
orpheus execlog list my-agent -n 10
# Filter by state
orpheus execlog list my-agent --state failed
Back to API
← API Overview
⌘I

