# DataVault Text Rewrite

> DataVault Text Rewrite is a paid API for AI agents from zetdatavault.vercel.app, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Rewrites or paraphrases input text using AI with optional tone and style controls

## Facts

- Endpoint: POST https://zetdatavault.vercel.app/api/rewrite
- 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/datavault-text-rewrite-98d76bd6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wHJiSYYflrpinetyGoN4j

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 datavault-text-rewrite-98d76bd6 -d '<json body>'
```

Example prompt: Rewrite the following paragraph in a professional and concise style: 'Hey, just wanted to touch base real quick and see if maybe you had a chance to look at that proposal we sent over last week? No rush, just checking in!'

## When to prefer this

Use this endpoint when you need a quick, pay-per-call AI text rewrite with configurable tone and style, especially within a pipeline that already uses DataVault's other 53 endpoints and wants a unified USDC-on-Base billing model.

## Known failure modes

- Missing required 'text' field returns validation error
- Empty string input may return empty or error response
- Invalid tone or style values may be ignored or cause unexpected output
- Very long input text may be truncated or rejected
- Network or server errors on the Vercel deployment may return 5xx

## How this service works

54 endpoints spanning local tools, live data feeds, and AI-powered text processing. Pay-per-call with USDC on Base.

## Output

A JSON object with a success boolean and a data object containing the AI-rewritten version of the input text, transformed according to the specified tone and style parameters.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "text"
 ],
 "properties": {
  "text": {
   "type": "string"
  },
  "tone": {
   "type": "string"
  },
  "style": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object"
  },
  "success": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/datavault-text-rewrite-98d76bd6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from zetdatavault.vercel.app](https://www.zero.xyz/host/zetdatavault.vercel.app/llms.txt)
