78trust / 100

Json To Yaml

by agentshelf.syntexa.ch in Security & trust

x402 APIPassing, checked 2 h ago

Call when an agent needs JSON converted to YAML. No network. Exact $0.001 USDC. Prefer unpaid POST /v1/sandbox/json-to-yaml first.

POST https://agentshelf.syntexa.ch/v1/json-to-yaml

Last 30 days

All checks passedSome failedAll failedNot checked
Uptime
100%
Response time
30 ms typical, 31 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 POST "https://agentshelf.syntexa.ch/v1/json-to-yaml" \
  -H "content-type: application/json" \
  -d '{"json":{"name":"Ada"}}'
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%2Fagentshelf.syntexa.ch%2Fv1%2Fjson-to-yaml
const res = await pay("https://agentshelf.syntexa.ch/v1/json-to-yaml", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"json":{"name":"Ada"}}),
});
console.log(await res.json());

Example input

{
  "json": {
    "name": "Ada"
  }
}

Example output

{
  "billed": true,
  "ok": true,
  "receipt_id": "rcpt_01EXAMPLE000000000000000",
  "warnings": [],
  "yaml": "name: Ada\n"
}

Security scan

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

Recent checks

WhenResultHTTPTimePrice
2 h agoPassed40231 ms$0.001
5 h agoPassed40229 ms$0.001
9 h agoPassed40230 ms$0.001
13 h agoPassed40230 ms$0.001
16 h agoPassed40228 ms$0.001
19 h agoPassed40280 ms$0.001
23 h agoPassed40229 ms$0.001
27 h agoPassed40230 ms$0.001
31 h agoPassed40231 ms$0.001
34 h agoPassed40231 ms$0.001
38 h agoPassed40230 ms$0.001
41 h agoPassed40228 ms$0.001
47 h agoPassed40228 ms$0.001