Agents

Session trust

Let a call a person already cleared in a conversation repeat for a set time without asking again.

With session trust on, what a person cleared in a conversation carries over in that conversation for a set number of minutes. The agent does not ask them to verify again, or a reviewer to approve again, for the same call. It is off unless the app turns it on.

Turn it on#

PATCH/v1/apps/:app_id/authz/settingsApp key
session_trustboolean
On or off. Default off.
session_trust_minutesinteger
How long a cleared call stays trusted. 1 to 480. Default 15.
curl -X PATCH https://api.scute.io/v1/apps/$SCUTE_APP_ID/authz/settings \  -H "Authorization: Bearer $SCUTE_APP_SECRET" \  -H "Content-Type: application/json" \  -d '{ "session_trust": true, "session_trust_minutes": 30 }'

How it works#

Session trust needs a session: the agent creates one with POST /v1/auth/:app_id/agent/sessions (see Verify the person) and passes session_id on each check. Conversations on the auth MCP server are sessions already.

The person clearedWhat carries over
A verification (the check answered allow with reason verified)The same action on the same object, with any details
A reviewer's approval (reason approved)The same action, object and details only

A trusted check answers allow with reason: "trusted_in_session" and the explanation "... was already cleared in this conversation."

Session trust never:

  • turns a deny into anything else,
  • lets a verification stand in for an approval,
  • applies to a plan step,
  • applies to the requester only check,
  • applies after the session has ended.

Clearing the same call again restarts its clock. The session's trusted field lists what is still trusted, each with permission, resource, until and exact_call.