Read an action's reconciliation
const url = 'https://api.katara.com/katara/v1/orgs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/environments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/actions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/reconciliation';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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.katara.com/katara/v1/orgs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/environments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/actions/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/reconciliation \ --header 'Authorization: Bearer <token>'Requires locus:actions:read. Found only for an external runtime’s action whose outcome was unknown; any other action is not found here. Key resource restrictions match resource_id. Workload credentials are refused. It carries the outcome, the action’s tool unit and the resolution once one is recorded, never the action’s input or the tool’s output.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”Optional for reads after sign-in. Use the UUID of the account that loaded the application. A different current cookie account returns account_changed before the handler runs. Session bearer and API key clients do not require this header.
Responses
Section titled “Responses”The action and its unit.
An external runtime’s action whose outcome is unknown, and its resolution once there is one. It carries identifiers, states, amounts and times, never the action’s input or the tool’s output. unit is absent when the action had no tool unit.
object
The call ended without a reply anyone could trust, so nobody knows whether the effect happened.
The action’s one tool unit as its budget holds it.
object
The tool tariff the action was admitted at, in atomic credit units (nine decimal places).
Held: reserved and not yet decided. unknown: reserved and marked as awaiting reconciliation once no call could still be running. charged: the unit was spent. released: it was returned to the budget.
What the owner or admin who resolved the action recorded. Written once and never changed.
object
What the record did to the unit. Absent when the action had none.
Example
{ "mode": "test", "effect": "read_only", "outcome": "unknown", "unit": { "state": "held" }, "resolution": { "outcome": "completed", "unit_outcome": "charged" }}Invalid ID or a query.
Current scoped read authority is unavailable.
The action’s outcome was not unknown, or the action is unavailable.
The action or its authority could not be checked.