# ONE Engine Record Defaults Transformer (t2)

> ONE Engine Record Defaults Transformer (t2) is a paid API for AI agents from one-search.one-engine.workers.dev, paid per call via x402, $0.0007/call, status unknown (last checked 2026-10-02).

Applies default field values to an array of JSON records, filling in missing fields with specified defaults.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v3/records/defaults/t2?utm_source=zero.xyz
- Price: $0.0007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/one-engine-record-defaults-transformer-t2-e8abd708
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1_SlWEh5G9Wq8RcxfqNKQ

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 one-engine-record-defaults-transformer-t2-e8abd708 -d '<json body>'
```

Example prompt: Take these 50 JSON user records and fill in any missing fields using these defaults: {country: 'US', currency: 'USD', active: true} — return the full normalized list.

## When to prefer this

Choose this endpoint when you need a lightweight, pay-per-call solution to apply default values to a batch of JSON records without spinning up your own transformation logic. It is ideal for agents that need to normalize heterogeneous datasets on the fly, filling missing fields before downstream processing, at very low cost ($0.0007 USDC per call) using x402 on Base.

## Known failure modes

- Missing required 'records' field returns a validation error
- Records array exceeding 500 items may be rejected or truncated
- Malformed JSON in records array causes a parse error
- Payment failure via x402 results in a 402 response before processing
- Rename map with conflicting keys may produce undefined behavior
- Empty records array returns an empty result set

## How this service works

Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.

## Output

Returns an array of JSON objects where each record has been merged with the provided defaults object — any field present in defaults but absent in the original record is filled in. Records that already have a field set retain their original value. Optionally, only specified keys are returned and fields may be renamed according to the rename map.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "records"
 ],
 "properties": {
  "keys": {
   "type": "array"
  },
  "rename": {
   "type": "object"
  },
  "records": {
   "type": "array",
   "description": "Up to 500 JSON objects"
  },
  "defaults": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-record-defaults-transformer-t2-e8abd708/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from one-search.one-engine.workers.dev](https://www.zero.xyz/host/one-search.one-engine.workers.dev/llms.txt)
