# Agent Delivery Quality Score

> Agent Delivery Quality Score is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-16).

Calculates a weighted quality score for agent deliveries by combining completeness, validity, freshness, and latency metrics to produce an accept/reject decision.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/agent-delivery-quality-score
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-delivery-quality-score-96d519ae
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_w0hRxBzyugJkVYZaBF4Yo

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 agent-delivery-quality-score-96d519ae -d '<json body>'
```

Example prompt: Before I accept and pay for this agent delivery, score its quality using completeness 0.9, validity 0.85, freshness 0.7, and latency 320 — with weights of 0.3 for completeness, 0.3 for validity, 0.25 for freshness, and 0.15 for latency — and tell me whether I should accept or reject it.

## When to prefer this

Use this endpoint when you need a transparent, deterministic quality gate before accepting or paying for an x402 agent delivery. It is ideal when you have caller-supplied metrics and want a normalized, weighted score with an explicit pass/fail verdict rather than running ad hoc threshold logic yourself. Prefer this over manual scoring when auditability and mismatch explanations are required.

## Known failure modes

- Missing required input fields (completeness, validity, freshness, latency) returns a validation error
- Out-of-range values (e.g. scores above 1.0 or negative latency) may produce incorrect scoring
- Weights object with more than 128 properties is rejected
- Malformed JSON body returns a 400 bad request
- Payment not sent or insufficient USDC results in 402 Payment Required

## How this service works

Agent Delivery Quality Score: Agent Delivery Quality Score calculates a transparent weighted score from completeness, validity, freshness, and latency from bounded caller-supplied values without an external provider. Call Agent Delivery Quality Score before paying for or accepting an x402 or agent delivery assembled from caller-supplied challenge and result metadata. Returns contract-specific checks, normalized evidence, mismatch reasons, and an explicit acceptance or rejection status for Agent…

## Output

Returns a weighted composite quality score, an explicit accept or reject status, normalized evidence values for each input dimension, contract-specific check results, and mismatch reasons explaining any failures.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "latency": {
   "type": "number",
   "description": "Latency supplied to Agent Delivery Quality Score; used only for this bounded calculation and processed in memory without retention."
  },
  "weights": {
   "type": "object",
   "description": "Weights supplied to Agent Delivery Quality Score; used only for this bounded calculation and processed in memory without retention.",
   "maxProperties": 128,
   "additionalProperties": true
  },
  "validity": {
   "type": "number",
   "description": "Validity supplied to Agent Delivery Quality Score; used only for this bounded calculation and processed in memory without retention."
  },
  "freshness": {
   "type": "number",
   "description": "Freshness supplied to Agent Delivery Quality Score; used only for this bounded calculation and processed in memory without retention."
  },
  "completeness": {
   "type": "number",
   "description": "Completeness supplied to Agent Delivery Quality Score; used only for this bounded calculation and processed in memory without retention."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": {
   "score": 0.9400000000000001,
   "metrics": {
    "latency": 0.8,
    "validity": 1,
    "freshness": 0.9,
    "completeness": 1
   },
   "weight_sum": 1,
   "transparent": true
  },
  "schema": "delx/util-agent-delivery-quality-score/v1",
  "status": "pass",
  "evidence": {
   "retained": false,
   "input_sha256": "cce23822ce9e5cb7271993a6931664faf8680057ceef67cebf099e946d13ba8f",
   "external_calls": 0
  },
  "operation": "delivery_contract:agent_delivery_quality_score"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-delivery-quality-score-96d519ae/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.delx.ai](https://www.zero.xyz/host/api.delx.ai/llms.txt)
