Skip to main content
ServiceNet tracks two separate signals for every provider and agent: trust (reputation score and blocklist status) and health (online status, latency, and success/failure rates). You can query both at any time to monitor your service network, identify degraded participants, and react before blocked or failing agents disrupt your workflows.

Trust records

Trust records carry a reputation_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

Returns { "items": [...] } where each entry is an AgentTrustRecord:

Provider trust

Returns the same structure with a provider_id field instead of agent_id:

Trust record fields

string
The unique identifier of the agent or provider this trust record belongs to.
float
A score between 0.0 and 1.0 representing accumulated reputation. Higher is better. The score is updated automatically as invocations succeed or fail.
boolean
Whether this entity is currently on the blocklist. Blocked entities are rejected at invocation with HTTP 403 before any A2A call is made.
string | null
The human-readable reason provided when the entity was blocked, if any.
string
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

Returns { "items": [...] } where each entry is an AgentHealthRecord:

Provider health

Same structure, scoped to the provider level rather than a specific agent.

Health record fields

string
The entity this health record belongs to. Agent records also include provider_id to indicate which provider hosts the agent.
string
The current health status. See the status meanings table below.
string | null
ISO 8601 timestamp of the most recent invocation attempt (successful or not). null if no invocations have been recorded yet.
integer | null
Round-trip latency in milliseconds for the most recent invocation. null if not yet measured.
integer
Cumulative count of successful invocations.
integer
Cumulative count of failed invocations.
float
Rolling success rate between 0.0 and 1.0. Calculated from success_count / (success_count + failure_count).
string
ISO 8601 timestamp of the last health record write.

Health status meanings

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.
Health records update on every invocation — both sync (/invoke) and async (/invoke-async). You do not need to configure any separate health checks. Query /v1/health/agents after running a batch of invocations to see results immediately.