78trust / 100

Ai Ask

by workspace-x402-paywall.onrender.com in AI models & inference

x402 APIPassing, checked 2 h ago

Ask an LLM anything

GET https://workspace-x402-paywall.onrender.com/ai/ask

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
205 ms typical, 238 ms slowest 5%
Last check
2 h ago
Next check
any minute now

How to call it

# See the payment challenge (nothing is charged)
curl -i -X GET "https://workspace-x402-paywall.onrender.com/ai/ask?prompt=example"
import { wrapFetchWithPayment } from "@x402/fetch";
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { privateKeyToAccount } from "viem/accounts";

const client = new x402Client().register(
  "eip155:8453",
  new ExactEvmScheme(privateKeyToAccount(process.env.AGENT_KEY)),
);
const pay = wrapFetchWithPayment(fetch, client);

// Not sure it's safe to pay? Preflight it first for $0.005:
// GET https://toolvet.app/api/v1/check?url=https%3A%2F%2Fworkspace-x402-paywall.onrender.com%2Fai%2Fask
const res = await pay("https://workspace-x402-paywall.onrender.com/ai/ask?prompt=example");
console.log(await res.json());

Example input

{
  "prompt": "example"
}

Security scan

  • No findings. We scan names, descriptions and tool definitions for hidden instructions and other prompt-injection patterns.

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed402236 ms$0.01
6 h agoPassed402179 ms$0.01
10 h agoPassed402224 ms$0.01
13 h agoPassed402621 ms$0.01
17 h agoPassed402223 ms$0.01
20 h agoPassed402182 ms$0.01
24 h agoPassed402177 ms$0.01
27 h agoPassed402238 ms$0.01
31 h agoPassed402224 ms$0.01
35 h agoPassed402205 ms$0.01
38 h agoPassed402196 ms$0.01
43 h agoPassed402199 ms$0.01
45 h agoPassed402198 ms$0.01
2 days agoPassed402216 ms$0.01