List your Locus actions
const url = 'https://api.katara.com/katara/v1/orgs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/environments/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/actions?limit=25';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?limit=25' \ --header 'Authorization: Bearer <token>'Requires locus:actions:read, the original requester, current organization and environment membership, and current key/service authority. Service key owners must also retain personal membership and the read permission. Key resource restrictions match resource_id, not the action ID. Workload credentials are refused. Current policy, grant, payer and reviewer authority are rechecked. Named source revocation or expiry produces sanitized history with authority_status stale; failures in database or internal checks fail the request. A Test reset mismatch returns 404. Recorded decisions and denial_source preserve why a request was denied. The response contains no action inputs, credential bindings, reviewer identities or authentication evidence. State is a read snapshot; it grants no approval or execution right. Claimed means an execution claim exists, not that its external effect completed.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query 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”Requester action metadata.
object
object
object
object
object
What an external runtime’s call reported when it ended. unknown: nobody can say whether the effect happened. Absent when no outcome was recorded, as for an action a managed run took.
For an unknown outcome: awaiting until an owner or admin records what happened, then recorded.
Example
{ "data": [ { "mode": "test", "usage_class": "simulation", "kind": "tool", "effect": "read_only", "recorded_decision": { "outcome": "allow", "reasons": [ "kind_not_allowed" ] }, "state": "pending", "authority_status": "current", "denial_source": "policy", "outcome": "reported_success", "reconciliation": "awaiting" } ]}Invalid ID, cursor or query.
Current scoped read authority is unavailable.
Action is unavailable to this requester or Test generation.
The action changed during inspection. Reload before interpreting its state.
The action or its authority could not be checked.