# FrostSkyNet JSONL Formatter

> FrostSkyNet JSONL Formatter is a paid API for AI agents from route-a-worker.frostskynet-api.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-19).

Converts JSONL rows into JSONL, chat training examples (OpenAI-style messages), or Markdown without using AI — returns serialized output and stats.

## Facts

- Endpoint: POST https://route-a-worker.frostskynet-api.workers.dev/format?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/frostskynet-jsonl-formatter-45f251c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_dt9x39GK-kaSesHbguU77

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 frostskynet-jsonl-formatter-45f251c1 -d '<json body>'
```

Example prompt: Take this JSONL data and reformat it as chat training examples using the system prompt 'You are a helpful assistant' — keep any quality scores in the output.

## When to prefer this

Choose this endpoint when you need a deterministic, rule-based conversion of JSONL data into chat training examples or Markdown without any AI rewriting or inference. It is ideal for ML data pipeline steps where reproducibility and speed matter, and when you want an option to retain or strip _quality score fields produced by the sibling scoring endpoint.

## Known failure modes

- Empty input string rejected (minLength:1 enforced)
- Request body exceeds size limit — the entire UTF-8 JSON body including options counts toward the limit
- Invalid format enum value causes validation error
- System prompt exceeds 2000 character maximum
- Malformed JSONL input that cannot be parsed

## How this service works

Converts JSONL rows to JSONL, chat training examples or Markdown. Returns the serialized result as an output string with stats. No AI.

## Output

A serialized string containing the reformatted content (JSONL rows, chat-format messages, or Markdown) along with statistics about the transformation such as row counts and any conversion metrics. No AI-generated content is added.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "minLength": 1,
   "description": "Nonempty input text. Limit applies to the entire UTF-8 JSON request body including options and escaping, not just this string."
  },
  "options": {
   "type": "object",
   "properties": {
    "format": {
     "enum": [
      "jsonl",
      "chat",
      "markdown",
      "md"
     ],
     "type": "string",
     "description": "Output layout. 'md' is alias for 'markdown'. Default 'jsonl'."
    },
    "system": {
     "type": "string",
     "maxLength": 2000,
     "description": "System prompt for chat mode (max 2000 chars)."
    },
    "keepScores": {
     "type": "boolean",
     "description": "Keep _quality fields in jsonl/chat output (default false)."
    }
   },
   "description": "Optional settings."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/frostskynet-jsonl-formatter-45f251c1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from route-a-worker.frostskynet-api.workers.dev](https://www.zero.xyz/host/route-a-worker.frostskynet-api.workers.dev/llms.txt)
