@valiron/sdk 2.1.0 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/docs/DASHBOARD.md CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  > **Request verification:** Examples using `verifyAgentRequest` assume an application-owned verifier imported from your own module, not an SDK export. It must verify a fresh signature against the claimed identity, bind method, full URL and body, and atomically reject replayed nonces. See the [request-proof upgrade guide](https://www.valiron.co/docs/agents/SECURITY-UPGRADE-2026-10-31.md). Missing or invalid proofs return 401 before profile-cache lookup.
4
4
 
5
- Social Graph (Icebreaker) is a Pro feature. Bot protection is included with Free. All other capabilities are included with Free: 10,000 agent requests/month and 10,000 bot protection requests/month, 3 registered endpoints, and 5 sandbox runs/day. Pro includes 100,000 requests per product/month. Enterprise: email founders@valiron.co. Operator authentication and tenant isolation apply on every plan.
5
+ Each product includes 10,000 requests a month on Free and 100,000 on Pro ($149/month), then $0.001 per additional request once enabled. Social Graph (Icebreaker) is Pro only. Crawler Protection traffic insights and the edge rules simulator are included with Pro; Crawler Protection enforcement (Cloudflare, AWS WAF, and the SDK/gateway runtime) is a $29.99/month add-on to Pro. Everything else in Agent Access is included with Free, with 5 sandbox runs/day. Enterprise: email founders@valiron.co. Operator authentication and tenant isolation apply on every plan.
6
6
 
7
- > Manage your Valiron integration from a single web interface — register endpoints, monitor agent activity, test trust evaluations, and view analytics.
7
+ > Manage your Valiron integration from one place: set up trust checks, watch agent activity and crawler traffic, and manage keys, usage and billing.
8
8
 
9
9
  **Dashboard URL:** [https://www.valiron.co/dashboard](https://www.valiron.co/dashboard)
10
10
 
@@ -17,16 +17,9 @@ To create an account:
17
17
  1. Go to [valiron.co/dashboard](https://www.valiron.co/dashboard) and click **Create account**
18
18
  2. Enter your name, email, and password, or continue with Google or GitHub
19
19
  3. On success, you'll see a **one-time API key** — copy it immediately (it won't be shown again)
20
- 4. Complete the same guided setup for every sign-up method: Account, Signals, Policy, Endpoint, Install, Deploy, and Finish
20
+ 4. On **Agent Access → Overview**, choose how agents identify themselves and which trust checks your API needs, then use **Give this to your coding agent** to copy a complete setup prompt. The setup assistant above it (**How can I help you set this up?**) answers setup questions in plain language, or choose **Configure manually**.
21
21
 
22
- Onboarding completion is stored on the operator account, so an unfinished setup
23
- resumes after email, Google, or GitHub login and on another browser. If the
24
- original one-time key is no longer available, the wizard can generate a
25
- dedicated setup key. Existing operators are not forced back through onboarding.
26
-
27
- The Signals step supports registered ERC-8004/Solana agents, persistent
28
- key-based agents, and ANS or other provider-backed identities. ANS is an agent
29
- identity option; it is not required to create a Valiron operator account.
22
+ Setup supports registered ERC-8004/Solana agents, persistent key-based agents, and ANS or other provider-backed identities. ANS is an agent identity option; it is not required to create a Valiron operator account. Once agents call your API, the Overview shows their recent activity first, with setup one click away under **Change your setup**.
30
23
 
31
24
  After registration, sign in with your email and password, Google, or GitHub.
32
25
  Sign in on the website to manage your account. Keep the operator API key in your backend environment.
@@ -37,50 +30,76 @@ Sign in on the website to manage your account. Keep the operator API key in your
37
30
 
38
31
  **Route:** `/dashboard`
39
32
 
40
- The dashboard uses the same three product sections as the documentation. Choose a product from the **Product** switcher; its navigation appears underneath:
33
+ The dashboard uses the same two product sections as the documentation. Choose a product from the **Product** switcher; its navigation appears underneath:
34
+
35
+ - **Agent Access**: Overview, Agents, Analytics and Call logs.
36
+ - **Crawler Protection**:
37
+ - **Traffic**: one page with **Overview**, **Live**, **Bots & crawlers**, **Pages & routes** and **Log sources** tabs. These are read-only traffic insights from your request logs; see [How traffic insights work](./CRAWLER-PROTECTION.md#how-traffic-insights-work).
38
+ - **Edge rules**: **Simulator** and **Edge protection** at Cloudflare or AWS WAF.
39
+ - **Self-hosted**: **Setup** (`/dashboard/crawler-protection/setup`) for the gateway or SDK. **Controls**, **Decision logs** and **Alerts** appear once a runtime has reported.
41
40
 
42
- - **Agent Access**: Overview & setup, Agents, Analytics, Call logs and Playground. `/dashboard` retains the identity/trust integration setup and saved endpoint onboarding.
43
- - **Crawler Protection**: Traffic & analytics, Crawler controls, Decision logs, Alerts and Setup & configuration (`/dashboard/crawler-protection/setup`). Traffic & analytics stays open even when no runtime has reported. Its empty state links to setup; selecting a tab, refreshing or reloading analytics never redirects to configuration. Ordinary crawlers do not need to register as agents. This product is included on Free, Pro and Enterprise.
44
- - **API Scaffolding**: Overview (`/dashboard/api-scaffolding`) and Endpoints & testing (`/dashboard/wrappers`). Configure upstream routes, payments, optional trust checks and tests in the existing endpoint screen. `/dashboard/endpoints` remains supported and selects the same product.
41
+ Traffic insights, the simulator and Setup require Pro; enforcement requires the Crawler Protection add-on ($29.99/month on top of Pro) or Enterprise. Free accounts see an upgrade prompt. Ordinary crawlers do not need to register as agents.
45
42
 
46
- **API Keys**, **Settings & billing**, and role-restricted **Administration** remain shared account tools. On mobile, use the product switcher and horizontally scrollable product tabs; expand **Account tools** for shared pages. Opening a shared page retains the last selected product during navigation. Direct product URLs select their corresponding product, including after a reload. Existing Agent Access and shared-account URLs are unchanged. API analytics remains account-scoped; crawler analytics uses its separate origin telemetry.
43
+ **Usage**, **API Keys**, **Settings & billing**, and role-restricted **Administration** are shared account tools. The sidebar also shows a small meter of this month's requests for the selected product, linking to Usage. On mobile, use the product switcher and the scrollable tabs, and expand **Account tools** for shared pages. Opening a shared page keeps the last selected product, and direct product URLs select their product, including after a reload. Each page has its own browser tab title.
47
44
 
48
45
  ---
49
46
 
50
47
  **Account → Usage** (`/dashboard/usage`) shows both products together: admitted requests this UTC month, included and remaining allowance, additional calls, estimated request-overage charges grouped by currency, allowance reset date and enrollment/review status. Each product has its own opt-in. Counts refresh every 15 seconds while the page is visible; **Refresh** checks immediately. A failed refresh preserves the last successful counts and marks them out of date. An initial outage shows unavailable usage, never a fabricated zero. Request-overage estimates exclude the Pro subscription, taxes and billing adjustments; final invoice rounding can differ.
51
48
 
52
- The middleware overview and Crawler Protection each show their own monthly usage panel. Paid Pro owners can enable additional calls separately at the displayed rate of 0.001 per request after 100,000. Checkout offers separate unchecked opt-in controls; existing customers enroll from the relevant dashboard panel. Without opt-in, requests stop at the included allowance.
49
+ Paid Pro owners can enable additional calls for each product separately on the Usage page, at $0.001 per request after 100,000. Checkout offers separate unchecked opt-in controls. Without opt-in, requests stop at the included allowance.
53
50
 
54
- ## Valiron Crawler Protection (Free, Pro, Enterprise)
51
+ ## Valiron Crawler Protection (Pro, Enterprise; Protection add-on)
55
52
 
56
53
  **Route:** `/dashboard/crawler-protection`
57
54
 
58
- Free, Pro and Enterprise accounts can:
55
+ ### Traffic insights
56
+
57
+ Pro and Enterprise accounts can see automated traffic without installing anything. On **Traffic → Log sources** (`/dashboard/crawler-protection/sources`), add a website hostname and choose a source: Cloudflare Logpush, AWS WAF or CloudFront real-time logs through Firehose, Vercel Drains, file uploads (CloudFront, ALB, nginx/Apache/Caddy, Vercel, Cloudflare, WAF or Valiron NDJSON), any log shipper, or the passive SDK request log. Continuous connections show their `vcl_` token once; revoking a connection stops it immediately. **Recent deliveries** lists stored, duplicate, unreadable and over-allowance records for each delivery. Drag and drop log files or choose them; **Uploaded files** lists each upload, shows its requests, and can remove it from analytics (the data is retained). **Remove this website** hides a website and revokes its connections; its observed data is retained.
58
+
59
+ **Traffic → Overview** then shows observed requests split into Verified crawlers, Claimed but not verified, Other declared automation and Unclassified, a stacked request chart, top crawlers and routes, response status, edge cache results, edge actions and coverage. One status line shows whether logs are arriving, the number of sources, the last delivery and the provider-confirmed edge protection state, with **Enable protection** when it is off. The chart shows a per-class breakdown on hover, and **Verified crawlers by source** sits beside it. **Live** is a near-live feed of delivered requests with filter chips (traffic class, verification, status, edge action), a path filter and a request detail panel. **Bots & crawlers** shows requests by verification state per crawler. **Pages & routes** lists the top 200 normalized routes per traffic class with CSV export. Unclassified traffic is never labeled human. Traffic insights never block, challenge or rate-limit requests. If a self-hosted runtime has reported, its analytics appear below the overview as **Runtime telemetry**. Full details: [Connect traffic sources](./CRAWLER-PROTECTION.md#connect-traffic-sources) and [Traffic dashboard](./CRAWLER-PROTECTION.md#traffic-dashboard).
60
+
61
+ ### Data retention
62
+
63
+ Crawler Protection data is retained permanently: observed requests and summaries, policies and revisions, simulations, edge deployments, the protection audit trail, runtime decision logs, control revisions and admin change history. It is kept when a customer changes plans, removes the add-on, removes a website or closes the account. Raw uploaded payloads are deleted after parsing; only normalized metadata is kept (see [Data handling and retention](./CRAWLER-PROTECTION.md#data-handling-and-retention)).
64
+
65
+ ### Administrator view
66
+
67
+ Valiron administrators see **Crawler Protection customers** on **Administration** (`/dashboard/admin`): every account with a website, its plan, active and removed websites, observed requests, last delivery, protected websites and add-on source. **Open** goes to the customer's workspace (`/dashboard/admin/<id>/crawler-protection`), which has its own tabs in the same groups as the customer's sidebar: read-only **Traffic** (Overview, Live, Bots & crawlers, Pages & routes, Log sources), **Edge rules** (Simulator, Edge protection), **Self-hosted** (Analytics, Controls, Decision logs, Alerts, Configuration) and **Account** (Usage, Admin activity). The administrator's own product menu is hidden there. Removed websites stay selectable and are marked as removed. Traffic insights and edge protection are read-only for administrators; runtime control changes still require a reason and are recorded.
68
+
69
+ ### Edge rules
59
70
 
60
- 1. Open **Setup & configuration**, use **Copy prompt** to hand setup to a coding agent, copy the install command, and create a server-side operator API key. An optional install checkbox is a self-reported acknowledgment, stored per account in this browser; it does not verify installation or subscription activation.
61
- 2. Paste schema-v1 route/limit configuration and an optional measured capacity baseline. **Load example** fills a compiler-valid observation-mode sample for `/products/**`, with illustrative limits and one-hour expiry. Replace all limits and inventory before deployment; it is not a capacity recommendation.
71
+ **Simulator** (`/dashboard/crawler-protection/simulator`) edits edge rules (start from a template, or choose who, paths, methods, and block or rate limit), saves them as revisions and replays them against observed traffic for the last 24 hours, 7 or 30 days. Results show observed, evaluated, excluded and unknown requests, simulated rule matches, estimated rate-limited requests, per-rule enforceability at Cloudflare or AWS WAF, and **Your website traffic has not changed.**
72
+
73
+ **Edge protection** (`/dashboard/crawler-protection/protection`) has four steps: add the Crawler Protection add-on ($29.99/month, prorated on the Pro subscription); connect Cloudflare (zone ID and API token) or AWS WAF (IAM role with Valiron's external ID, and web ACL ARN) and pass the permission check; review the edge rules' enforceability; then use the **Protection** switch. The switch shows on only after the provider confirms the rules, and turning off asks for confirmation. The page also shows actual enforcement by Valiron rules, drift or failure alerts with **Re-apply**, and deployment history with rollback to earlier revisions. See [Edge protection](./CRAWLER-PROTECTION.md#edge-protection).
74
+
75
+ ### Self-hosted setup
76
+
77
+ Pro and Enterprise accounts can:
78
+
79
+ 1. Open **Self-hosted → Setup**, use **Copy prompt** to hand setup to a coding agent, copy the install command, and create a server-side operator API key. An optional install checkbox is a self-reported acknowledgment, stored per account in this browser; it does not verify installation or subscription activation.
80
+ 2. Paste schema-v1 route/limit configuration and an optional measured capacity baseline. **Load example** fills a compiler-valid dry-run sample for `/products/**`, with illustrative limits and one-hour expiry. Replace all limits and inventory before deployment; it is not a capacity recommendation.
62
81
  3. Validate against the real configuration compiler and inspect rollout blockers.
63
82
  4. Download account-scoped configuration for their own deployment, then follow the runtime environment and optional Node telemetry examples. Setup progress shows inputs validated during this visit and a runtime connection only while fresh telemetry is reporting. Editing either input clears the validation result. Select the intended reporting site in the analytics panel. If its configuration differs from the currently validated file, setup shows a mismatch and the runtime check stays incomplete. The three checks do not certify a production deployment. Setup uses a compact checklist progress bar. The optional measured baseline, deployment guidance and detailed explanations expand on demand; primary actions and validation blockers remain visible.
64
83
 
65
- SDK 0.6.0 configurations can include `crawlerAccessDefault` and `unverifiedAccess` plus route-specific crawler class allowances. The validator accepts these options; the developer must deploy and activate the base configuration in the customer runtime. Analytics filters change the view only: they do not create allow/block rules. With managed controls enabled in 0.7.0+, Crawler controls can publish access changes and tighter request budgets within installed ceilings. See [selected AI services](./CRAWLER-PROTECTION.md#allow-selected-ai-services) before applying strict defaults to public pages; unidentified traffic includes anonymous shoppers.
84
+ SDK 0.6.0 configurations can include `crawlerAccessDefault` and `unverifiedAccess` plus route-specific crawler class allowances. The validator accepts these options; the developer must deploy and activate the base configuration in the customer runtime. Analytics filters change the view only: they do not create allow/block rules. With managed controls enabled in 0.7.0+, Self-hosted → Controls can publish access changes and tighter request budgets within installed ceilings. See [selected AI services](./CRAWLER-PROTECTION.md#allow-selected-ai-services) before applying strict defaults to public pages; unidentified traffic includes anonymous shoppers.
66
85
 
67
- The server rechecks the authenticated plan on every validation. Invalid configuration, expired sessions or unavailable account lookup never grant access. Configuration is not persisted or activated by this screen. No runtime credentials are entered and no direct Redis/DB connection is made. The default **Traffic & analytics** view uses optional server-side telemetry: site/provider/route/actual-decision filters, provider totals with verification counts, plain-language allowed/limited/blocked/unavailable reasons, actual versus proposed decisions, rolling 24-hour traffic, shared work capacity, instance/configuration status, monitoring alerts and JSON export. Provider rows can be clicked to filter; Clear filters resets the view. The hourly chart remains site-wide, and JSON export includes all sites and filters. Raw metric series and reporting instances are under Advanced diagnostics. Capacity meters show reserved slots per work pool, not database utilization. Metric definitions are available under **How to read these metrics**; stale/unavailable state and observation proposals remain visible. Telemetry refreshes every 30 seconds; empty, stale and unavailable states are explicit. Analytics export is disabled until a site has reported. Setup includes the same analytics panel below the steps; a connected account can open the separate analytics view. Monitoring alerts remain visible here. SDK/gateway 0.7.0+ managed integrations add separate Crawler controls, bounded Decision logs and opt-in email/webhook Alerts; see [Dashboard controls](./CRAWLER-PROTECTION.md#dashboard-controls). Static integrations retain developer-deployed configuration until managed controls are explicitly connected. The website behind the gateway can use another backend language or frontend framework. For database-level limits, integrate the private work API around each operation; the gateway alone bounds origin HTTP work. The package includes a Python client. SQLite and MariaDB are tested; other drivers require settlement/cancellation validation. Deploy and test the customer-side gateway/runtime before enabling useful crawlers. See [Valiron Crawler Protection](./CRAWLER-PROTECTION.md).
86
+ The server rechecks the authenticated plan on every validation. Invalid configuration, expired sessions or unavailable account lookup never grant access. Configuration is not persisted or activated by this screen. No runtime credentials are entered and no direct Redis/DB connection is made. The **Runtime telemetry** panel (on Setup, and on the Traffic overview once a runtime reports) uses optional server-side telemetry: site/provider/route/actual-decision filters, provider totals with verification counts, plain-language allowed/limited/blocked/unavailable reasons, actual versus proposed decisions, rolling 24-hour traffic, shared work capacity, instance/configuration status, monitoring alerts and JSON export. Provider rows can be clicked to filter; Clear filters resets the view. The hourly chart remains site-wide, and JSON export includes all sites and filters. Raw metric series and reporting instances are under Advanced diagnostics. Capacity meters show reserved slots per work pool, not database utilization. Metric definitions are available under **How to read these metrics**; stale/unavailable state and observation proposals remain visible. Telemetry refreshes every 30 seconds; empty, stale and unavailable states are explicit. Analytics export is disabled until a site has reported. Setup includes the same analytics panel below the steps; a connected account can open the separate analytics view. Monitoring alerts remain visible here. SDK/gateway 0.7.0+ managed integrations add **Controls**, bounded **Decision logs** and opt-in email/webhook **Alerts** under **Self-hosted**; see [Managed controls](./CRAWLER-PROTECTION.md#managed-controls). Controls also offers a read-only source-rule preview against the bounded recent log sample and expandable integration-health diagnostics for runtime freshness, policy acknowledgment and dropped logs. Preview compares rules and modes, not actual rate/work outcomes or savings; unverified records may include people. Expand log reasons for explanations and investigation guidance. Static integrations retain developer-deployed configuration until managed controls are explicitly connected. The website behind the gateway can use another backend language or frontend framework. For database-level limits, integrate the private work API around each operation; the gateway alone bounds origin HTTP work. The package includes a Python client. SQLite and MariaDB are tested; other drivers require settlement/cancellation validation. Deploy and test the customer-side gateway/runtime before enabling useful crawlers. See [Valiron Crawler Protection](./CRAWLER-PROTECTION.md).
68
87
 
69
88
  ## Agents
70
89
 
71
90
  **Route:** `/dashboard/agents`
72
91
 
73
- View every AI agent that has called your API, sorted by last seen, call volume, spend, or error count.
92
+ View every AI agent that has called your API, sorted by last seen, call volume or error count.
74
93
 
75
94
  Each agent card shows:
76
95
  - Agent ID (ERC-8004 token ID)
77
96
  - Chain badges (multi-chain support)
78
- - Last seen, total calls, total spent, avg latency, error count
97
+ - Last seen, total calls, avg latency and error count
79
98
 
80
99
  **Click an agent** to drill into:
81
100
  - Predictive risk — forecasted next score, pass probability, trend, confidence, recommended policy, suggested tests, and plain-English reasons
82
101
  - Summary stats and first/last seen dates
83
- - Endpoint breakdown table — which of your endpoints they called, how many times, spend, avg latency, errors
102
+ - Endpoint breakdown table — which of your endpoints they called, how many times, avg latency and errors
84
103
  - Recent call log for that agent
85
104
 
86
105
  Predictive risk is computed from recent sandbox evaluations, behavioral fingerprints, and your operator call logs. It does not replace the trust gate. Low-confidence forecasts mean Valiron has sparse evidence and should usually trigger another sandbox run before broadening production access.
@@ -91,12 +110,13 @@ Predictive risk is computed from recent sandbox evaluations, behavioral fingerpr
91
110
 
92
111
  **Route:** `/dashboard/analytics`
93
112
 
94
- Revenue and usage analytics with time-range filtering.
113
+ Agent calls, trust decisions and endpoint health, for the last 7, 30 or 90 days.
95
114
 
96
- - **Stats grid** — Total Revenue, Total Calls, Unique Agents, Avg Latency
97
- - **Today's stats** — Calls Today, Revenue Today, Error Rate (highlighted if > 5%)
98
- - **Daily Revenue chart** — Bar chart with tooltips (7 / 30 / 90 day range selector)
99
- - **Top Endpoints** — Ranked by call volume with revenue, avg latency, and unique agent count
115
+ - **Stats** — Total calls, unique agents, average latency, error rate (highlighted above 5%) and calls today
116
+ - **Trust decisions** — What Valiron decided at the protected action, by identity type
117
+ - **Endpoint health and failure codes** — Success rate and latency per endpoint, and the most common failure codes
118
+ - **Recent incidents** — Failed, blocked or degraded requests with request IDs
119
+ - **Top endpoints** — Ranked by call volume with average latency and unique agents
100
120
 
101
121
  ---
102
122
 
@@ -104,7 +124,7 @@ Revenue and usage analytics with time-range filtering.
104
124
 
105
125
  **Route:** `/dashboard/logs`
106
126
 
107
- Paginated log of every API call made through your Valiron-gated endpoints.
127
+ Paginated log of every API call that reached a route protected by Valiron.
108
128
 
109
129
  Each row shows:
110
130
  - Timestamp
@@ -112,8 +132,8 @@ Each row shows:
112
132
  - Chain badge
113
133
  - Endpoint (method + path)
114
134
  - Status code (color-coded: green for 2xx, yellow for 4xx, red for 5xx)
115
- - Cost charged
116
135
  - Latency
136
+ - Outcome (the recorded decision or error)
117
137
  - Session ID
118
138
 
119
139
  **Filters:**
@@ -136,158 +156,6 @@ Each key shows its prefix, label, last used date, and creation date.
136
156
 
137
157
  ---
138
158
 
139
- ## Make API Agent-Ready
140
-
141
- **Route:** `/dashboard/wrappers` (legacy `/dashboard/endpoints` remains supported)
142
-
143
- Create hosted Valiron wrappers for existing HTTP APIs. A wrapper provides a public agent-facing URL, handles optional x402/MPP payment challenges, optionally checks Valiron trust, applies rate limits, forwards to the upstream API, and records call logs.
144
-
145
- This product is appropriate when an API must be callable by autonomous agents without requiring immediate SDK integration in the provider backend.
146
-
147
- ### Hosted wrapper flow
148
-
149
- 1. Open **API Scaffolding → Endpoints & testing**.
150
- 2. Click **Make API Agent-Ready**.
151
- 3. Enter your upstream API details and payment settings.
152
- 4. Configure upstream authentication to protect your origin.
153
- 5. Save the wrapper.
154
- 6. Distribute only the generated wrapper URL to agent clients:
155
-
156
- ```text
157
- https://valiron-edge-proxy.onrender.com/wrap/{operatorId}/{path}
158
- ```
159
-
160
- When an agent calls the wrapper:
161
-
162
- 1. Valiron matches `{operatorId}`, path, and method to your wrapper config.
163
- 2. If `pricePerCall` is greater than `0`, Valiron returns a `402 Payment Required` challenge unless valid payment is attached.
164
- 3. If trust checks are enabled, Valiron evaluates the agent identity headers.
165
- 4. Valiron appends the wrapper path to `targetUrl`, forwards the request, and adds Valiron metadata headers.
166
- 5. Valiron returns the upstream response and records analytics.
167
-
168
- > **Origin protection is required for a public upstream.** Valiron can enforce
169
- > payment, trust, rate limits, and logging only for calls made to the wrapper
170
- > URL. A call sent directly to your upstream does not pass through Valiron. Use
171
- > HMAC upstream auth and reject missing or invalid signatures at your origin;
172
- > do not rely on the presence of `x-valiron-*` metadata headers.
173
-
174
- ### Wrapper fields
175
-
176
- | Field | Required | Description |
177
- |-------|----------|-------------|
178
- | Public path | Yes | Agent-facing path (for example `/weather`). This becomes `/wrap/{operatorId}/weather`. |
179
- | Method | Yes | HTTP method: GET, POST, PUT, PATCH, DELETE |
180
- | Upstream API base URL | Yes | Existing API base URL, for example `https://api.example.com`. Must be HTTPS in production. Private/internal addresses are blocked. |
181
- | Price per call (USD) | Yes | `0` for free wrappers, or a positive USD amount for paid wrappers. |
182
- | Payment protocol | Yes | `x402` or `mpp`. `x402` is used by default and for free wrappers. |
183
- | Payment network | No | Network for paid wrappers. Common values: `eip155:8453` for Base x402 and `tempo:4217` for MPP. |
184
- | Payout wallet | No | Required for paid x402 wrappers unless a platform default receiving address is configured. |
185
- | Require Valiron trust | No | When enabled, callers must provide agent identity headers and pass the trust threshold. |
186
- | Rate limit (req/min) | No | Max requests per minute per agent (null = unlimited) |
187
- | Upstream auth | Required for a public origin | `hmac` recommended. Your origin verifies the signature and timestamp before serving the request. |
188
- | Description | No | What this endpoint does |
189
-
190
- **Removing a wrapper** performs a soft-delete. The wrapper stops matching new calls but historical logs remain available.
191
-
192
- ### Free wrapper example
193
-
194
- ```text
195
- Public path: /status
196
- Method: GET
197
- Upstream API base URL: https://api.example.com
198
- Price: 0
199
- ```
200
-
201
- Agents call:
202
-
203
- ```bash
204
- curl https://valiron-edge-proxy.onrender.com/wrap/{operatorId}/status
205
- ```
206
-
207
- ### Paid x402 wrapper example
208
-
209
- ```text
210
- Public path: /weather
211
- Method: GET
212
- Upstream API base URL: https://api.example.com
213
- Price: 0.001
214
- Payment protocol: x402
215
- Payment network: eip155:8453
216
- Payout wallet: 0x...
217
- ```
218
-
219
- Agents call the wrapper once, receive a `402` with an x402 payment challenge, then retry with a valid `X-PAYMENT` header.
220
-
221
- ### Paid MPP wrapper example
222
-
223
- ```text
224
- Public path: /research
225
- Method: GET
226
- Upstream API base URL: https://api.example.com
227
- Price: 0.001
228
- Payment protocol: mpp
229
- Payment network: tempo:4217
230
- ```
231
-
232
- Agents call the wrapper once, receive `WWW-Authenticate: Payment`, then retry with `Authorization: Payment ...`. For command-line testing, use `mppx`:
233
-
234
- ```bash
235
- pnpm exec mppx https://valiron-edge-proxy.onrender.com/wrap/{operatorId}/research
236
- ```
237
-
238
- For the complete setup guide, see [AGENT-READY-APIS.md](./AGENT-READY-APIS.md).
239
-
240
- ---
241
-
242
- ## API Playground
243
-
244
- **Route:** `/dashboard/playground`
245
-
246
- Test how Valiron evaluates different AI agents against your endpoints — without writing any code or sending real traffic.
247
-
248
- ### How it works
249
-
250
- 1. **Pick a chain** — All supported chains are available (Ethereum, Monad, Arbitrum, Base, Avalanche, Polygon, Optimism, Solana, testnets, and more). Chains with pre-registered sample agents show agent cards; other chains require a custom agent ID.
251
- 2. **Select an agent** — Choose from pre-registered sample agents at different trust levels, or enter a custom agent ID:
252
- - **Good agents** (score 80–95, tier A/AA) — would be routed to production
253
- - **Bad agents** (score 30–45, tier CA/CAA) — would be routed to sandbox
254
- - **Zero agents** (score 0, tier C) — no reputation, requires behavioral testing
255
- 3. **Build the request** — Pick a method and enter a path. Headers (`Content-Type`, `X-Agent-Id`, `X-Valiron-Chain`, `X-Api-Key`) are added automatically. Expand **Advanced options** to add custom headers, query params, or a request body
256
- 4. **Send** — The playground evaluates the agent's on-chain trust profile and shows the result
257
-
258
- ### Dry-run mode
259
-
260
- Toggle **Dry Run** on to see the trust evaluation without logging the call:
261
- - Resolved tier (AAA–C)
262
- - Routing decision (prod / sandbox / blocked)
263
- - Price per call (from your registered endpoint)
264
- - On-chain reputation score and feedback count
265
-
266
- ### Standard mode
267
-
268
- With dry-run off, the playground performs the full trust evaluation and logs the call to your Analytics/Logs pages.
269
-
270
- - **If your endpoint has an upstream base URL** — the playground forwards the request to your backend with Valiron headers (`X-Agent-Id`, `X-Valiron-Chain`, `X-Valiron-Tier`, `X-Valiron-Route`). You'll see the real HTTP response from your server.
271
- - **If no upstream base URL is set** — the playground returns the trust evaluation only (tier, route, cost, on-chain score).
272
-
273
- > **Tip:** Add an upstream base URL to your wrapper to enable end-to-end testing in the playground.
274
-
275
- ### Response panel
276
-
277
- Every request shows:
278
- - **Status code** — Color-coded (green 2xx, yellow 3xx/4xx, red 5xx)
279
- - **Latency** — Round-trip time in ms
280
- - **Route** — Where the agent would be routed (prod, sandbox, blocked)
281
- - **Cost** — Per-call price from your endpoint registration
282
- - **Tier** — The agent's resolved trust tier
283
- - **Body** — Trust evaluation details
284
-
285
- ### History
286
-
287
- The sidebar shows up to 20 recent requests from the current page session. Each entry shows method, path, agent, status, latency, and timestamp. Click an entry to repopulate the request form; history is not persisted across sessions.
288
-
289
- ---
290
-
291
159
  ## Settings
292
160
 
293
161
  **Route:** `/dashboard/settings`
@@ -296,14 +164,14 @@ Manage your operator profile.
296
164
 
297
165
  - **Name** — Editable display name
298
166
  - **Email** — Read-only (set during registration)
299
- - **Plan** — Your current plan and fee rate
167
+ - **Plan** — Your current plan, with **Manage billing** (Pro) or **Upgrade**
300
168
  - **Account info** — Operator ID and account creation date
301
169
 
302
170
  ---
303
171
 
304
172
  ## Middleware Integration
305
173
 
306
- Valiron's core product is SDK middleware deployed within the API backend. Use this path when trust checks, route decisions, sandbox triggers, payment gating, and usage tracking must execute before the API handler.
174
+ Valiron's core product is SDK middleware deployed within the API backend. Use this path when trust checks, route decisions and sandbox triggers must run before the API handler.
307
175
 
308
176
  Install the SDK and add it to your backend:
309
177
 
@@ -314,10 +182,10 @@ npm install @valiron/sdk
314
182
  **Express middleware:**
315
183
 
316
184
  ```typescript
317
- import { ValironOperator } from "@valiron/sdk";
185
+ import { ValironSDK, createValironGate } from "@valiron/sdk";
318
186
 
319
- const operator = new ValironOperator({ apiKey: "val_op_xxxx" });
320
- app.use("/api/weather", operator.paywall({ verifyRequest: verifyAgentRequest, pricePerCall: 0.05 }));
187
+ const valiron = new ValironSDK({ apiKey: process.env.VALIRON_API_KEY });
188
+ app.use("/api/weather", createValironGate({ verifyRequest: verifyAgentRequest, sdk: valiron, minScore: 85 }));
321
189
  ```
322
190
 
323
191
  **Manual gating:**
@@ -340,35 +208,9 @@ app.use("/api/weather", async (req, res, next) => {
340
208
  });
341
209
  ```
342
210
 
343
- ### Test with the Playground
344
-
345
- Before going live, use the Playground to verify:
346
- - That your endpoint pricing and rate limits are configured correctly
347
- - That high-reputation agents get routed to production
348
- - That low/zero-reputation agents get sandboxed or blocked
349
- - What the full request/response cycle looks like with real latency numbers
350
-
351
211
  ### Monitor
352
212
 
353
- Use the dashboard to track agent activity, review call logs, and monitor revenue.
354
-
355
- ## Separate Product: API Scaffolding
356
-
357
- API Scaffolding is a separate product that provides a hosted, agent-facing wrapper URL for an existing HTTPS API. A hosted wrapper can collect x402/MPP payment, apply optional trust checks, enforce rate limits, forward upstream, and log usage.
358
-
359
- 1. Create your account on the dashboard.
360
- 2. Copy your API key from the Keys page.
361
- 3. Create a wrapper from **API Scaffolding → Endpoints & testing**.
362
- 4. Test the generated `/wrap/{operatorId}/{path}` URL.
363
- 5. Monitor calls in Analytics and Logs.
364
-
365
- For hosted wrappers, also verify that a direct request to the upstream origin
366
- returns `401` or `403`, while a wrapper request is visible in call logs. See
367
- [API Scaffolding origin protection](./AGENT-READY-APIS.md#origin-lockdown-checklist).
368
-
369
- For deployments requiring full backend control, protect the API directly with Valiron middleware using `createValironGate()` or `ValironOperator.paywall()`.
370
-
371
- For full hosted wrapper docs, see [AGENT-READY-APIS.md](./AGENT-READY-APIS.md).
213
+ Use the dashboard to track agent activity, review call logs and watch trust decisions.
372
214
 
373
215
  Crawler SDK 0.3.0+ setup requires signup and an operator API key from Dashboard → API Keys. Store `VALIRON_API_KEY` server-side and use the tenant from your exported configuration. The SDK checks its account lease at startup and refreshes in the background; the dashboard does not deploy the runtime or activate Redis policy.
374
216
 
@@ -376,9 +218,9 @@ Crawler SDK 0.3.0+ setup requires signup and an operator API key from Dashboard
376
218
 
377
219
  Password reset links are rate-limited and single use. A successful reset revokes existing API keys and operator sessions; sign in again and replace affected integration keys. Billing checkout and portal access are bound to the authenticated operator account; checkout email and caller-supplied promo strings cannot select another account or grant a discount. Promotion eligibility is handled by Stripe checkout.
378
220
 
379
- Operator SDK usage reporting is disabled by default. Enable `analytics: true` deliberately if dashboard call reports are needed; raw IP addresses, user agents and endpoint paths are not transmitted. SDK diagnostic telemetry has its own `telemetry` configuration. Assessment PDF exports use saved server-side report results rather than client-submitted grades; older assessments without a stored report must be rerun.
221
+ SDK diagnostic telemetry has its own `telemetry` configuration. Assessment PDF exports use saved server-side report results rather than client-submitted grades; older assessments without a stored report must be rerun.
380
222
 
381
- Usage billing: website signup and a server-side operator API key are required. Free includes 10,000 requests per product per UTC month; Pro includes 100,000 per product. An active paid Pro subscriber can separately enable additional crawler or middleware calls at 0.001 each in the subscription billing currency, displayed before acceptance. Each product has its own allowance, meter and opt-in. Without opt-in, that product stops at 100,000; Free must upgrade after 10,000. Billing uses durable hosted admission counters, not optional telemetry or every local SDK function call. SDK 0.5.0 also requires account activation for returning-browser recognition.
223
+ Usage billing: website signup and a server-side operator API key are required. Free includes 10,000 requests per product per UTC month; Pro includes 100,000 per product. An active paid Pro subscriber can separately enable additional Crawler Protection or Agent Access calls at $0.001 each. Each product has its own allowance, meter and opt-in. Without opt-in, that product stops at 100,000; Free must upgrade after 10,000. Billing uses durable hosted admission counters, not optional telemetry or every local SDK function call. SDK 0.5.0 also requires account activation for returning-browser recognition.
382
224
 
383
225
  ## Admin customer Crawler Protection workspace
384
226
 
@@ -14,7 +14,7 @@ Incoming request
14
14
  -> evaluate selected trust signals
15
15
  -> receive an allow/deny decision, score, tier, and route
16
16
  -> apply your API policy
17
- -> serve, limit, sandbox, price, or deny
17
+ -> serve, limit, sandbox, or deny
18
18
  ```
19
19
 
20
20
  ## Before you start
@@ -47,10 +47,6 @@ Do not send a local agent name to `x-agent-id`. Key-based agents must prove
47
47
  ownership of their persistent address before they can pass an identity-aware
48
48
  policy.
49
49
 
50
- > **Hosted wrapper note:** Valiron-hosted API Scaffolding currently requires
51
- > `x-agent-id` when its trust check is enabled. Use the SDK middleware in your
52
- > own backend for a policy that accepts either identity path.
53
-
54
50
  > **Provider-backed identity:** use the dedicated `createValironIdentityGate`,
55
51
  > `valironIdentityFastifyPlugin`, `createValironIdentityNextMiddleware`, or
56
52
  > `valironIdentityGateCheck` exports documented in
@@ -108,15 +104,13 @@ Choose the behavior that fits the endpoint:
108
104
  | --- | --- |
109
105
  | Trust gate | Allow trusted agents and return a denial before your handler runs |
110
106
  | Graduated access | Serve full access for `prod`, apply limits for `prod_throttled`, and use test data for sandbox routes |
111
- | Trust-aware pricing | Read the result in your handler and apply your own price or entitlement policy |
112
- | Monetized endpoint logging | Use `ValironOperator.paywall()` to gate access, attach a configured per-call price, and record usage |
107
+ | Entitlements | Read the result in your handler and choose what the agent may access |
113
108
  | Agent profile lookup | Retrieve a profile when your product needs to display or review trust evidence |
114
109
  | Predictive risk | Use dashboard forecasts as an additional operational signal; do not replace the runtime gate with a forecast |
115
110
  | Audit and operations | Capture the result in your logs or use authenticated dashboard call logs |
116
111
 
117
- Valiron does not itself settle a payment or choose a dynamic price table. It
118
- provides the verified trust context that your payment and application policy
119
- can use.
112
+ Valiron provides the verified trust context; your application decides what
113
+ each decision unlocks.
120
114
 
121
115
  ## 4. Put the gate in front of your handler
122
116
 
@@ -171,35 +165,7 @@ no supported identity, the agent is denied. If an agent is pending its first
171
165
  behavioral evaluation, it receives a retryable denial while sandbox evaluation
172
166
  runs.
173
167
 
174
- ## 5. Add a pricing or payment policy
175
-
176
- For a server-side endpoint with a fixed price and usage logging, use the
177
- operator SDK. It gates the route, makes the decision available as
178
- `req.valiron`, and records the configured price only for successful allowed
179
- calls.
180
-
181
- ```typescript
182
- import { ValironOperator } from "@valiron/sdk";
183
-
184
- const operator = new ValironOperator({
185
- apiKey: process.env.VALIRON_API_KEY!,
186
- chain: "base",
187
- });
188
-
189
- app.use("/api/premium", operator.paywall({
190
- verifyRequest: verifyAgentRequest,
191
- pricePerCall: 0.05,
192
- minTrustScore: 65,
193
- trustSignals: ["8004", "sandbox", "wallet"],
194
- }));
195
- ```
196
-
197
- If your payment provider supports multiple prices, select the price in your
198
- handler from `req.valiron.tier`, `score`, or `route`. Keep payment settlement
199
- in that provider; use Valiron first to decide whether the caller is eligible
200
- to reach it.
201
-
202
- ## 6. Test the complete request path
168
+ ## 5. Test the complete request path
203
169
 
204
170
  Test each case before production:
205
171
 
@@ -209,12 +175,11 @@ Test each case before production:
209
175
  4. An agent below your `minScore`.
210
176
  5. A new agent pending sandbox evaluation.
211
177
  6. A production-eligible agent on every protected route.
212
- 7. A paid or priced request, verifying that trust denial happens before your
213
- payment or application handler.
178
+ 7. A denied request, verifying that trust denial happens before your
179
+ application handler runs.
214
180
 
215
- Use the [Dashboard Playground](./DASHBOARD.md#api-playground) to inspect
216
- decisions and the Dashboard's call logs to review outcome, latency, price, and
217
- trust context after launch.
181
+ Use the Dashboard's call logs to review outcome, latency and trust context
182
+ after launch.
218
183
 
219
184
  ## Next steps
220
185
 
@@ -223,5 +188,3 @@ trust context after launch.
223
188
  and generic middleware APIs
224
189
  - [Identity](./IDENTITY.md) — registry and key-based identity details
225
190
  - [Trust Model](./TRUST-MODEL.md) — signals, tiers, and routes
226
- - [API Scaffolding](./AGENT-READY-APIS.md) — hosted x402/MPP wrappers for an
227
- existing API
package/docs/ERRORS.md CHANGED
@@ -276,16 +276,6 @@ store or other safe-verification failure returns HTTP 503 with
276
276
  | 403 | SSRF blocked | The `targetUrl` resolves to a private IP, localhost, or metadata endpoint |
277
277
  | 503 | Origin server unreachable | Your upstream API base URL is down or timed out |
278
278
 
279
- ## Hosted Wrapper Errors
280
-
281
- | Status | Code | When | Action |
282
- |--------|------|------|--------|
283
- | 400 | `MISSING_AGENT_IDENTITY` | A trust-enabled hosted wrapper did not receive `x-agent-id` | Hosted wrappers currently require `x-agent-id`; use SDK middleware for key/address identity support |
284
- | 404 | `WRAPPER_NOT_FOUND` | Operator ID, path, method, or endpoint activation does not match | Verify all four values in the dashboard |
285
- | 413 | `WRAPPER_BODY_TOO_LARGE` | Body exceeds the wrapper limit | Send a smaller request or use an external input reference |
286
- | 429 | `WRAPPER_RATE_LIMITED` | Endpoint rate limit reached | Honor `retryAfter` and use exponential backoff |
287
- | 502 / 504 | `WRAPPER_UPSTREAM_REQUEST_FAILED` / `WRAPPER_UPSTREAM_TIMEOUT` | The target API failed or was too slow | Check upstream URL/auth; include `requestId` and timestamp when escalating |
288
-
289
279
  ## Key-Based Agent Errors
290
280
 
291
281
  | Status | When | Action |
@@ -318,7 +308,7 @@ Session creation requires an operator key and fresh owner signature. Missing/inv
318
308
 
319
309
  `429 MONTHLY_REQUEST_LIMIT_EXCEEDED` means the account has used its monthly
320
310
  allowance (10,000 on Free or 100,000 on Pro) for the UTC calendar month.
321
- Agent and bot protection allowances are separate. Upgrade Free to Pro, email
311
+ Agent Access and Crawler Protection allowances are separate. Upgrade Free to Pro, email
322
312
  founders@valiron.co for Enterprise, or wait until `resetsAt`; use `Retry-After` rather than retrying continuously. This allowance
323
313
  is shared across API keys and hosted endpoints.
324
314
 
@@ -7,7 +7,7 @@ credentials and trusted CA bundle are configured. The SDK provides signing helpe
7
7
  a typed verification method, and dedicated identity gates for Express, Fastify,
8
8
  Next.js, and framework-independent runtimes.
9
9
 
10
- Verification calls require your operator API key and count toward your account’s monthly request allowance. Free includes 10,000 metered agent requests per UTC calendar month; Pro includes 100,000. Bot protection has a separate allowance at the same limits. Enterprise: email founders@valiron.co.
10
+ Verification calls require your operator API key and count toward your account’s monthly request allowance. Free includes 10,000 metered Agent Access requests per UTC calendar month; Pro includes 100,000. Bot protection has a separate allowance at the same limits. Enterprise: email founders@valiron.co.
11
11
 
12
12
  ## Responsibility boundary
13
13
 
@@ -6,7 +6,7 @@ Configure identity verification before opening a protected endpoint. Existing in
6
6
 
7
7
  This quickstart documents the hardened agent identity/trust SDK contract in this source tree. Verify your installed npm version supports `verifyRequest`, `signRequest` and provider request proofs v2 before upgrading a live integration; source changes do not publish a package. For ordinary website crawlers, see [controlled crawler access](./CRAWLER-PROTECTION.md): a separate integration package with a standalone HTTP gateway for other website stacks, in-process Node/Nuxt adapters, shared budgets and a private language-neutral work API. Node.js is required for the gateway service, not for the website behind it. Query-level limits require operation integration; Python/SQLite and Node/Nuxt/MariaDB are tested. It is not installed by `npm install @valiron/sdk` and does not require crawler agent registration.
8
8
 
9
- Crawler SDK 0.3.0+ requires a Free/Pro/Enterprise operator API key and account-bound activation via `activateCrawlerProtection()` before constructing its runtime. Activation uses a short-lived local lease, refreshed in the background. Each protected HTTP request requires hosted monthly quota admission; database operations are not counted again. See the crawler guide for revocation, outage and recovery behavior.
9
+ Crawler SDK 0.3.0+ requires an operator API key for a Pro account with the Crawler Protection add-on (or Enterprise) and account-bound activation via `activateCrawlerProtection()` before constructing its runtime. Activation uses a short-lived local lease, refreshed in the background. Each protected HTTP request requires hosted monthly quota admission; database operations are not counted again. See the crawler guide for revocation, outage and recovery behavior.
10
10
 
11
11
  For the current crawler integration, install `@valiron/crawler-protection@^0.6.0`. It adds official Anthropic and Google agent/Notebook feeds alongside OpenAI support, and `crawlerAccessDefault` / `unverifiedAccess` configuration. These are customer-runtime controls, not hosted policy-deployment APIs. See [selected AI services and upgrade steps](./CRAWLER-PROTECTION.md#allow-selected-ai-services); source verification does not grant unlimited access or authorize account actions.
12
12
 
@@ -17,8 +17,6 @@ For the current crawler integration, install `@valiron/crawler-protection@^0.6.0
17
17
  3. **Copy your API key** when it is shown; returning incomplete accounts can generate a dedicated setup key
18
18
  4. Add the SDK middleware below to the backend routes agents call. Choose registered, key-based, or ANS/provider-backed identity in the wizard.
19
19
 
20
- > **Tip:** Before writing any code, try the [API Playground](./DASHBOARD.md#api-playground) to see how Valiron evaluates agents at different trust levels against your endpoints.
21
-
22
20
  ## Step 1 — Install the SDK
23
21
 
24
22
  ```bash
@@ -200,7 +198,6 @@ Once your integration is live, use the [Operator Dashboard](./DASHBOARD.md) to:
200
198
  - **Agents** — See every agent that has called your API, sorted by activity, spend, or errors
201
199
  - **Analytics** — Track revenue, call volume, and top endpoints over time
202
200
  - **Call Logs** — Paginated log of every request with status codes, latency, and cost
203
- - **Playground** — Test how agents at different trust levels are evaluated against your endpoints
204
201
 
205
202
  ## Using the HTTP API directly (no SDK)
206
203
 
@@ -233,23 +230,6 @@ curl -X POST https://valiron-edge-proxy.onrender.com/operator/webhooks/register
233
230
  -d '{"event": "evaluation_complete", "url": "https://your-endpoint.com/hooks"}'
234
231
  ```
235
232
 
236
- ## Separate product — API Scaffolding
237
-
238
- Valiron middleware is the primary backend integration. API Scaffolding is a separate product for exposing an existing HTTPS API through a Valiron-hosted, agent-facing URL.
239
-
240
- 1. Open [valiron.co/dashboard](https://www.valiron.co/dashboard).
241
- 2. Choose **API Scaffolding → Endpoints & testing**.
242
- 3. Enter your public path, upstream API base URL, price, payment protocol, and optional trust settings.
243
- 4. Distribute the generated wrapper URL to agent clients:
244
-
245
- ```text
246
- https://valiron-edge-proxy.onrender.com/wrap/{operatorId}/{path}
247
- ```
248
-
249
- API Scaffolding can collect payment, apply optional trust checks, enforce rate limits, forward upstream, and log usage. For deployments requiring full backend control, protect the API directly with Valiron middleware using `createValironGate()` or `ValironOperator.paywall()`.
250
-
251
- ---
252
-
253
233
  ## Cleanup (long-running servers)
254
234
 
255
235
  Call `dispose()` when shutting down to flush pending telemetry:
@@ -267,7 +247,6 @@ process.on("SIGTERM", async () => {
267
247
 
268
248
  - **[End-to-End Middleware Integration](./E2E-MIDDLEWARE-INTEGRATION.md)** — Choose identity, trust signals, and a downstream policy for a production integration
269
249
  - **[Proxy Gateway](./SDK-REFERENCE.md#proxy-gateway)** — Forward requests through Valiron's edge proxy (Free)
270
- - **[API Scaffolding](./AGENT-READY-APIS.md)** — Create hosted x402/MPP wrappers for existing APIs
271
250
  - **[Key-Based Agents](./SDK-REFERENCE.md#key-based-agents)** — Support Web2 agents without on-chain identity
272
251
  - **[World ID](./SDK-REFERENCE.md#world-id-methods)** — Verify agent-human linkage
273
252
  - **[Self](./SDK-REFERENCE.md#self-methods)** — Create Self Enterprise sessions and verify eligible-human linkage
@@ -347,6 +326,6 @@ curl -H "Authorization: Bearer $VALIRON_API_KEY" -X POST "https://valiron-edge-p
347
326
  curl -H "Authorization: Bearer $VALIRON_API_KEY" "https://valiron-edge-proxy.onrender.com/operator/agent/1226/liveness?chain=solana"
348
327
  ```
349
328
 
350
- Usage billing: website signup and a server-side operator API key are required. Free includes 10,000 requests per product per UTC month; Pro includes 100,000 per product. An active paid Pro subscriber can separately enable additional crawler or middleware calls at 0.001 each in the subscription billing currency, displayed before acceptance. Each product has its own allowance, meter and opt-in. Without opt-in, that product stops at 100,000; Free must upgrade after 10,000. Billing uses durable hosted admission counters, not optional telemetry or every local SDK function call. SDK 0.5.0 also requires account activation for returning-browser recognition.
329
+ Usage billing: website signup and a server-side operator API key are required. Free includes 10,000 requests per product per UTC month; Pro includes 100,000 per product. An active paid Pro subscriber can separately enable additional Crawler Protection or Agent Access calls at $0.001 each. Each product has its own allowance, meter and opt-in. Without opt-in, that product stops at 100,000; Free must upgrade after 10,000. Billing uses durable hosted admission counters, not optional telemetry or every local SDK function call. SDK 0.5.0 also requires account activation for returning-browser recognition.
351
330
 
352
331
  Track both products in [Dashboard → Usage](https://www.valiron.co/dashboard/usage): monthly admitted requests, remaining allowance, additional calls and estimated request-overage charges. Counts refresh every 15 seconds while visible; usage billing and traffic analytics use separate data sources.