# Delx Commerce — Agent Delivery Quality Score

> Delx Commerce — Agent Delivery Quality Score is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Computes a weighted composite quality score for agent-delivered data, combining latency, validity, freshness, and completeness metrics into a single verifiable score.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/agent-delivery-quality-score?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-agent-delivery-quality-score-7b0feaba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wecOgKI8PmXh8o8PaTp9f

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 delx-commerce-agent-delivery-quality-score-7b0feaba -d '<json body>'
```

Example prompt: Score this agent delivery for me: latency is 0.8, validity is 1.0, freshness is 0.9, completeness is 1.0 — weight them equally and give me the composite quality score.

## When to prefer this

Choose this endpoint when you need a transparent, auditable, pay-per-use composite quality score for agent deliveries — especially when you want a verifiable SHA-256 input hash and no data retention, suitable for on-chain or contractual SLA verification. Prefer it over building your own weighted scoring logic when you need a standardized, tamper-evident score with a defined schema (delx/util-agent-delivery-quality-score/v1) that can be referenced in delivery contracts.

## Known failure modes

- Missing or invalid numeric metric values may cause computation errors or unexpected scores
- Weights that don't sum to 1 may produce non-normalized composite scores
- Sending more than 128 weight properties will exceed the maxProperties limit and may be rejected
- Malformed JSON body results in a 400-level error
- Payment failure (insufficient USDC balance or invalid x402 payment) blocks the request entirely

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object containing a composite quality score (0–1), per-metric scores for latency, validity, freshness, and completeness, the sum of weights used, a transparency flag, an SHA-256 hash of the input for auditability, the number of external calls made (always 0), and a retained flag (always false). The status field indicates pass/fail against the scoring operation.

## 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/delx-commerce-agent-delivery-quality-score-7b0feaba/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
