RikaidoDeveloper

THE HARNESS, AS AN API

An AI recipe, re-read before it is served.

Send any recipe, written by your model or ours. The harness runs it through eight checks, marks the line that does not hold, and refuses what breaks an allergy. Even corrected. The food graph and the ingredient cast — 680 3D toys, 678 drawings — come through the same key.

500 calls a month, no card. Then per call, in Canadian dollars.

curl · POST /v1/harness/validate
curl https://api.rikaido.app/v1/harness/validate \
  -H "Authorization: Bearer rk_live_…" \
  -d '{
    "recipe": {
      "title": "Chicken satay",
      "ingredients": [
        { "name": "chicken thigh", "quantity": "600", "unit": "g" },
        { "name": "peanut butter", "quantity": "80", "unit": "g" },
        { "name": "salt", "quantity": "1", "unit": "tsp" }
      ],
      "steps": [
        { "instruction": "Sear until deeply golden.", "tempC": 200 }
      ]
    },
    "constraints": { "allergies": ["peanut"] }
  }'

THE ANSWER

The line that does not hold is marked. The rest is served.

Every code in the answer names a check. “safe” is the one lock: a recipe that breaks an allergy is never served, even after correction. “ok” is an opinion, not a refusal.

Chicken satay200 · Rikaido-Usage-Op: validate
Safety
peanut butter — breaks “peanut”. Refused.allergen-violation · safety: true
Dishsavory · nothing to report
Quantitiesall measured
Salt
1 tsp for 680 g — under the band. Note.salt-out-of-band · severity: warn
Temperatures200 °C · within the sear’s band
Doughnot for this dish
"ok": false · "safe": falseNot served.

WHAT IS CHECKED

Eight checks. Twenty codes. One lock.

The validator is pure: no model, no network, the same answer twice. The specification and the schemas are published; the verified recipe base and the cooking bands stay ours. Read the specification

  1. 01Safetyallergies, diets, exclusions
  2. 02Dishcategory, baked or not
  3. 03Structureenough steps, enough ingredients
  4. 04Quantitiesmeasured, never vague
  5. 05Saltwithin the dish’s band
  6. 06Doughleavening, hydration, yeast
  7. 07Temperaturesplausible, within the band
  8. 08Techniquesnamed, recognised, at their temperature

THE PRICE

Per call. Nothing else.

500 calls a month to build with, no card. Then every call is counted and billed once a month by Stripe, in Canadian dollars. No subscription, no tiers.

POST /v1/harness/validatepure, no model — the same answer twice
$0.005
POST /v1/harness/reada page or a text, read into a recipe — may call the model
$0.050
GET /v1/graph/ingredients/:nameone ingredient through the graph: allergens, diets, swaps
$0.002
GET /v1/art/ingredients/:nameone portrait off the cast: the kawaii drawing or the 3D toy
$0.002
The first 500 calls of the monthon us