# WritersLogic Credential Coverage Verifier

> WritersLogic Credential Coverage Verifier 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).

Given a required date range and up to 200 dated credentials, computes merged covered intervals, identifies uncovered gaps with day counts, and checks whether specific checkpoint dates fall within coverage.

## Facts

- Endpoint: POST https://agents.writerslogic.com/api/v1/credential-coverage?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-credential-coverage-verifier-5ff7b0ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D0Sw881JPil4DVgTlDIW_

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-credential-coverage-verifier-5ff7b0ad -d '<json body>'
```

Example prompt: Check if our contractor's insurance and licence certificates — policy A valid 2024-01-01 to 2024-06-30, policy B valid 2024-07-01 to 2024-12-31 — cover the full project term from 2024-01-01 to 2024-12-31 with no gaps, and confirm that 2024-04-15 and 2024-09-10 are both covered.

## When to prefer this

Use this endpoint when an AI agent needs to programmatically verify that a set of time-bounded credentials — insurance policies, licences, calibration certificates, or any dated compliance documents — provides uninterrupted coverage over a required period. It is especially valuable when multiple overlapping or sequential credentials must be merged and gaps must be surfaced precisely. It does not authenticate credentials or check their scope, so it complements but does not replace a credential authenticity verification step.

## Known failure modes

- Credentials with validTo before validFrom are rejected as invalid
- Dates not matching YYYY-MM-DD pattern return a validation error
- More than 200 credentials in a single request exceeds the maximum and returns an error
- More than 100 checkpoint dates in a single request exceeds the maximum
- Required start or end date missing returns a schema validation error
- Overlapping credentials are merged correctly but malformed IDs longer than 64 chars are rejected
- Payment failure via x402 protocol returns 402 before processing begins

## How this service works

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

## Output

Returns the merged covered date ranges across all provided credentials, a list of every uncovered gap within the required window including its start date, end date, and length in days, an indication of whether each gap exceeds the tolerated gap threshold, and a per-checkpoint boolean indicating whether that specific date falls within any credential's coverage period.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "required": {
   "type": "object",
   "required": [
    "start",
    "end"
   ],
   "properties": {
    "end": {
     "type": "string",
     "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
     "maxLength": 10,
     "description": "Inclusive last day."
    },
    "start": {
     "type": "string",
     "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
     "maxLength": 10
    }
   }
  },
  "checkpoints": {
   "type": "array",
   "items": {
    "type": "string",
    "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
    "maxLength": 10
   },
   "maxItems": 100,
   "description": "Specific dates that must be covered (delivery date, audit date)."
  },
  "credentials": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "id",
     "validFrom",
     "validTo"
    ],
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 64
     },
     "validTo": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10,
      "description": "Inclusive last valid day."
     },
     "validFrom": {
      "type": "string",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     }
    }
   },
   "maxItems": 200
  },
  "toleratedGapDays": {
   "type": "integer",
   "maximum": 365,
   "minimum": 0,
   "description": "Gaps up to this many days are reported but do not fail (a grace period you are entitled to)."
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/writerslogic-credential-coverage-verifier-5ff7b0ad/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)
