API ReferenceA2 A
Update agent trust level
Update agent trust level - Rensei REST API operation reference.
Authorization
rsk_Bearer AuthorizationBearer <token>
Rensei API key. Format: rsk_live_<random>. Generated in Settings or via POST /api/org/{orgId}/keys. Used by CLI (af), daemon, and programmatic integrations.
In: header
Path Parameters
id*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PATCH "https://example.com/api/a2a/agents/string" \ -H "Content-Type: application/json" \ -d '{ "trustLevel": "internal" }'{
"agent": {
"id": "string",
"orgId": "string",
"url": "http://example.com",
"trustLevel": "internal",
"card": {
"name": "string",
"url": "http://example.com",
"version": "string",
"description": "string",
"skills": [
{}
]
},
"lastFetchedAt": "2019-08-24T14:15:22Z",
"reachable": true,
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z"
}
}{
"error": "Session not found"
}{
"error": "Session not found"
}{
"error": "Session not found"
}