# SignalDesk AI – Sort Lines

> SignalDesk AI – Sort Lines is a paid API for AI agents from x402-agent.kariguetoazul.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-13).

Sorts the lines of a given text block into alphabetical order and returns the result

## Facts

- Endpoint: POST https://x402-agent.kariguetoazul.workers.dev/api/text/sort-lines?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signaldesk-ai-sort-lines-bb81e889
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ykP82FJ0i_c2uTus0DSuz

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 signaldesk-ai-sort-lines-bb81e889 -d '<json body>'
```

Example prompt: Can you sort these lines alphabetically for me: 'banana\napple\ncherry\ndate'?

## When to prefer this

Choose this endpoint when you need a simple, reliable, pay-per-call alphabetical line sort on up to 4096 characters of text without setting up any infrastructure. It is ideal for lightweight agent workflows that occasionally need text ordering and want to avoid maintaining a dedicated sorting service.

## Known failure modes

- Text exceeds 4096 character limit — request rejected
- Empty or missing 'text' field — may return empty result or error
- Non-text input types cause validation failure
- Payment not provided or insufficient — 402 response blocking access

## How this service works

Evidence-backed autonomous AI jobs and paid data tools. Queue/D1/cron run outside the chat; free quotas and bounded execution apply.

## Output

A JSON object with a 'text' field containing the input lines sorted alphabetically, joined by newlines (e.g. {"text":"a\nb\nz"})

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 4096,
   "description": "Text to process."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "text": "a\nb\nz"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signaldesk-ai-sort-lines-bb81e889/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent.kariguetoazul.workers.dev](https://www.zero.xyz/host/x402-agent.kariguetoazul.workers.dev/llms.txt)
