# ONE Engine Deterministic Text Segmentation – Last Lines (param=2, tier 6)

> ONE Engine Deterministic Text Segmentation – Last Lines (param=2, tier 6) is a paid API for AI agents from one-search.one-engine.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-15).

Extracts the last 2 lines from a given text input and returns them with tier-6 diagnostic enrichment.

## Facts

- Endpoint: POST https://one-search.one-engine.workers.dev/v12/text-segment/tail-lines/p2/t6?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/one-engine-deterministic-text-segmentation-last-lines-param-2-tier-6-bc0e8ea3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_KEQ05PBRgba4vSrs_yvd3

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-deterministic-text-segmentation-last-lines-param-2-tier-6-bc0e8ea3 -d '<json body>'
```

Example prompt: Can you pull the last 2 lines from this text block and give me the result with tier-6 diagnostics: 'Line one here. Line two here. Line three here. Line four here.'?

## When to prefer this

Choose this endpoint when you need a deterministic, cheap, auditable way to extract exactly the last 2 lines from a text string, especially when tier-6 diagnostic context is useful for debugging or pipeline validation. It is ideal for autonomous agents that need a lightweight, pay-per-call tail-extraction utility without spinning up a full NLP pipeline.

## Known failure modes

- Empty input text returns no lines or an error
- Text with fewer than 2 lines may return only available lines
- Malformed POST body may result in a 400 bad request
- Payment not included or insufficient USDC triggers 402 Payment Required
- Tier or parameter mismatch if wrong endpoint variant called

## How this service works

Deterministic text segmentation utility: Return last lines; parameter=2. Tier 6/10 provides progressively richer diagnostics.

## Output

Returns the last 2 lines extracted from the submitted text, along with tier-6 diagnostic metadata that provides progressively richer information about the segmentation operation (e.g. line indices, character counts, processing confidence, or other enriched debug fields).

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/one-engine-deterministic-text-segmentation-last-lines-param-2-tier-6-bc0e8ea3/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)
