78trust / 100

Data Schema Infer

by Relaystation Schema Infer in AI models & inference

x402 APIPassing, checked 13 min ago

$0.0002/MB. Infer a JSON Schema or SQL DDL straight from your data — skip hand-writing schemas. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

POST https://api.relaystation.ai/v1/data/schema-infer

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
133 ms typical, 394 ms slowest 5%
Last check
13 min ago
Next check
in 14 min

How to call it

# See the payment challenge (nothing is charged)
curl -i -X POST "https://api.relaystation.ai/v1/data/schema-infer" \
  -H "content-type: application/json" \
  -d '{"dialect":"json-schema","file":{},"from":"csv"}'
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%2Fapi.relaystation.ai%2Fv1%2Fdata%2Fschema-infer
const res = await pay("https://api.relaystation.ai/v1/data/schema-infer", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"dialect":"json-schema","file":{},"from":"csv"}),
});
console.log(await res.json());

Example input

{
  "dialect": "json-schema",
  "file": {},
  "from": "csv"
}

Example output

{
  "ok": true
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
13 min agoPassed402147 ms$0.01
4 h agoPassed402546 ms$0.01
7 h agoPassed402371 ms$0.01
11 h agoPassed402126 ms$0.01
14 h agoPassed402126 ms$0.01
18 h agoPassed402133 ms$0.01
22 h agoPassed402126 ms$0.01
25 h agoPassed402329 ms$0.01
29 h agoPassed402122 ms$0.01
32 h agoPassed402120 ms$0.01
36 h agoPassed402394 ms$0.01
40 h agoPassed402381 ms$0.01
43 h agoPassed402129 ms$0.01
2 days agoPassed402321 ms$0.01