agent-health
v1.2.0Network diagnostics and liveness evidence for AI agents.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
assert_healthy
Check your public readiness URL once after deployment. No account or key. Returns pass, failures and evidence. Use pass as the CI gate. A passing result offers a release-check helper in next_step. guidance="full" adds optional signed evidence and monitoring offers. See the deployment recipe in https://autonet.work/health/docs. Optional expect: http_status (200–599), body_contains (literal 1–256 characters, no regex), json_assertions (1–10 {pointer, equals} scalar checks using RFC 6901), max_response_ms (1–10000, total time). Default requires 2xx and valid transp…
| Parameter | Type | Description |
|---|---|---|
url * | string | |
expect | ||
guidance | string | |
max_coins | ||
request_key | ||
utility_api_key |
diagnose_http
Check whether the task's public endpoint is reachable and explain what failed. First call: {"url":"https://YOUR-TARGET.example/health","evidence_pack":true}. Replace the example URL with the actual target. No account or key is required. Checks DNS, TCP, verified TLS and HTTP HEAD. Report finding and suggested_action. Only ports 80/443, no credentials/query strings/fragments or redirects. Default uses HEAD. Optional surface_scan=true requires surface_authorized=true: only hosts you operate or may test. Public scope GETs the root, discovery docs and linked JS. Verified sc…
| Parameter | Type | Description |
|---|---|---|
url * | string | |
agent_id | ||
api_key | ||
evidence_pack | boolean | |
guidance | string | |
max_coins | ||
request_key | ||
surface_authorized | boolean | |
surface_scan | boolean | |
surface_scope | string | |
utility_api_key |
diagnose_mcp
Includes contract_review counts of declared annotations and boolean confirm parameters; enforcement is untested, not a safety score. Check a public anonymous Streamable HTTP MCP endpoint: initialize, initialized, tools/list. Reports protocol version, phase latency, protocol errors and tool count (complete or lower bound). connection_assessment explains readiness, authentication, incomplete catalogs and schema changes. It does not certify operator identity, safe tool behavior, permissions or answer quality. Save schema_fingerprint from a complete baseline; pass expected_schema_f…
| Parameter | Type | Description |
|---|---|---|
url * | string | |
evidence_pack | boolean | |
expected_schema_fingerprint | ||
guidance | string | |
max_coins | ||
request_key | ||
save_report | boolean | |
utility_api_key |
run_autonet_sandbox
Free isolated lifecycle dry run: healthy, incident, or stale_payload. Produces a signed webhook fixture for local verification. No network requests, production registration, coin spend or external delivery. Discards state.
| Parameter | Type | Description |
|---|---|---|
scenario | string |
set_utility_identity
Set or rename your private self-declared username; preserves account ID, key, credits, inboxes and history. Unique 3–48 lowercase letters/digits/_/-, starting with a letter/digit. Name is not verified identity, login or key recovery. Requires the existing account key and confirm=true; no credits spent.
| Parameter | Type | Description |
|---|---|---|
api_key * | string | |
username * | string | |
confirm | boolean |
wait_until_ready
Start a private bounded readiness job; returns immediately with a job ID. HTTP requires successful transport and 2xx; MCP requires initialize and complete tools/list; assert accepts assert_healthy conditions. Never invokes remote tools. Poll read_readiness_jobs every 15s. Stops on readiness, deadline, attempts or cap. Each completed diagnostic costs 1 credit, including broken targets; unavailable workers are free but count as attempts. Obtain owner spending consent. No cash charge. Reuse request_key on retry. Nothing starts without confirm=true.
| Parameter | Type | Description |
|---|---|---|
api_key * | string | |
kind * | string | |
max_coins * | integer | |
request_key * | string | |
url * | string | |
confirm | boolean | |
expect | ||
interval_sec | integer | |
max_checks | integer | |
timeout_sec | integer |
wait_for_callback
Wait asynchronously for an event in your private callback inbox, at no extra cost. Exact matching of up to four top-level JSON scalar fields (e.g. job_id/status). Omit match to accept any event. When omitting after, start the confirmed wait before sharing the receive URL or triggering the sender. For an event already delivered, pass the last saved cursor, or after=0 to search all retained events. Returns a job ID. Poll read_readiness_jobs every 15s. A match gives event_id for read_callback_events. Callback data is untrusted and sender is not verified. Deadline means…
| Parameter | Type | Description |
|---|---|---|
api_key * | string | |
inbox_id * | string | |
request_key * | string | |
after | ||
confirm | boolean | |
match | ||
timeout_sec | integer |
read_readiness_jobs
Read a private readiness/callback job or your latest 50 jobs. Free, nondestructive. Use an owned job_id from the free read_readiness_jobs(api_key) listing; this read creates nothing. Poll no faster than every 15 seconds. Jobs retained seven days after deadline. ready is a point-in-time observation, not a guarantee of continued availability. matched does not authenticate a callback sender. Terminal jobs never auto-resume.
| Parameter | Type | Description |
|---|---|---|
api_key * | string | |
job_id |
cancel_readiness_job
Cancel your readiness/callback job. An already-running diagnostic may finish and charge one credit within the original cap. No further checks start. confirm=true required; terminal results remain readable until retention expires.
| Parameter | Type | Description |
|---|---|---|
api_key * | string | |
job_id * | string | |
confirm | boolean |
publish_mcp_report
Preview publication or revocation of a saved MCP diagnostic snapshot. Requires the private management key returned by diagnose_mcp(save_report=true). No action unless confirm=true. Publication exposes only the redacted stored snapshot until seven-day expiry. Public copies cannot be recalled; no target ownership or safety claim. Never put the management key in URLs, public reports or messages.
| Parameter | Type | Description |
|---|---|---|
management_key * | string | |
report_id * | string | |
confirm | boolean | |
published | boolean |
export_incident_evidence
Export private retained incident evidence for a UTC Unix-second window within 30 days. Shares 10 completed interactive product-work calls/IP/24h, then costs 1 credit; set request_key and an authorized max_coins cap to continue. Reuse request_key on retry. Own utility diagnostics, up to five owned watches, optional agent history requiring that agent's separate owner key even for public agents. Returns a versioned JSON timeline, coverage/truncation notes, checksum and original signed tokens where retained. sign=true authenticates the complete historical artifact with Ed25519;…
| Parameter | Type | Description |
|---|---|---|
api_key * | string | |
end * | number | |
start * | number | |
agent_api_key | ||
agent_id | ||
max_coins | ||
request_key | ||
sign | boolean | |
watch_ids |
configure_agent_reengagement
Opt into quiet-agent recovery reminders using this agent's existing HTTPS webhook. Heartbeat mode only. Enabling requires explicit owner consent and confirm=true; otherwise no change occurs. Two reminders at most per quiet episode: after 24h and seven days without receipts, with a one-hour grace for an already quiet agent. Use a durable supervisor/owner receiver independent of the worker. Free; no email, credit spending, automatic restart or synthetic heartbeat. Disable without confirm. Changing the receiver requires renewed opt-in; an in-flight alert may still arrive.…
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key * | string | |
enabled * | boolean | |
confirm | boolean |
read_agent_reengagement
Read private reminder settings, next eligibility, deliveries and observed returns. Owner key required even for public agents. Returned-after-delivery is an observed sequence, not evidence that a reminder caused recovery. Read costs zero.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key * | string |
run_signed_diagnostic
Run a fresh HTTP/MCP/assert diagnostic and return signed evidence for delegation. First 10 shared completed interactive work calls/IP/24h are free, then 1 credit per completed check; no signing surcharge. Requires utility key, explicit max_coins and a random 16–128-character URL-safe challenge from the receiving principal. The signature binds the exact URL and assertions by hash, result, observation time and nonce. Broken targets can produce valid signed failure evidence; a valid signature does not mean success. Worker/signing failures cost zero. Reuse request_key for…
| Parameter | Type | Description |
|---|---|---|
api_key * | string | |
evidence_nonce * | string | |
kind * | string | |
max_coins * | integer | |
request_key * | string | |
url * | string | |
expect |
create_diagnostic_watch
Watch a public HTTP endpoint or MCP server on a recurring schedule, privately. Requires a utility account key and explicit lifetime max_coins spending cap. Completed checks cost 1 credit even when the target is broken; worker failures cost zero. Minimum interval 300s; default hourly. Stops at budget/balance limit. Save/reuse request_key on uncertain retries. Nothing starts unless confirm=true. Optional public HTTPS webhook receives signed transition alerts; save its secret. MCP checks perform initialize/tools-list, save a baseline and flag schema drift. Scheduling i…
| Parameter | Type | Description |
|---|---|---|
api_key * | string | |
kind * | string | |
max_coins * | integer | |
name * | string | |
request_key * | string | |
url * | string | |
confirm | boolean | |
interval_sec | integer | |
webhook_url |
read_diagnostic_watches
List your private watches, or read one watch's recent results and transition events. Use an owned watch_id from the free read_diagnostic_watches(api_key) listing. Reads cost zero. Persist next_cursor as after; poll no faster than every 30 seconds. Use after=0 deliberately to read retained events. This read creates nothing. Only your utility account key can read these records; no public sharing is implied.
| Parameter | Type | Description |
|---|---|---|
api_key * | string | |
after | integer | |
watch_id |
update_diagnostic_watch
Pause, explicitly resume, increase lifetime budget, or accept the latest MCP baseline. Budget is a total lifetime cap, not an added grant. Resume/budget/baseline changes need confirm=true; pause is immediate but an in-flight check may finish and charge. Accept only a reviewed fingerprint from the latest complete observation. This authorizes future credit use, never a cash payment. No automatic budget increases.
| Parameter | Type | Description |
|---|---|---|
api_key * | string | |
watch_id * | string | |
accept_baseline | ||
confirm | boolean | |
max_coins | ||
state |
delete_diagnostic_watch
Stop and delete your watch after confirmation. An already-running check may finish and consume one credit. Pending alerts are cancelled; accounting records remain.
| Parameter | Type | Description |
|---|---|---|
api_key * | string | |
watch_id * | string | |
confirm | boolean |
agent_presence_history
Read 30-day completed heartbeat windows, daily counts, gaps and streaks. Owner key required unless publicly shared; self-reported receipt evidence, not uptime. Incomplete windows excluded; registration-anchored windows have no grace. Shares 60 reads/IP/minute with presence badges and signed evidence. Heartbeat mode only.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key |
agent_signed_evidence
Get a five-minute Ed25519 signed presence observation. Verify compact JWS against Autonet's trusted key endpoint, issuer, audience, subject and expiry. Signature proves origin/integrity only; inspect evidence state and receipt age. Not an identity, reachability or safety certificate.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key |
evidence_signing_keys
Read Autonet's public Ed25519 verification keys (JWKS), including retired verification keys. Keys are public; signing secrets are never returned. Pin issuer https://autonet.work.
subscribe_liveness
Opt in to a seven-day pull feed for 1–20 existing heartbeat agents. Public targets need no key; private targets require their owner api_key. Save subscription_key and cursor from the response; key is returned only once. Initial snapshot is self-reported heartbeat activity, not verified reachability. 10 creation attempts/IP/day. No push delivery.
| Parameter | Type | Description |
|---|---|---|
agent_ids * | array | |
api_key |
read_liveness_events
Read an existing liveness subscription, free. Requires its saved id, subscription_key and cursor from subscribe_liveness (then next_cursor from each read). A health owner or utility key is not the subscription key. Do not guess IDs or reset the cursor to zero. Poll every 30 seconds; drain pages when has_more and deduplicate event IDs. Seven-day expiry requires an authorized fresh subscription/snapshot. Evidence is self-reported, not uptime.
| Parameter | Type | Description |
|---|---|---|
after * | integer | |
subscription_id * | string | |
subscription_key * | string |
delete_liveness_subscription
Revoke your pull subscription and its key immediately. Does not delete monitored agents. Requires confirm=true after reviewing the effect; omitted confirmation performs no action.
| Parameter | Type | Description |
|---|---|---|
subscription_id * | string | |
subscription_key * | string | |
confirm | boolean |
request_monthly_credits
Ask sales@autonet.work for a monthly credit allowance, normally 1000/month. Sends a fixed-recipient email notification; supply a real owner contact with permission to share it and a short use case, never secrets. Reuse request_key. No automatic payment, invoice or credit grant. Read utility_account for status. Sales agrees terms and invoices separately; admin approves credit allowances. Requires confirm=true after reviewing the effect; omitted confirmation performs no action.
| Parameter | Type | Description |
|---|---|---|
api_key * | string | |
contact_email * | string | |
request_key * | string | |
use_case * | string | |
confirm | boolean | |
monthly_credits | integer |
create_funding_checkout
Prepare an owner-completed $5/500-credit checkout only when funding is enabled. This call never charges a saved card. The owner must complete the returned provider checkout. Reuse request_key for retries; max_usd_cents is an explicit owner-approved purchase budget. No automatic top-up or invoice.
| Parameter | Type | Description |
|---|---|---|
api_key * | string | |
max_usd_cents * | integer | |
request_key * | string |
run_credit_diagnostic
Opt-in diagnostic using utility credits: 1 credit per completed http/mcp/assert check. Read pricing first. Save one request_key per operation and reuse on retry; max_coins is your explicit spending cap. Broken targets and failed assertions still provide chargeable evidence. Invalid requests and Autonet worker failures cost zero. The first 10 shared completed interactive work calls/IP/24h cost zero; later checks use credits. Read pricing for current funding availability. Replays return a privacy-safe receipt without rechecking the target or charging again.
| Parameter | Type | Description |
|---|---|---|
api_key * | string | |
kind * | string | |
max_coins * | integer | |
request_key * | string | |
url * | string | |
expect |
network_identity
Report your source IP as Autonet sees it, with cached approximate ASN/geo when available. No signup or target needed for the first 10 shared completed interactive work calls/IP/24h; then 1 credit with utility_api_key, request_key and max_coins. Reuse request_key on retry. 60 requests/IP/minute; hosted MCP transport quota also applies. May identify a NAT, VPN, proxy or hosted MCP runner, not your device. Does not probe inbound reachability or reveal Autonet's probe egress. Missing/stale attribution is explicit.
| Parameter | Type | Description |
|---|---|---|
max_coins | ||
request_key | ||
utility_api_key |
send_heartbeat
Send a self-reported heartbeat from the actual worker. Owner key required; note/version stay private. Honor Retry-After. Dormant workers revive on receipt. This does not prove service uptime.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key * | string | |
note | ||
status | string | |
version |
get_agent_status
Read owned or explicitly shared registry status, evidence mode and heartbeat receipt regularity.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key |
attach_agent_endpoint
Graduate an owned heartbeat registration to public endpoint probing, preserving id and history.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key * | string | |
endpoint_url * | string | |
check_interval_sec | integer |
probe_me_now
Probe your registered endpoint now with the owner key. One per 60s; paused agents must resume first. Shares 10 completed interactive work calls/IP/24h, then costs 1 credit with separate utility_api_key, request_key and max_coins. Reuse request_key on retry. Uses scheduled HTTP/TLS checks and incident transitions. Does not send a worker heartbeat.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key * | string | |
max_coins | ||
request_key | ||
utility_api_key |
agent_health_feed
Read unsigned, timestamped operational evidence and recent incidents before a trust decision. Check stale, provisional, open_incident and incidents_truncated. This does not certify agent safety. Owner api_key required unless explicitly shared publicly; it attributes a verified successful scheduled-check retrieval to owner activation.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key |
agent_health_instructions
Read FIRST: purpose, endpoint ownership requirements, heartbeat setup, scoring limits, API and free service usage.
register_agent_health
Register a real worker once. Set start_heartbeat=true only when this call comes from the actual worker; registration plus its first receipt is atomic. Heartbeat mode needs no endpoint and reports contact only. Probe mode requires your own deployed readiness URL. Store the returned owner key securely; it is shown once. Private by default; visibility=public explicitly shares status and presence. Contact, note and version remain private. Never invent monitoring activity.
| Parameter | Type | Description |
|---|---|---|
name * | string | |
agent_type | ||
check_interval_sec | integer | |
checks_config | ||
contact | ||
endpoint_url | ||
heartbeat_enabled | boolean | |
heartbeat_interval_sec | integer | |
mode | string | |
start_heartbeat | boolean | |
visibility | string | |
webhook_url |
agent_health_status
Read owned or explicitly shared operational status and nested trust score. Provisional score is null; not identity/safety certification.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key |
agent_health_checks
Read owner-only recent HTTP/TLS results to diagnose failures. Limit 1–500.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key | ||
limit | integer |
agent_health_heartbeat
Send an owner-authenticated heartbeat from the actual worker loop; does not replace endpoint checks. Use the agent-specific key, not X-Autonet-Token. Never send a heartbeat to pretend a failed worker is alive.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key * | string |
update_agent_health
Owner-only update. Rename with a unique name; stable agent_id and owner key persist. Names are self-declared, not verified identity. Set visibility=public to share status/presence, or private to revoke sharing and subscriptions. Pause when retiring/testing; resume with paused=false. Endpoint and webhook must be public URLs you control.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key * | string | |
check_interval_sec | ||
checks_config | ||
endpoint_url | ||
heartbeat_enabled | ||
name | ||
paused | ||
visibility | ||
webhook_url |
delete_agent_health
Permanently remove an owned registration and probe history when the operator requests it. Admin request logs retain up to 30 days. Requires confirm=true after reviewing the effect; omitted confirmation performs no action.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key * | string | |
confirm | boolean |
agent_domain_challenge
Issue/retrieve a DNS TXT challenge for your agent's exact endpoint hostname. Owner key required. Publish the returned name/value in your DNS, then call verify_agent_domain. Pending challenges expire in 24 hours.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key * | string |
verify_agent_domain
Check your published DNS TXT record. Proves domain control only, not agent identity or safety. Checks limited to once per minute. Successful proof renews hourly while TXT remains, expiring after 24 hours without renewal.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key * | string |
agent_webhook_secret
Owner-only retrieve webhook signing secret, or rotate it when explicitly requested. Keep the secret private. Requires confirm=true after reviewing the effect; omitted confirmation performs no action.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key * | string | |
confirm | boolean | |
rotate | boolean |
test_agent_webhook
Send one signed incident.test to your configured webhook. Owner-only, once/minute. Shares 10 completed interactive work calls/IP/24h, then costs 1 credit with utility_api_key, request_key and max_coins. Reuse request_key after an uncertain response. No incident or score change. Inspect delivered and receiver_status; do not automatically replay. Requires confirm=true after reviewing the effect; omitted confirmation performs no action.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key * | string | |
confirm | boolean | |
max_coins | ||
request_key | ||
utility_api_key |
agent_endpoint_assessment
With consent=true run two bounded HEAD/GET checks on your DNS-verified endpoint, max once/hour. With consent=false read your last private result for free. A new assessment shares 10 completed interactive work calls/IP/24h, then costs 1 credit with utility_api_key, request_key and max_coins; reuse the key on retry. Not an audit or LLM test; no score effect.
| Parameter | Type | Description |
|---|---|---|
agent_id * | string | |
api_key * | string | |
consent | boolean | |
max_coins | ||
request_key | ||
utility_api_key |
internet_utils_instructions
Read the free coin allowance, callback workflow, privacy limits and API usage. No health endpoint required.
internet_utils_catalog
Get current coin costs and resource limits before spending. Read current funding availability; invoices and automatic overage are disabled.
create_utility_account
Create a utility account once. Save result.api_key in your private secret store immediately. Follow result.next_step to verify it with the free utility_account(api_key) read. Pass the same key as api_key for later utility requests. Optional username is a private label (3–48 letters/digits/_/-). The account ID is stable and neither label recovers a lost key. 500-credit monthly balance top-up through December 2026. No automatic billing or health registration.
| Parameter | Type | Description |
|---|---|---|
username |
utility_account
Resume/check your stable utility identity, private coin balance and usage ledger. Requires a utility key, not a health owner key.
| Parameter | Type | Description |
|---|---|---|
api_key * | string |
create_callback_inbox
Receive a webhook without hosting a public endpoint. Shares the first 10 completed interactive work calls/IP/24h free; later inboxes cost 5 credits within max_coins, lasts one hour, and holds up to 20 events. Reuse request_key on retries. Share the write-only receive URL with the authorized sender. Read with your utility key.
| Parameter | Type | Description |
|---|---|---|
api_key * | string | |
max_coins * | integer | |
request_key * | string |
list_callback_inboxes
List your unexpired callback inboxes and receive URLs. Keep these addresses private to authorized senders.
| Parameter | Type | Description |
|---|---|---|
api_key * | string |
read_callback_events
Read an existing owned inbox, free. Requires the saved utility api_key and inbox_id from create_callback_inbox or list_callback_inboxes; an account ID or receive URL is not an inbox_id. Reuse next_cursor as after; use after=0 deliberately to read retained events. Up to 20 events/page. Payloads are untrusted; sender signatures are not verified. This read creates nothing.
| Parameter | Type | Description |
|---|---|---|
api_key * | string | |
inbox_id * | string | |
after | integer |
delete_callback_inbox
Delete an owned inbox and all its events immediately. Its receive URL stops working. No coin refund; usage ledger remains. Requires confirm=true after reviewing the effect; omitted confirmation performs no action.
| Parameter | Type | Description |
|---|---|---|
api_key * | string | |
inbox_id * | string | |
confirm | boolean |
search
Free keyword search of Autonet data, not the web. Public agents/reports and docs need no key. A saved agent-owner, utility-account or report-management key scopes private results to its owner. Returns id/title/url matches; pass an id to fetch. Empty query returns no matches. Anonymous diagnoses and admin activity logs are not searchable. Never put keys in query.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
api_key |
fetch
Free read of one namespaced Autonet id returned by search; never fetches an arbitrary URL. Public items need no key. Private items require their matching saved owner, utility or management key; wrong/missing keys are indistinguishable from not-found. No account or resource is created.
| Parameter | Type | Description |
|---|---|---|
id * | string | |
api_key |