Get full decision provenance
const url = 'https://api.ultimateteam.ai/api/v1/decisions/example';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.ultimateteam.ai/api/v1/decisions/example \ --header 'X-API-Key: <X-API-Key>'Returns the complete provenance trail for a single decision, including full reasoning chain, all data sources consulted, and expected vs actual outcomes.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”The decision UUID to retrieve
The decision UUID to retrieve
Responses
Section titled “ Responses ”Successful Response
Full provenance response for a single decision.
Attributes: id: Decision UUID. tenant_id: Owning tenant. agent_role: The agent that made the decision. action_type: Category of action. autonomy_level: Autonomy level used. description: Human-readable description. reasoning_chain: Full reasoning trace. confidence_score: Agent confidence (0.0-1.0). data_sources: All data sources consulted. expected_outcome: What the agent predicted. actual_outcome: What actually happened. outcome_quality: Match score between prediction and reality. outcome_measured_at: When outcome was measured. status: Decision status. reversible: Whether decision can be undone. reversed: Whether decision was undone. created_at: When recorded. decided_at: When executed.
object
object
Structured pre-act plan generated before Level 2+ agent actions.
object
object
object
object
object
A single step in a pre-act execution plan.
object
Example
{ "execution_plan": { "debate": { "net_recommendation": "proceed", "owner_kind": "decision", "status": "pending", "synthesis": "" }, "overall_risk": "low", "preference_evidence": [ { "outcome": "approved" } ], "steps": [ { "credit_cost": 0, "risk_level": "low" } ] }}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}