# SignalHarness RAG Chunk Quality Analyzer

> SignalHarness RAG Chunk Quality Analyzer is a paid API for AI agents from signalharness.ai, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Analyzes the quality of RAG (Retrieval-Augmented Generation) chunks submitted as JSON, returning warnings and quality diagnostics to help optimize retrieval pipelines.

## Facts

- Endpoint: POST https://signalharness.ai/api/agent/services/rag_chunk_quality_analyze/invoke
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/signalharness-rag-chunk-quality-analyzer-5ae0bd86
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ChBDsk3sIh0s7hnEP6VTH

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 signalharness-rag-chunk-quality-analyzer-5ae0bd86 -d '<json body>'
```

Example prompt: Can you analyze the quality of these RAG chunks I've prepared — here's the JSON with my chunked document data — and tell me what issues or warnings come up?

## When to prefer this

Choose this endpoint when you need a quick, automated quality signal on RAG chunks before indexing them into a vector store, or when debugging a retrieval pipeline with poor recall or relevance. At $0.01 USDC per call it is cost-effective for per-chunk or per-batch validation. Prefer this over manual review when operating at scale or within an agentic workflow that needs programmatic quality gates.

## Known failure modes

- Malformed or invalid JSON in request_json field returns an error
- Payload exceeding 65,536 characters is rejected
- Empty or too-short input (minLength 2) is rejected
- Service may return warnings rather than hard errors for low-quality but parseable chunks
- Payment failure via x402 protocol prevents execution

## How this service works

Explore 330 pay-per-call x402 API services and 27 agent-native digital products, with Base USDC pricing, secure Polar checkout, and free discovery.

## Output

Returns a JSON object containing a quality analysis result with an 'analysis_json' field holding the diagnostic output, a list of 'warnings' about the submitted chunk data, an 'evidence_scope' indicator (e.g. 'caller_supplied_data'), and a full receipt with payment details, execution metadata, latency, and a SHA-256 result hash for verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "request_json": {
   "type": "string",
   "maxLength": 65536,
   "minLength": 2
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "replay": false,
  "result": {
   "warnings": [
    "Verify the caller-supplied data before relying on this result."
   ],
   "service_id": "rag_chunk_quality_analyze",
   "analysis_json": "{\"example\":\"schema-valid caller-supplied data\"}",
   "evidence_scope": "caller_supplied_data"
  },
  "status": "succeeded",
  "receipt": {
   "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
   "usage": [],
   "status": "succeeded",
   "network": "eip155:8453",
   "artifacts": [],
   "endedAtMs": 0,
   "latencyMs": 0,
   "paymentId": "example-payment",
   "receiptId": "example-receipt",
   "requestId": "example-request",
   "serviceId": "rag_chunk_quality_analyze",
   "executionId": "example-execution",
   "startedAtMs": 0,
   "amountAtomic": "10000",
   "resultSha256": "f7f31387f65b9f2df73808d21904147c3086544a43843a06db5530153a93a335",
   "serviceVersion": "1.0.0",
   "settlementReference": "0x0000000000000000000000000000000000000000000000000000000000000000"
  },
  "artifacts": [],
  "requestId": "example-request",
  "executionId": "example-execution"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/signalharness-rag-chunk-quality-analyzer-5ae0bd86/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from signalharness.ai](https://www.zero.xyz/host/signalharness.ai/llms.txt)
