Trust records
Trust records carry areputation_score and a blocked flag for each provider and agent. The gateway checks both before forwarding any invocation — a blocked provider or agent is rejected immediately with HTTP 403.
Agent trust
{ "items": [...] } where each entry is an AgentTrustRecord:
Provider trust
provider_id field instead of agent_id:
Trust record fields
The unique identifier of the agent or provider this trust record belongs to.
A score between
0.0 and 1.0 representing accumulated reputation. Higher is better. The score is updated automatically as invocations succeed or fail.Whether this entity is currently on the blocklist. Blocked entities are rejected at invocation with HTTP 403 before any A2A call is made.
The human-readable reason provided when the entity was blocked, if any.
ISO 8601 timestamp of the last trust record update.
Blocking and unblocking
Use the admin endpoints to block or unblock providers and agents. Blocking takes effect immediately for all subsequent invocations.Blocking a provider blocks all invocations to every agent under that provider — the gateway checks provider trust before agent trust. If you only want to restrict a single agent, block the agent directly and leave the provider unblocked.
Health records
Health records reflect real invocation outcomes — there is no separate health probe. Every time an agent or provider participates in an invocation (success or failure), ServiceNet updates the corresponding health record automatically.Agent health
{ "items": [...] } where each entry is an AgentHealthRecord:
Provider health
Health record fields
The entity this health record belongs to. Agent records also include
provider_id to indicate which provider hosts the agent.The current health status. See the status meanings table below.
ISO 8601 timestamp of the most recent invocation attempt (successful or not).
null if no invocations have been recorded yet.Round-trip latency in milliseconds for the most recent invocation.
null if not yet measured.Cumulative count of successful invocations.
Cumulative count of failed invocations.
Rolling success rate between
0.0 and 1.0. Calculated from success_count / (success_count + failure_count).ISO 8601 timestamp of the last health record write.
Health status meanings
| Status | Meaning |
|---|---|
unknown | No invocations have been recorded yet. The entity is registered but has never been called. |
online | The entity has recent successful invocations and no elevated failure rate. |
degraded | The entity is reachable but has an elevated failure rate. Callers should monitor closely. |
offline | All recent invocations have failed. The entity is likely unreachable. |
online
Normal operation. Recent invocations succeeded within expected latency bounds.
degraded
Elevated failure rate detected. The agent or provider is responding but not reliably.
offline
All recent invocations failed. Check the provider’s endpoint configuration and network reachability.
unknown
No invocation history exists yet. Status will update automatically on first call.