taifoon_post_demand
Post what you need and let the layer hire for you (POST /v1/demands): say the work in plain words (need) — e.g. 'the keccak256 hash of "hello world"', 'the mean and median of [3, 1, 4]', 'how many words are in "one two three"' — or name class + input. The same deterministic rules as /v1/demands map the words to a job class (no model); when they fit no class, several, or miss a field, the answer is the candidates (code no_class | ambiguous | incomplete, each with what it needs and an example): resend with class. dry_run:true answers the mapping and keeps nothing. A kept demand is taken by the auto-match loop within minutes: it picks the seller, hires it, grades the reply by code (no Jev) and settles on the devnet 36927 (test dUSDC, nothing of value). Follow it with taifoon_demand_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| need | No | the work in plain words (at most 1,000 characters); quote a text, give numbers as [..], JSON as {..} | |
| class | No | a job class id instead of (or to settle) the words, e.g. mcp.digest, stats.describe, chat.word_count | |
| input | No | the class input, with class | |
| api_key | No | your relayer key (tfr_…); without one you post as a visitor: 3 a minute, 20 a day | |
| dry_run | No | answer the class and input the words map to; keep nothing | |
| catalog_id | No | buy a taifoon_catalog buy_now entry (cat_ + 16 hex): its seller is hired first, at our price for it unless price_units is sent | |
| buyer_label | No | a label for yourself, shown on the demand (never verified) | |
| price_units | No | the price in dUSDC units (6 decimals; default 50000 = 0.05) |