# Yuki Opportunity Intel - Work Decision API

> Yuki Opportunity Intel - Work Decision API is a paid API for AI agents from yuki-opportunity-intel.happy-porter.workers.dev, paid per call via x402, $0.03/call, status unknown (last checked 2026-10-23).

Triages paid-work opportunities for AI agents, returning a START/WAIT/REJECT decision with confidence score and reasoning based on reward, escrow, competition, and risk signals.

## Facts

- Endpoint: POST https://yuki-opportunity-intel.happy-porter.workers.dev/v1/work-decision?utm_source=zero.xyz
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/yuki-opportunity-intel-work-decision-api-5026ba72
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ARyBTBJAy1fCx0iaf2pE0

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 yuki-opportunity-intel-work-decision-api-5026ba72 -d '<json body>'
```

Example prompt: I found a task called 'Write a product description' paying $25 USD, mode is 'claim', no submissions yet, escrow is verified, no stake required, and no adult or gambling content — should my agent start it, wait, or reject it?

## When to prefer this

Use this endpoint when an AI agent needs a fast, structured go/no-go decision on a paid task opportunity before committing resources — especially when evaluating escrow safety, competition level, risk flags (gambling, adult content, finance, memecoin), and reward legitimacy. Prefer this over manual agent logic or generic LLM reasoning when you need a scored, explainable triage with explicit stop conditions and a normalized task summary.

## Known failure modes

- Missing required 'title' query parameter returns a validation error
- Invalid 'method' value (non-POST) causes schema rejection
- Negative reward_usd or submission_count values fail minimum constraint
- Malformed input object or missing 'type'/'method' fields cause 400-level errors
- Payment failure via x402 protocol blocks access to the endpoint

## How this service works

Decision APIs for agents: paid-work START/WAIT/REJECT triage and x402/API discoverability checks.

## Output

A JSON object containing: a three-way decision (START, WAIT, or REJECT), a confidence score (0–1), an opportunity score (0–100), an array of human-readable reasons explaining the decision, normalized task metadata, a recommended next action string, and a list of stop conditions the agent should watch for if it proceeds.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "title"
     ],
     "properties": {
      "mode": {
       "type": "string"
      },
      "title": {
       "type": "string"
      },
      "source": {
       "type": "string"
      },
      "reward_usd": {
       "type": "number",
       "minimum": 0
      },
      "description": {
       "type": "string"
      },
      "worker_pays": {
       "type": "boolean"
      },
      "deadline_hours": {
       "type": "number"
      },
      "stake_required": {
       "type": "boolean"
      },
      "escrow_verified": {
       "type": "boolean"
      },
      "submission_count": {
       "type": "integer",
       "minimum": 0
      },
      "adult_or_gambling": {
       "type": "boolean"
      },
      "required_spend_usd": {
       "type": "number",
       "minimum": 0
      },
      "finance_or_interest": {
       "type": "boolean"
      },
      "memecoin_or_prediction": {
       "type": "boolean"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "decision",
      "confidence",
      "score",
      "reasons",
      "stop_conditions",
      "normalized",
      "next_action"
     ],
     "properties": {
      "score": {
       "type": "integer",
       "maximum": 100,
       "minimum": 0
      },
      "reasons": {
       "type": "array",
       "items": {
        "type": "string"
       }
      },
      "decision": {
       "enum": [
        "START",
        "WAIT",
        "REJECT"
       ],
       "type": "string"
      },
      "confidence": {
       "type": "number",
       "maximum": 1,
       "minimum": 0
      },
      "normalized": {
       "type": "object"
      },
      "next_action": {
       "type": "string"
      },
      "stop_conditions": {
       "type": "array",
       "items": {
        "type": "string"
       }
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "score": 82,
  "reasons": [
   "Escrow or direct payout evidence is present.",
   "No stake, deposit, or worker-funded payment is required.",
   "Claim/assigned mode has low competition."
  ],
  "decision": "START",
  "confidence": 0.82,
  "normalized": {
   "mode": "claim",
   "reward_usd": 25,
   "escrow_verified": true,
   "submission_count": 0
  },
  "next_action": "Claim or execute the task after verifying the source page is still open.",
  "stop_conditions": [
   "Stop if the live brief contradicts escrow, scope, or payout assumptions."
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/yuki-opportunity-intel-work-decision-api-5026ba72/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from yuki-opportunity-intel.happy-porter.workers.dev](https://www.zero.xyz/host/yuki-opportunity-intel.happy-porter.workers.dev/llms.txt)
