vrsai · Capabilities Openapi Agent Readiness

by vrsai

POSTBase Sepoliasolana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1

$0.03

per call · USDC on Base Sepolia

Assess an OpenAPI description for autonomous-agent usability.

Endpoint

POST https://qualification.vrsai.tech/v1/capabilities/openapi_agent_readiness

2

Calls / 30d

2

Unique payers / 30d

Aug 28

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://qualification.vrsai.tech/v1/capabilities/openapi_agent_readiness", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "document": {
      "info": {
        "title": "Status API",
        "version": "1.0.0"
      },
      "openapi": "3.1.0",
      "paths": {
        "/status": {
          "get": {
            "description": "Return current service status.",
            "operationId": "getStatus",
            "responses": {
              "200": {
                "content": {
                  "application/json": {
                    "schema": {
                      "properties": {
                        "status": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "status"
                      ],
                      "type": "object"
                    }
                  }
                },
                "description": "Current status."
              }
            }
          }
        }
      },
      "servers": [
        {
          "url": "https://status.example.org"
        }
      ]
    }
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://qualification.vrsai.tech/v1/capabilities/openapi_agent_readiness" \
  -H "Content-Type: application/json" \
  -d '{"document":{"info":{"title":"Status API","version":"1.0.0"},"openapi":"3.1.0","paths":{"/status":{"get":{"description":"Return current service status.","operationId":"getStatus","responses":{"200":{"content":{"application/json":{"schema":{"properties":{"status":{"type":"string"}},"required":["status"],"type":"object"}}},"description":"Current status."}}}}},"servers":[{"url":"https://status.example.org"}]}}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "dimensions": [
    {
      "id": "structure_and_version",
      "max_score": 15,
      "score": 15
    },
    {
      "id": "operation_semantics",
      "max_score": 20,
      "score": 20
    },
    {
      "id": "request_contracts",
      "max_score": 20,
      "score": 20
    },
    {
      "id": "response_contracts",
      "max_score": 20,
      "score": 20
    },
    {
      "id": "authentication_and_access",
      "max_score": 10,
      "score": 10
    },
    {
      "id": "machine_operability",
      "max_score": 15,
      "score": 15
    }
  ],
  "findings": [],
  "openapi_version": "3.1.0",
  "ruleset_version": "1.1.1",
  "score": 100,
  "summary": {
    "findings": 0,
    "findings_truncated": false,
    "operations": 1,
    "paths": 1,
    "schemas": 0
  },
  "verdict": "ready"
}

Payment details

Pay to0x69db08b369d46082054fc600634e7f3605813aab
AssetUSDC · 0x036cbd53842c5426634e7929541ec2318f3dcf7e
NetworksBase Sepolia, solana:EtWTRABZaYq6iMfeYKouRu166VU2xqa1
Schemesexact

Is this your API?

Pin it to the top of AI & Inference and the homepage with a featured placement.

Get featured →

More from vrsai & similar services