# Source Packs — Unit-Label Consistency

> Source Packs — Unit-Label Consistency is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.012298/call, status unknown (last checked 2026-10-15).

Validates that coordinate unit labels (UTF-8 bytes, Unicode codepoints, declared tokens) used in source spans match the contracts defined in supplied source-coordinate specifications.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/context/source-packs/unit-label-consistency?utm_source=zero.xyz
- Price: $0.012298/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/source-packs-unit-label-consistency-8bd5da45
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fTzOhiHIo99epiWd5ZZOa

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 source-packs-unit-label-consistency-8bd5da45 -d '<json body>'
```

Example prompt: Check whether the unit labels on these source spans — bytes, codepoints, and tokens — are consistent with our declared source-coordinate contracts; the data is synthetic and non-personal.

## When to prefer this

Choose this endpoint when you need to verify that coordinate unit labels (bytes, codepoints, tokens) in source spans match declared contracts without any implicit unit conversion or guessing. It is specifically designed for offline, typed, non-personal metadata validation of up to 32 source spans, making it ideal for NLP pipeline QA, annotation auditing, and pre-release source pack validation where label precision is critical.

## Known failure modes

- Span count exceeds maximum of 32 items — returns validation error
- Source array count exceeds maximum of 32 items — returns validation error
- dataClass not set to 'public' or 'synthetic' — rejected as invalid enum value
- nonpersonalMetadata not set to true — request rejected
- Mismatched array lengths between spans and sources may produce partial results or an error
- Malformed span coordinate objects may cause parsing failures

## How this service works

Compare source span coordinate labels with supplied source-coordinate contracts. UTF-8 bytes, Unicode codepoints and declared tokens remain distinct; no guessed conversion. Offline typed nonpersonal metadata only. Result retention: 24 hours; minimal receipt metadata: 90 days.

## Output

Returns a consistency report indicating whether the coordinate unit labels on each supplied span match the contracts in the source specifications, distinguishing UTF-8 bytes, Unicode codepoints, and declared tokens without performing any implicit conversion. Results are retained for 24 hours; minimal receipt metadata is kept for 90 days.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "spans": {
   "type": "array",
   "maxItems": 32,
   "minItems": 1
  },
  "sources": {
   "type": "array",
   "maxItems": 32,
   "minItems": 1
  },
  "dataClass": {
   "enum": [
    "public",
    "synthetic"
   ],
   "type": "string"
  },
  "nonpersonalMetadata": {
   "type": "boolean",
   "const": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/source-packs-unit-label-consistency-8bd5da45/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.mahastrategies.com](https://www.zero.xyz/host/www.mahastrategies.com/llms.txt)
