# Delx Commerce Workflow Gate

> Delx Commerce Workflow Gate is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-01).

Evaluates a set of named boolean preflight checks and returns whether an agentic workflow is allowed to proceed, based on which required conditions are met.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/workflow-gate?utm_source=zero.xyz
- Price: $0.003/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-workflow-gate-ceaead51
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_U4qtt1U7PuoxbBr6_g10o

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-workflow-gate-ceaead51 -d '<json body>'
```

Example prompt: Before sending those invoices, run a workflow gate check with 'tests' and 'approval' as required conditions — tests is true but approval is still false — and tell me if I'm cleared to proceed.

## When to prefer this

Choose this endpoint when an AI agent needs a lightweight, pay-per-call preflight gate to enforce named boolean conditions before taking a side-effecting or irreversible action — especially when no signup or account management is desired, payment is per-result via USDC/x402, and the agent needs a verifiable, schema-versioned 'allowed or blocked' decision with explicit missing-condition feedback.

## Known failure modes

- Missing or malformed 'checks' object results in gate remaining closed with advisory
- Required check names not present in the checks map cause those names to appear in 'missing'
- Payment of 0.003 USDC via x402 not received results in HTTP 402 before gate evaluation
- Malformed JSON body may result in error response without gate evaluation
- Network or service unavailability returns non-200 response without gate result

## 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 with schema 'delx/util-workflow-gate/v1' containing: an 'allowed' boolean indicating whether the gate opens, a 'missing' array listing which required check names evaluated to false or were absent, an 'advisory' string reminding the caller they remain responsible for side-effect authorization, and a 'required' array echoing which check names were required.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "checks": {
   "type": "object",
   "description": "Map of named boolean preflight checks."
  },
  "required": {
   "type": "array",
   "description": "Check names that must be true for the gate to open."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-workflow-gate/v1",
  "allowed": false,
  "missing": [
   "approval"
  ],
  "advisory": "Caller remains responsible for side-effect authorization.",
  "required": [
   "tests",
   "approval"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-workflow-gate-ceaead51/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)
