Replay a template's recorded run (AS16, TL1)
curl --request POST \
--url https://api.eddy.engineer/v1/workshop/templates/{id}/replay \
--header 'Content-Type: application/json' \
--data '
{
"agent": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/workshop/templates/{id}/replay"
payload = { "agent": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({agent: '<string>'})
};
fetch('https://api.eddy.engineer/v1/workshop/templates/{id}/replay', 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.eddy.engineer/v1/workshop/templates/{id}/replay",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'agent' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/workshop/templates/{id}/replay"
payload := strings.NewReader("{\n \"agent\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/workshop/templates/{id}/replay")
.header("Content-Type", "application/json")
.body("{\n \"agent\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/workshop/templates/{id}/replay")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"agent\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"replay": {},
"run": {}
}Meta
Replay a template's recorded run (AS16, TL1)
Runs an agent the caller may run (the agent editor’s own, typically a copy of this template) on the AS4 runtime with the starter agent’s recorded conversation as its model: no model is called. The recorded calls run first as the caller (the answer’s numbers are filled from what the engine answers for those requests, so they stay grounded); the run then makes the same calls through its own tools and is inspected like any run (/v1/agents/runs/{id}/transcript). A recording whose engine answers moved says so in the run’s notes (replay.unmet). Answers as POST /v1/agents/{id}/runs does, plus replay.
POST
/
v1
/
workshop
/
templates
/
{id}
/
replay
Replay a template's recorded run (AS16, TL1)
curl --request POST \
--url https://api.eddy.engineer/v1/workshop/templates/{id}/replay \
--header 'Content-Type: application/json' \
--data '
{
"agent": "<string>"
}
'import requests
url = "https://api.eddy.engineer/v1/workshop/templates/{id}/replay"
payload = { "agent": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({agent: '<string>'})
};
fetch('https://api.eddy.engineer/v1/workshop/templates/{id}/replay', 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.eddy.engineer/v1/workshop/templates/{id}/replay",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'agent' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/workshop/templates/{id}/replay"
payload := strings.NewReader("{\n \"agent\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/workshop/templates/{id}/replay")
.header("Content-Type", "application/json")
.body("{\n \"agent\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/workshop/templates/{id}/replay")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"agent\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"replay": {},
"run": {}
}