curl --request POST \
--url https://api.eddy.engineer/v1/workshop/templates/{id}/runs \
--header 'Content-Type: application/json' \
--data '
{
"input": "<string>",
"attachments": [
{
"blob": "<string>",
"name": "<string>",
"media_type": "<string>"
}
],
"expected_version": 123
}
'import requests
url = "https://api.eddy.engineer/v1/workshop/templates/{id}/runs"
payload = {
"input": "<string>",
"attachments": [
{
"blob": "<string>",
"name": "<string>",
"media_type": "<string>"
}
],
"expected_version": 123
}
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({
input: '<string>',
attachments: [{blob: '<string>', name: '<string>', media_type: '<string>'}],
expected_version: 123
})
};
fetch('https://api.eddy.engineer/v1/workshop/templates/{id}/runs', 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}/runs",
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([
'input' => '<string>',
'attachments' => [
[
'blob' => '<string>',
'name' => '<string>',
'media_type' => '<string>'
]
],
'expected_version' => 123
]),
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}/runs"
payload := strings.NewReader("{\n \"input\": \"<string>\",\n \"attachments\": [\n {\n \"blob\": \"<string>\",\n \"name\": \"<string>\",\n \"media_type\": \"<string>\"\n }\n ],\n \"expected_version\": 123\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}/runs")
.header("Content-Type", "application/json")
.body("{\n \"input\": \"<string>\",\n \"attachments\": [\n {\n \"blob\": \"<string>\",\n \"name\": \"<string>\",\n \"media_type\": \"<string>\"\n }\n ],\n \"expected_version\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/workshop/templates/{id}/runs")
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 \"input\": \"<string>\",\n \"attachments\": [\n {\n \"blob\": \"<string>\",\n \"name\": \"<string>\",\n \"media_type\": \"<string>\"\n }\n ],\n \"expected_version\": 123\n}"
response = http.request(request)
puts response.read_body{
"approvals_tightened": [
"costly"
],
"copy": true,
"hold_millicredits": 123,
"knowledge": [
{}
],
"resolution": {},
"run": {},
"template": {
"hash": "<string>",
"kind": "<string>",
"template": "<string>",
"version": 123
},
"version": 123
}Run a template's agent without a copy (TL17)
A run of a listed template’s agent as the caller, with no copy left among the caller’s agents: the same run as POST /v1/agents//runs, of a definition made from the template (template:<id>@v<version>) and never stored. The caller’s org pays (one hold, the template’s budget); the run’s token is exactly what its selectors resolve to within the caller’s scopes, and TL1’s house functions (house.fn.<template>.<name>) resolve from the catalog as in a copy. Nobody owns the definition, so every write, costly and external call the template’s document allows asks the caller first: the run pauses (awaiting_approval) and the caller decides in Eddy (the bell, the Organisation page’s calls that wait) or with POST /v1/agents/runs//approve; read-only calls never pause. The MCP tool template.<id>.run is this call followed to its end. A retired template is refused 410 TEMPLATE_RETIRED, an unknown one 404 TEMPLATE_NOT_FOUND; an app’s or an agent run’s token 403 TEMPLATE_RUN_DELEGATE. Answers as POST /v1/agents//runs does, plus template ({kind, template, version, hash}) and copy: false.
curl --request POST \
--url https://api.eddy.engineer/v1/workshop/templates/{id}/runs \
--header 'Content-Type: application/json' \
--data '
{
"input": "<string>",
"attachments": [
{
"blob": "<string>",
"name": "<string>",
"media_type": "<string>"
}
],
"expected_version": 123
}
'import requests
url = "https://api.eddy.engineer/v1/workshop/templates/{id}/runs"
payload = {
"input": "<string>",
"attachments": [
{
"blob": "<string>",
"name": "<string>",
"media_type": "<string>"
}
],
"expected_version": 123
}
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({
input: '<string>',
attachments: [{blob: '<string>', name: '<string>', media_type: '<string>'}],
expected_version: 123
})
};
fetch('https://api.eddy.engineer/v1/workshop/templates/{id}/runs', 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}/runs",
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([
'input' => '<string>',
'attachments' => [
[
'blob' => '<string>',
'name' => '<string>',
'media_type' => '<string>'
]
],
'expected_version' => 123
]),
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}/runs"
payload := strings.NewReader("{\n \"input\": \"<string>\",\n \"attachments\": [\n {\n \"blob\": \"<string>\",\n \"name\": \"<string>\",\n \"media_type\": \"<string>\"\n }\n ],\n \"expected_version\": 123\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}/runs")
.header("Content-Type", "application/json")
.body("{\n \"input\": \"<string>\",\n \"attachments\": [\n {\n \"blob\": \"<string>\",\n \"name\": \"<string>\",\n \"media_type\": \"<string>\"\n }\n ],\n \"expected_version\": 123\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/workshop/templates/{id}/runs")
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 \"input\": \"<string>\",\n \"attachments\": [\n {\n \"blob\": \"<string>\",\n \"name\": \"<string>\",\n \"media_type\": \"<string>\"\n }\n ],\n \"expected_version\": 123\n}"
response = http.request(request)
puts response.read_body{
"approvals_tightened": [
"costly"
],
"copy": true,
"hold_millicredits": 123,
"knowledge": [
{}
],
"resolution": {},
"run": {},
"template": {
"hash": "<string>",
"kind": "<string>",
"template": "<string>",
"version": 123
},
"version": 123
}