What this agent did, newest first
curl --request GET \
--url https://app.trustivan.com/api/v1/agents/{id}/actions \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/agents/{id}/actions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.trustivan.com/api/v1/agents/{id}/actions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trustivan.com/api/v1/agents/{id}/actions"
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))
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}What this agent did, newest first
Every action, permitted or refused, each carrying the full broker decision that judged it, including the rules that did NOT fire. A log of only the refusals could not answer “what did this agent do”: the actions that succeeded are the ones an incident is about.
Append-only, enforced by a database trigger rather than by convention, and the application role holds no UPDATE or DELETE privilege on it either. An action log that can be edited is not evidence.
Both actors are named on every row: the agent acted, and the delegating human is why it could. Neither impersonates the other.
GET
/
agents
/
{id}
/
actions
What this agent did, newest first
curl --request GET \
--url https://app.trustivan.com/api/v1/agents/{id}/actions \
--header 'Authorization: Bearer <token>'import requests
url = "https://app.trustivan.com/api/v1/agents/{id}/actions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://app.trustivan.com/api/v1/agents/{id}/actions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://app.trustivan.com/api/v1/agents/{id}/actions"
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))
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}{
"error": "<string>",
"code": "validation_failed",
"required_scope": "<string>",
"principal": "user"
}Authorizations
Response
The recorded actions.