# RelayStation Office Rescue — Legacy/Exotic Office to PDF

> RelayStation Office Rescue — Legacy/Exotic Office to PDF is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Converts legacy, exotic, or damaged Office files (doc, xls, ppt, odt, etc.) to PDF using LibreOffice, handling formats that modern Office applications refuse to open

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/office/rescue
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-office-rescue-legacy-exotic-office-to-pdf-c09d4c59
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_nNtik4sDvsZVKCbybKAYn

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 relaystation-office-rescue-legacy-exotic-office-to-pdf-c09d4c59 -d '<json body>'
```

Example prompt: I have this old .wps Works file from 2001 that modern Word refuses to open — can you rescue and convert it to a PDF for me?

## When to prefer this

Choose this endpoint when dealing with legacy, exotic, or damaged Office formats (e.g. .wps, .wpd, .odt, .sxw, .sdw, .602, old .doc/.xls/.ppt) that modern Microsoft Office or Google Docs refuses to open or renders incorrectly. It is specifically designed for 'rescue' scenarios where standard converters fail, powered by LibreOffice's broad format compatibility.

## Known failure modes

- Unsupported or truly corrupted file may fail to render — LibreOffice cannot recover all damage
- Password-protected Office files may not convert without the password
- Very large files may time out or exceed processing limits
- Binary garbage or non-Office files submitted as Office formats will error
- Malformed MIME types or missing file payload return a 400 error

## How this service works

$0.008/call. Rescue exotic or legacy Office files into PDF via LibreOffice — opens what modern Office won't. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

A PDF file (binary) rendered from the uploaded legacy or exotic Office document via LibreOffice, preserving layout and content as faithfully as possible given the source format.

## 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",
     "properties": {
      "file": {
       "type": "object",
       "description": "cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key, ≤ 50 MB> }."
      },
      "options": {
       "type": "object",
       "properties": {
        "quality": {
         "type": "integer",
         "maximum": 100,
         "minimum": 1,
         "description": "JPEG quality (1–100) for embedded images."
        },
        "landscape": {
         "type": "boolean",
         "description": "Force landscape orientation."
        },
        "pageRanges": {
         "type": "string",
         "maxLength": 255,
         "minLength": 1,
         "description": "Page subset, e.g. \"1-5,8\"."
        },
        "maxImageResolution": {
         "enum": [
          75,
          150,
          300,
          600,
          1200
         ],
         "type": "integer",
         "description": "DPI ceiling for embedded images (closed ladder)."
        },
        "reduceImageResolution": {
         "type": "boolean",
         "description": "Gate for maxImageResolution; must be true for maxImageResolution to apply."
        },
        "losslessImageCompression": {
         "type": "boolean"
        }
       },
       "description": "Optional LibreOffice export controls (mirrors /v1/pdf/from-office); absent fields take the engine default.",
       "additionalProperties": false
      },
      "filename": {
       "type": "string",
       "maxLength": 255,
       "minLength": 1,
       "description": "Source filename; its extension must be in the rescue roster (GET /v1/office/formats)."
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "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/relaystation-office-rescue-legacy-exotic-office-to-pdf-c09d4c59/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.relaystation.ai](https://www.zero.xyz/host/api.relaystation.ai/llms.txt)
