# vrsai OpenAPI Agent Readiness Assessor

> vrsai OpenAPI Agent Readiness Assessor is a paid API for AI agents from api.vrsai.tech, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-10).

Scores and audits an OpenAPI description across six dimensions to determine how well-suited it is for autonomous AI agent consumption.

## Facts

- Endpoint: POST https://api.vrsai.tech/v1/capabilities/openapi_agent_readiness?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/vrsai-openapi-agent-readiness-assessor-5b7311bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tlkRDf3OJf4sXI49z0IxF

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability vrsai-openapi-agent-readiness-assessor-5b7311bf -d '<json body>'
```

Example prompt: Can you check if my OpenAPI spec is ready for AI agents to use? Here's the spec body as JSON — I want a score, a verdict, and a list of any issues found across structure, operation semantics, request/response contracts, auth, and machine operability.

## When to prefer this

Choose this endpoint when you need a structured, multi-dimensional, machine-readable quality score for an OpenAPI spec specifically from the perspective of autonomous agent consumption — not just syntactic validity. It is superior to generic OpenAPI linters when the goal is ensuring AI agents can reliably discover, authenticate, and call the API without human intervention.

## Known failure modes

- Malformed or non-parseable OpenAPI body returns a validation error
- Missing required 'input' object or incorrect bodyType causes a 400-level rejection
- Specs with no defined paths may produce minimal scoring with low scores across most dimensions
- Very large OpenAPI specs may trigger truncated findings (findings_truncated: true)
- Wrong method enum value (not POST) will be rejected by input schema validation

## How this service works

Assess an OpenAPI description for autonomous-agent usability.

## Output

Returns a numeric score (0–100), a verdict string (e.g. 'ready'), a summary of paths/operations/schemas/findings, an array of specific findings with details, and per-dimension scores for structure_and_version, operation_semantics, request_contracts, response_contracts, authentication_and_access, and machine_operability, along with the detected openapi_version and ruleset_version used.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/vrsai-openapi-agent-readiness-assessor-5b7311bf/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.vrsai.tech](https://www.zero.xyz/host/api.vrsai.tech/llms.txt)
