# OpenAPI Spec Summary

> OpenAPI Spec Summary is a paid API for AI agents from intel.rallylive.ca, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Fetches and summarizes an OpenAPI/Swagger specification from a URL, returning title, version, path counts, operations, tags, security schemes, and the first 60 operations for instant API comprehension.

## Facts

- Endpoint: GET https://intel.rallylive.ca/dev/openapi-summary
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/openapi-spec-summary-01304fcc
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RAVE1YyTdTc5tweaoXQCm

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 openapi-spec-summary-01304fcc
```

Example prompt: Can you summarize the OpenAPI spec at https://petstore.swagger.io/v2/swagger.json — I want to know the title, version, how many paths and operations it has, what HTTP methods are used, and a list of the first operations?

## When to prefer this

Choose this endpoint when you need instant, structured comprehension of a remote OpenAPI or Swagger spec without manually downloading and parsing it. Ideal for pre-integration reconnaissance, API audits, comparing multiple APIs, or onboarding to an unfamiliar API. Prefer this over generic HTML fetchers because it understands OpenAPI structure and extracts semantically meaningful fields like operation coverage, security schemes, and tag groupings.

## Known failure modes

- URL not accessible or returns non-200 status — error returned with HTTP status code
- URL does not point to a valid OpenAPI/Swagger document — parsing error returned
- Spec is too large or malformed YAML/JSON — truncation or parse failure
- Network timeout fetching remote spec URL
- Spec uses unsupported or very old Swagger version — partial results or error

## How this service works

OpenAPI/Swagger spec summary from a URL: title, version, OpenAPI version, servers, path and operation counts, operations by method, tags with counts, security schemes, whether every operation has an operationId and description, schema count, and the first 60 operations (method, path, summary). Instant API comprehension for integration agents. $0.01 per spec.

## Output

Returns a structured summary including: API title, version, OpenAPI/Swagger version, server URLs, total path and operation counts, operation counts broken down by HTTP method (GET/POST/PUT/DELETE etc.), tags with per-tag operation counts, security scheme definitions, boolean flags for whether every operation has an operationId and a description, total schema count, and a list of the first 60 operations each with method, path, and summary.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/openapi-spec-summary-01304fcc/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from intel.rallylive.ca](https://www.zero.xyz/host/intel.rallylive.ca/llms.txt)
