{"components":{"schemas":{"AskIn":{"properties":{"agent":{"description":"Your agent/model name, shown to your human","type":"string"},"callback_url":{"description":"Optional https webhook for order.ready","type":"string"},"context":{"description":"Shared context for all items","type":"string"},"images":{"description":"Strongly recommended: screenshots of where the text appears, uploaded first with POST /api/v1/images (MCP: upload_image). Natives see them next to the text. Top-level images are shared by all items","items":{"properties":{"caption":{"description":"Where it appears, e.g. checkout page, top banner","type":"string"},"id":{"description":"image_id from the upload","type":"string"}},"required":["id"],"type":"object"},"maxItems":10,"type":"array"},"items":{"description":"ALL tasks, in one call","items":{"properties":{"content":{"description":"Text kinds only: the text (string, HTML) or a JSON object of strings"},"context":{"description":"Background the human needs: audience, purpose, constraints","type":"string"},"doubt":{"description":"Text kinds only: your uncertainty in percent","maximum":100,"minimum":0,"type":"number"},"doubt_note":{"description":"Text kinds only: what you are unsure about","type":"string"},"format":{"description":"Text kinds only","enum":["text","html","json"],"type":"string"},"images":{"description":"Strongly recommended: screenshots of where the text appears, uploaded first with POST /api/v1/images (MCP: upload_image). Natives see them next to the text. Top-level images are shared by all items","items":{"properties":{"caption":{"description":"Where it appears, e.g. checkout page, top banner","type":"string"},"id":{"description":"image_id from the upload","type":"string"}},"required":["id"],"type":"object"},"maxItems":10,"type":"array"},"kind":{"description":"Task type, see task_kinds. Default native_check","enum":["native_check","proofread","approve_action","choose","rate","compare","ask","verify_web","span_tag","fact_check","rank","doc_fields","annotate","ui_review","media_review","code_review","usability"],"type":"string"},"ref":{"description":"Your id for this item; returned in the delivery","type":"string"},"skill":{"description":"Who may answer: general (default), lang:\u003ccode\u003e, country:\u003ciso2\u003e, code:\u003clang\u003e, domain:\u003carea\u003e, device:\u003cos\u003e","type":"string"},"sla_seconds":{"description":"Optional deadline; under 900 = urgent (2x price, first in queue)","type":"integer"},"source":{"description":"Text kinds only: original text"},"source_lang":{"description":"Text kinds only","type":"string"},"spec":{"description":"Kind-specific input (see task_kinds schema). Not used by native_check/proofread","type":"object"},"target_lang":{"description":"Text kinds only: language code","type":"string"}},"type":"object"},"type":"array"},"max_coins":{"description":"Budget your human approved for this call (1 coin = $0.01). If the price fits, the order is placed immediately","type":"integer"},"pii":{"description":"redact (default): personal data replaced before humans see it. share: only if the account owner consented","enum":["redact","share"],"type":"string"}},"required":["items"],"type":"object"},"PlaceIn":{"properties":{"callback_url":{"type":"string"},"quote_id":{"type":"string"}},"required":["quote_id"],"type":"object"},"QuoteIn":{"properties":{"agent":{"description":"Your agent/model name, shown to your human","type":"string"},"context":{"description":"Shared context for all items","type":"string"},"images":{"description":"Strongly recommended: screenshots of where the text appears, uploaded first with POST /api/v1/images (MCP: upload_image). Natives see them next to the text. Top-level images are shared by all items","items":{"properties":{"caption":{"description":"Where it appears, e.g. checkout page, top banner","type":"string"},"id":{"description":"image_id from the upload","type":"string"}},"required":["id"],"type":"object"},"maxItems":10,"type":"array"},"items":{"description":"ALL tasks, in one call","items":{"properties":{"content":{"description":"Text kinds only: the text (string, HTML) or a JSON object of strings"},"context":{"description":"Background the human needs: audience, purpose, constraints","type":"string"},"doubt":{"description":"Text kinds only: your uncertainty in percent","maximum":100,"minimum":0,"type":"number"},"doubt_note":{"description":"Text kinds only: what you are unsure about","type":"string"},"format":{"description":"Text kinds only","enum":["text","html","json"],"type":"string"},"images":{"description":"Strongly recommended: screenshots of where the text appears, uploaded first with POST /api/v1/images (MCP: upload_image). Natives see them next to the text. Top-level images are shared by all items","items":{"properties":{"caption":{"description":"Where it appears, e.g. checkout page, top banner","type":"string"},"id":{"description":"image_id from the upload","type":"string"}},"required":["id"],"type":"object"},"maxItems":10,"type":"array"},"kind":{"description":"Task type, see task_kinds. Default native_check","enum":["native_check","proofread","approve_action","choose","rate","compare","ask","verify_web","span_tag","fact_check","rank","doc_fields","annotate","ui_review","media_review","code_review","usability"],"type":"string"},"ref":{"description":"Your id for this item; returned in the delivery","type":"string"},"skill":{"description":"Who may answer: general (default), lang:\u003ccode\u003e, country:\u003ciso2\u003e, code:\u003clang\u003e, domain:\u003carea\u003e, device:\u003cos\u003e","type":"string"},"sla_seconds":{"description":"Optional deadline; under 900 = urgent (2x price, first in queue)","type":"integer"},"source":{"description":"Text kinds only: original text"},"source_lang":{"description":"Text kinds only","type":"string"},"spec":{"description":"Kind-specific input (see task_kinds schema). Not used by native_check/proofread","type":"object"},"target_lang":{"description":"Text kinds only: language code","type":"string"}},"type":"object"},"type":"array"},"pii":{"description":"redact (default): personal data replaced before humans see it. share: only if the account owner consented","enum":["redact","share"],"type":"string"}},"required":["items"],"type":"object"}},"securitySchemes":{"bearer":{"scheme":"bearer","type":"http"}}},"info":{"description":"Human Touch = real humans check what your agent can't be sure of: approve risky actions, label, rate, compare, answer questions, check web pages, and native-speaker checks of texts. Access: MCP clients connect with OAuth (your human approves in the browser); without OAuth, POST /api/v1/auth/device, show your human the link, poll /api/v1/auth/device/token for an API key. It is asynchronous (minutes to hours). 1) Pick a kind (GET /api/v1/kinds or MCP task_kinds) and put ALL tasks into one request: items[] with kind, spec, optional skill (general, lang:de, country:us, code:go, domain:legal, device:ios) and ref. Text kinds (native_check, proofread) take target_lang + content instead of spec and are priced per span (a sentence or UI string; long ones count per 25 words; repeats from your earlier orders are free). Kinds with needs (doc_fields, annotate, ui_review: images; media_review: one audio/video file) require uploads in items[].images. 2) If your human gave you a budget, call ask_human (POST /api/v1/ask) with max_coins: it quotes and orders in one step when the price fits. Otherwise POST /api/v1/quotes, show summary_for_human, and after approval POST /api/v1/orders {quote_id}. If a quote has needs_limit_approval (above the spending limit your human set for you), call request_approval (POST /api/v1/quotes/{id}/approval), show your human the approval_url, wait until approved, then order; never split orders to fit a limit. 3) Follow wait_plan: wait until check_after, then poll GET /api/v1/orders/{id}?wait=50 (long-poll) until ready=true. 4) GET /api/v1/orders/{id}/delivery: items[].result has answer and agreement (0-1, how much the people agreed; any votes in answer are shares 0-1); text kinds return final text. 5) POST /api/v1/orders/{id}/ack. Privacy: emails, phones, card numbers, IBANs, IPs and secrets are replaced with placeholders like ⟦EMAIL_1⟧ before any human sees them and restored in your delivery; still, never send private data you don't need to. Reviewers never see who you are. verify_web needs spec.attest_safe: true (you vouch the URL is a safe public page); URLs are screened with Google Web Risk and a malicious URL suspends the account at once. Not allowed: CAPTCHA solving, fake reviews/votes, account or KYC bypass, collecting data about people, harassment, illegal content. Prices are coins (1 coin = $0.01). Orders may take the balance down to -$10; while it is below zero, new tasks wait until your human tops up.","title":"Human Touch API","version":"2.0.0"},"openapi":"3.1.0","paths":{"/ask":{"post":{"operationId":"askHuman","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AskIn"}}},"required":true},"responses":{"200":{"description":"Quote only (needs approval)"},"202":{"description":"Ordered"}},"security":[{"bearer":[]}],"summary":"Quote and, if the price fits max_coins, order in one step"}},"/auth/device":{"post":{"operationId":"startDeviceLogin","requestBody":{"content":{"application/json":{"schema":{"properties":{"client_name":{"type":"string"}},"type":"object"}}}},"responses":{"200":{"description":"login.device_code, login.user_code, login.verification_uri_complete, login.interval"}},"summary":"No API key yet? Start device login: returns user_code and verification_uri_complete to show your human, and a device_code to poll with. No auth needed"}},"/auth/device/token":{"post":{"operationId":"pollDeviceLogin","requestBody":{"content":{"application/json":{"schema":{"properties":{"device_code":{"type":"string"}},"required":["device_code"],"type":"object"}}},"required":true},"responses":{"200":{"description":"api_key"},"202":{"description":"keep polling"},"400":{"description":"denied or expired"}},"summary":"Poll every interval seconds. 202 = still waiting (authorization_pending/slow_down); 200 = api_key (shown once); 400 = access_denied/expired_token. No auth needed"}},"/images":{"post":{"operationId":"uploadImage","requestBody":{"content":{"image/jpeg":{"schema":{"format":"binary","type":"string"}},"image/png":{"schema":{"format":"binary","type":"string"}},"image/webp":{"schema":{"format":"binary","type":"string"}}},"required":true},"responses":{"201":{"description":"image_id"},"413":{"description":"Too large"},"422":{"description":"Not an image"}},"security":[{"bearer":[]}],"summary":"Upload a screenshot, document image (PNG/JPEG/WebP, max 10 MB, re-encoded so metadata is stripped) or audio/video (MP3/M4A/WAV/OGG/MP4/WebM, max 25 MB, stored as sent: strip metadata yourself). Body: raw bytes, multipart field file, or JSON {data_base64}. Returns image_id; unused uploads are deleted after 24 h"}},"/images/{id}":{"get":{"operationId":"getImage","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"file bytes"}},"security":[{"bearer":[]}],"summary":"Download an upload of yours or a reviewer screenshot from a result (answer.proof)"}},"/kinds":{"get":{"operationId":"taskKinds","responses":{"200":{"description":"Catalog"}},"summary":"Task kinds, spec schemas, prices, skills, privacy rules"}},"/languages":{"get":{"operationId":"languages","responses":{"200":{"description":"Languages"}}}},"/orders":{"get":{"operationId":"listOrders","responses":{"200":{"description":"Orders"}},"security":[{"bearer":[]}]},"post":{"operationId":"placeOrder","parameters":[{"in":"header","name":"Idempotency-Key","schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaceIn"}}},"required":true},"responses":{"202":{"description":"Accepted"},"402":{"description":"Insufficient balance or key cap"}},"security":[{"bearer":[]}],"summary":"Commit a quote; charges the price; returns order_id and ETA"}},"/orders/{id}":{"get":{"operationId":"checkOrder","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"query","name":"wait","schema":{"maximum":55,"type":"integer"}}],"responses":{"200":{"description":"Status"}},"security":[{"bearer":[]}],"summary":"ready / not ready, progress, ETA; ?wait=N long-polls up to 55 s"}},"/orders/{id}/ack":{"post":{"operationId":"ackOrder","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Acknowledged"}},"security":[{"bearer":[]}],"summary":"Confirm receipt; starts retention countdown"}},"/orders/{id}/delivery":{"get":{"operationId":"collectOrder","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Delivery"},"409":{"description":"Not ready"}},"security":[{"bearer":[]}],"summary":"Results by ref (result.answer, agreement) or verified texts, with provenance"}},"/quotes":{"post":{"operationId":"quoteTask","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteIn"}}},"required":true},"responses":{"200":{"description":"Quote"}},"security":[{"bearer":[]}],"summary":"Price and ETA for all your tasks (no charge)"}},"/quotes/{id}/approval":{"post":{"operationId":"requestApproval","parameters":[{"in":"path","name":"id","required":true,"schema":{"type":"string"}},{"in":"query","name":"wait","schema":{"maximum":50,"type":"integer"}}],"responses":{"200":{"description":"approval {status, approval_url, message_for_human}"}},"security":[{"bearer":[]}],"summary":"Ask the human to approve one order above the key's spending limit; poll with ?wait=50"}},"/wallet":{"get":{"operationId":"wallet","responses":{"200":{"description":"Balance"}},"security":[{"bearer":[]}]}}},"servers":[{"url":"https://humantouch.data-clerk.com/api/v1"}]}