# WritersLogic Transcript Validator

> WritersLogic Transcript Validator is a paid API for AI agents from agents.writerslogic.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-19).

Validates an AI message history for structural correctness (tool call/result pairing, ID uniqueness, role placement) before sending to Anthropic or OpenAI APIs

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/transcript-validator?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/writerslogic-transcript-validator-85299a0d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_N-6XTQZlpxHPF1mtsHl9C

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 writerslogic-transcript-validator-85299a0d -d '<json body>'
```

Example prompt: Before I send this message history to Anthropic, check it for structural problems — make sure every tool call has a matching result, all tool use IDs are present and unique, and results are in the right place. Here's the full messages array, and treat it as a mid-loop transcript so a trailing unanswered tool call isn't flagged as a defect.

## When to prefer this

Use this endpoint when an AI agent manipulates, edits, truncates, or replays its own conversation history before sending to Anthropic Messages, OpenAI Chat Completions, or OpenAI Responses, and needs to avoid 400 errors due to structural violations. Prefer this over manual inspection when tool call/result pairing, ID uniqueness, or role placement are at risk. It is specifically scoped to provider-documented structural rules only, so it will not false-positive on content or schema issues.

## Known failure modes

- Input messages array is empty or missing — returns schema validation error
- Provider enum value not recognized — returns 400-style error
- Messages array exceeds 500 items — rejected with size limit error
- Malformed individual message objects that cannot be parsed — may return parse error or partial results
- Network timeout if payload is very large near the 500-item limit

## How this service works

Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.

## Output

Returns a structured validation report indicating whether the message list is valid, lists specific defects (e.g. missing tool result, duplicate ID, result in wrong role) with reasons, and flags suspicious patterns that fall outside documented provider rules as 'unknown' with an explanation rather than outright failures.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "messages": {
   "type": "array",
   "items": {
    "description": "A provider-shaped message (anthropic, openai-chat) or input item (openai-responses)."
   },
   "maxItems": 500,
   "minItems": 1
  },
  "provider": {
   "enum": [
    "anthropic",
    "openai-chat",
    "openai-responses"
   ],
   "type": "string"
  },
  "expectComplete": {
   "type": "boolean",
   "description": "Default true: a trailing tool call without a result is a defect. Set false when the transcript is mid-loop and results are still pending."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/writerslogic-transcript-validator-85299a0d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.writerslogic.com](https://www.zero.xyz/host/agents.writerslogic.com/llms.txt)
