> ## Documentation Index
> Fetch the complete documentation index at: https://arcpay-somnia.vercel.app/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Runtime Status

> Live health checks for ArcPay Somnia RPC, contracts, x402, docs, and worker indexing.

ArcPay publishes a runtime status surface so operators and agent builders can verify the system before relying on it.

## App page

Open:

```txt theme={null}
https://arcpay-somnia.vercel.app/status
```

The page checks:

* Somnia Testnet RPC and current block
* deployed contract bytecode for all ArcPay Somnia contracts
* x402 gateway health at `https://x402.20.208.46.195.nip.io/health`
* Mintlify docs availability under `/docs/overview`
* latest Supabase record indexed by the worker

## API

```bash theme={null}
curl https://arcpay-somnia.vercel.app/api/status
```

The endpoint returns `200` when every check is healthy and `207` when one or more checks are degraded, down, or unknown.

## Worker signal

The worker status is based on the newest row in `arcpay_somnia_records`. A fresh event from orders, policies, cards, invoices, privacy, risk, or reputation should move the worker check back to healthy after the worker indexes it.

For a full write-path verification, run:

```bash theme={null}
npm run smoke:live
```

That command performs funded Somnia Testnet writes across the registry, treasury policy, order book, reputation book, operator controls, SOMUSD cards, privacy vault, invoice book, and risk oracle.
