curl --request GET \
--url https://api.erdo.ai/v1/decisions/{decisionSlug} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.erdo.ai/v1/decisions/{decisionSlug}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.erdo.ai/v1/decisions/{decisionSlug}', 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.erdo.ai/v1/decisions/{decisionSlug}",
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.erdo.ai/v1/decisions/{decisionSlug}"
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.erdo.ai/v1/decisions/{decisionSlug}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.erdo.ai/v1/decisions/{decisionSlug}")
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{
"actions": [
{
"action_key": "<string>",
"annotations": {},
"authorized_by_approval_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"completed_at": "2023-11-07T05:31:56Z",
"effective_at": "2023-11-07T05:31:56Z",
"execution_status": "<string>",
"result_summary": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"subject_kind": "<string>",
"subject_label": "<string>"
}
],
"decision": {
"agent_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"alternatives_considered": "<string>",
"applicability": "<string>",
"approval_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"authorized_at": "2023-11-07T05:31:56Z",
"decided_by_name": "<string>",
"decided_by_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"decider_kind": "<string>",
"decider_rationale": "<string>",
"decision_class": "<string>",
"evidence_kind": "<string>",
"execution_status": "<string>",
"outcome_label": "<string>",
"outcome_status": "<string>",
"proposed_at": "2023-11-07T05:31:56Z",
"rejected_at": "2023-11-07T05:31:56Z",
"slug": "<string>",
"source": "<string>",
"status": "<string>",
"subject_kind": "<string>",
"subject_label": "<string>",
"superseded_by_decision_slug": "<string>",
"supersedes_decision_slug": "<string>",
"what": "<string>",
"why": "<string>",
"workstream_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"effects": [
{
"baseline_value": 123,
"baseline_window_days": -1,
"binding_kind": "<string>",
"confidence": 123,
"conflict_decision_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contract_version": "<string>",
"dataset_metric": "<string>",
"evaluator_id": "<string>",
"evaluator_version": "<string>",
"evidence_freshness_at": "2023-11-07T05:31:56Z",
"evidence_kind": "<string>",
"first_exposure_at": "2023-11-07T05:31:56Z",
"fully_effective_at": "2023-11-07T05:31:56Z",
"guardrails": [
{
"metric": "<string>",
"min_delta": 123,
"operator": "<string>",
"target_value": 123
}
],
"measurability": "<string>",
"measured_at": "2023-11-07T05:31:56Z",
"metric": "<string>",
"min_delta": 123,
"outcome": "<string>",
"outcome_label": "<string>",
"outcome_value": 123,
"outcome_window_days": -1,
"sample_size": -1,
"settled_at": "2023-11-07T05:31:56Z",
"source_observation_count": 123,
"status": "<string>",
"success_operator": "<string>",
"target_value": 123,
"unmeasurable_reason": "<string>",
"variant_key": "<string>"
}
],
"lineage": {
"approval": {
"action_context": "<string>",
"action_display": "<string>",
"action_headline": "<string>",
"approval_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"card_contract_version": "<string>",
"decided_at": "2023-11-07T05:31:56Z",
"items": [
{
"params": {},
"what": "<string>",
"why": "<string>"
}
],
"occurrence_count": 123,
"omitted_items": 123,
"status": "<string>",
"subject_display_name": "<string>"
},
"approval_unreadable": true,
"attention_item_slug": "<string>",
"attention_item_title": "<string>",
"superseded_by_slugs": [
"<string>"
],
"supersedes_slug": "<string>",
"workstream_slug": "<string>",
"workstream_title": "<string>"
}
}{
"code": "not_found",
"details": {},
"message": "<string>"
}GetDecisionAPI mirrors erdo_get_decision: one decision in full — the
commitment, its exact actions and how each ended, its declared effects and the evidence that settled them, and supersession in both directions. A slug belonging to another organization reads as NotFound, so it cannot be probed for existence.
curl --request GET \
--url https://api.erdo.ai/v1/decisions/{decisionSlug} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.erdo.ai/v1/decisions/{decisionSlug}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.erdo.ai/v1/decisions/{decisionSlug}', 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.erdo.ai/v1/decisions/{decisionSlug}",
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.erdo.ai/v1/decisions/{decisionSlug}"
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.erdo.ai/v1/decisions/{decisionSlug}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.erdo.ai/v1/decisions/{decisionSlug}")
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{
"actions": [
{
"action_key": "<string>",
"annotations": {},
"authorized_by_approval_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"completed_at": "2023-11-07T05:31:56Z",
"effective_at": "2023-11-07T05:31:56Z",
"execution_status": "<string>",
"result_summary": "<string>",
"started_at": "2023-11-07T05:31:56Z",
"subject_kind": "<string>",
"subject_label": "<string>"
}
],
"decision": {
"agent_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"alternatives_considered": "<string>",
"applicability": "<string>",
"approval_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"authorized_at": "2023-11-07T05:31:56Z",
"decided_by_name": "<string>",
"decided_by_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"decider_kind": "<string>",
"decider_rationale": "<string>",
"decision_class": "<string>",
"evidence_kind": "<string>",
"execution_status": "<string>",
"outcome_label": "<string>",
"outcome_status": "<string>",
"proposed_at": "2023-11-07T05:31:56Z",
"rejected_at": "2023-11-07T05:31:56Z",
"slug": "<string>",
"source": "<string>",
"status": "<string>",
"subject_kind": "<string>",
"subject_label": "<string>",
"superseded_by_decision_slug": "<string>",
"supersedes_decision_slug": "<string>",
"what": "<string>",
"why": "<string>",
"workstream_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
},
"effects": [
{
"baseline_value": 123,
"baseline_window_days": -1,
"binding_kind": "<string>",
"confidence": 123,
"conflict_decision_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"contract_version": "<string>",
"dataset_metric": "<string>",
"evaluator_id": "<string>",
"evaluator_version": "<string>",
"evidence_freshness_at": "2023-11-07T05:31:56Z",
"evidence_kind": "<string>",
"first_exposure_at": "2023-11-07T05:31:56Z",
"fully_effective_at": "2023-11-07T05:31:56Z",
"guardrails": [
{
"metric": "<string>",
"min_delta": 123,
"operator": "<string>",
"target_value": 123
}
],
"measurability": "<string>",
"measured_at": "2023-11-07T05:31:56Z",
"metric": "<string>",
"min_delta": 123,
"outcome": "<string>",
"outcome_label": "<string>",
"outcome_value": 123,
"outcome_window_days": -1,
"sample_size": -1,
"settled_at": "2023-11-07T05:31:56Z",
"source_observation_count": 123,
"status": "<string>",
"success_operator": "<string>",
"target_value": 123,
"unmeasurable_reason": "<string>",
"variant_key": "<string>"
}
],
"lineage": {
"approval": {
"action_context": "<string>",
"action_display": "<string>",
"action_headline": "<string>",
"approval_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"card_contract_version": "<string>",
"decided_at": "2023-11-07T05:31:56Z",
"items": [
{
"params": {},
"what": "<string>",
"why": "<string>"
}
],
"occurrence_count": 123,
"omitted_items": 123,
"status": "<string>",
"subject_display_name": "<string>"
},
"approval_unreadable": true,
"attention_item_slug": "<string>",
"attention_item_title": "<string>",
"superseded_by_slugs": [
"<string>"
],
"supersedes_slug": "<string>",
"workstream_slug": "<string>",
"workstream_title": "<string>"
}
}{
"code": "not_found",
"details": {},
"message": "<string>"
}Authorizations
An Erdo API key (erdo_api_...) or scoped token (erdo_token_...).
Path Parameters
Response
Success response
Show child attributes
Show child attributes
continuing agent and a returning operator read.
It is the same shape for both audiences on purpose. The agent's copy of what the organization has committed to cannot be the only one, or a human coming back to the workstream has no way to check what it is acting on — so the projection carries decision, rationale, authority, execution and supersession, and both surfaces render those five facts rather than each deriving their own.
It is deliberately not the whole record: the envelope's declared effects, its per-action inputs and its measurement contract are a drill-in, and putting them here would push the ledger read past what a model can usefully hold.
Show child attributes
Show child attributes
Show child attributes
Show child attributes
and what ended it.
Show child attributes
Show child attributes

