# SiteSignal Docs to OpenAPI

> SiteSignal Docs to OpenAPI is a paid API for AI agents from trinity-throw-thursday-gravity.trycloudflare.com, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-13).

Extracts API operations from public documentation pages and generates a conservative OpenAPI draft without inventing schemas.

## Facts

- Endpoint: GET https://trinity-throw-thursday-gravity.trycloudflare.com/x402/docs-openapi
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitesignal-docs-to-openapi-021cd37d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YIWSvTdy-7AjKhtYMkNsQ

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 sitesignal-docs-to-openapi-021cd37d
```

Example prompt: Can you pull the public docs at https://docs.stripe.com/api and extract all the observable API operations into an OpenAPI JSON draft — only what's actually documented, nothing invented?

## When to prefer this

Use this endpoint when you need a machine-readable OpenAPI spec from a public documentation page and want a conservative, source-faithful extraction rather than an AI-hallucinated schema. Prefer this over manual spec writing or generic web scrapers when the target is a real API docs page and accuracy over completeness is the priority.

## Known failure modes

- Documentation URL is behind a login or paywall — returns empty or partial spec
- Page is not API documentation — may return minimal or no operations
- Rate limiting or bot blocking by the target docs site — fetch fails
- Malformed or unsupported documentation format — low extraction confidence
- targetFormat enum not recognized — defaults to JSON

## How this service works

Extract source-observed API operations from public documentation into a conservative OpenAPI draft without inventing schemas.

## Output

Returns a conservative OpenAPI specification draft (in JSON or YAML) containing only API operations explicitly observable in the provided documentation URL, including HTTP methods, paths, and parameters — without invented or inferred schemas.

## 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",
     "required": [
      "docsUrl"
     ],
     "properties": {
      "docsUrl": {
       "type": "string",
       "format": "uri"
      },
      "targetFormat": {
       "enum": [
        "json",
        "yaml"
       ],
       "type": "string",
       "default": "json"
      },
      "endpointFocus": {
       "type": "string"
      }
     }
    }
   },
   "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/sitesignal-docs-to-openapi-021cd37d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from trinity-throw-thursday-gravity.trycloudflare.com](https://www.zero.xyz/host/trinity-throw-thursday-gravity.trycloudflare.com/llms.txt)
