Get a synthetic tool
/synthetic-tool/{id}
Each step carries read-only `connection_state`, computed on read: `ok` (the connection exists and the caller can see it; `connection_name` is its display name), `missing` (the connection was deleted; the step keeps its `connection_id` and cannot run until it is pointed at another connection) or `unavailable` (the connection exists but the caller cannot see it, so it is not named). A step with no `connection_id` has neither field. Request bodies never accept these; they are stripped if echoed back. `broken_step_count` (steps whose state is `missing`) rides along, as on the list.
Path Parameters
Synthetic tool id (syn_…).
curl -X GET 'https://api.elaichi.ai/synthetic-tool/<id>' \
-H 'Authorization: Bearer $ELAICHI_API_TOKEN' \
-H 'Content-Type: application/json'const response = await fetch('https://api.elaichi.ai/synthetic-tool/<id>', {
method: 'GET',
headers: {
'Authorization': 'Bearer ' + process.env.ELAICHI_API_TOKEN,
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);import os
import requests
url = "https://api.elaichi.ai/synthetic-tool/<id>"
headers = {
"Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
"Content-Type": "application/json",
}
response = requests.get(url, headers=headers)
print(response.json())