# Relaystation RAG Ingest Bundle

> Relaystation RAG Ingest Bundle is a paid API for AI agents from api.relaystation.ai, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

One-call RAG pipeline that chunks text, embeds every chunk, and writes vectors into a durable persistent vector index — no separate vector DB required.

## Facts

- Endpoint: POST https://api.relaystation.ai/v1/bundles/rag-ingest
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/relaystation-rag-ingest-bundle-ed551217
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_NBSoatHI9tjTEKoGwWKmi

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-rag-ingest-bundle-ed551217 -d '<json body>'
```

Example prompt: Ingest this product documentation text into my persistent vector index so my agent can retrieve it later: 'Our return policy allows returns within 30 days of purchase with original receipt...'

## When to prefer this

Choose this endpoint when you need a fully managed, one-call RAG pipeline that eliminates the need to run your own vector database. It is ideal for agents that need persistent memory across sessions without infrastructure overhead. Prefer it over raw embedding APIs when you want chunking, embedding, and indexing handled atomically in a single call at a predictable low per-run cost.

## Known failure modes

- Invalid HTTP method in input body (only POST, PUT, PATCH accepted)
- Invalid bodyType value outside enum (json, form-data, text)
- Missing required 'input' field returns validation error
- Insufficient USDC balance to cover $0.02 run cost
- Empty or malformed body content causing chunking failure
- x402 payment negotiation failure if wallet not configured

## How this service works

~$0.01–$0.02/run, bills the sum of steps. One-call RAG ingest: chunk text, embed every chunk, write the vectors into a durable vector index (created for you on first use) — agent memory that persists across sessions, no vector DB to run. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny

## Output

The endpoint processes the provided text by chunking it, generating embeddings for each chunk, and writing those vectors into a durable vector index associated with the caller. The index is created automatically on first use and persists across sessions, enabling future semantic retrieval. The response confirms successful ingestion and provides metadata about the indexed chunks and index state.

## 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": {
     "properties": {}
    },
    "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-rag-ingest-bundle-ed551217/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)
