{"openapi":"3.0.3","info":{"title":"ProofMarket API","version":"0.1.0","description":"Generated from packages/core/src/schemas/api.ts. Spec: specs/proofmarket/implementation/en/05-api-design.md"},"servers":[{"url":"/"}],"components":{"securitySchemes":{"requesterApiKey":{"type":"http","scheme":"bearer","description":"pm_test_<prefix>_<secret>"},"privyAccessToken":{"type":"http","scheme":"bearer","bearerFormat":"JWT"},"adminToken":{"type":"http","scheme":"bearer"}}},"paths":{"/v1/verifications":{"post":{"summary":"Create a verification request","x-priority":"P0","security":[{"requesterApiKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":255}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["PLACE_STATUS_VERIFICATION","QUEUE_LENGTH","NOTICE_POSTED","CROWD_LEVEL","SEAT_AVAILABILITY","PARKING_AVAILABILITY","STOCK_CHECK","PRICE_CHECK","SIGN_TRANSCRIPTION","SITE_REPORT","DOCUMENT_TRANSCRIPTION","DOCUMENT_QA","PRODUCT_INSPECTION","PHONE_INQUIRY","MEASUREMENT","CUSTOM_CHOICE","CUSTOM_TASK","SENSORY_REPORT"]},"question":{"type":"string","minLength":1,"maxLength":1000},"answer_schema":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}}},"required":["type","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"max_chars":{"type":"integer","minimum":1,"maximum":4000}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["form"]},"fields":{"minItems":1,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"max_chars":{"type":"integer","minimum":1,"maximum":4000},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["scale"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"min":{"default":1,"type":"number","enum":[1]},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"labels":{"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":20},{"type":"string","minLength":1,"maxLength":20}]},"minItems":2,"maxItems":2},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","max","labels"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["tags"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"max":{"type":"integer","minimum":1,"maximum":12},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values","max"],"additionalProperties":false}]}}},"required":["type","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["sensory"]},"senses":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"string","enum":["sight","hearing","smell","taste","touch"]},"description":"One is enough. sight, hearing, smell, taste, touch"}},"required":["type","senses"],"additionalProperties":false}]},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"attestation":{"type":"object","properties":{"subject":{"type":"string","enum":["agent_action"]},"description":{"type":"string","minLength":1,"maxLength":200}},"required":["subject","description"],"additionalProperties":false},"translations":{"type":"object","properties":{"ja":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":1000},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"labels":{"type":"object","additionalProperties":{"type":"string","minLength":1,"maxLength":80}}},"required":["question"],"additionalProperties":false},"en":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":1000},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"labels":{"type":"object","additionalProperties":{"type":"string","minLength":1,"maxLength":80}}},"required":["question"],"additionalProperties":false}},"additionalProperties":false},"location":{"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180},"radius_m":{"type":"integer","minimum":25,"maximum":500}},"required":["lat","lng","radius_m"]},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"freshness":{"default":{"max_age_seconds":300},"type":"object","properties":{"max_age_seconds":{"default":300,"type":"integer","minimum":60,"maximum":3600}}},"evidence_requirements":{"type":"object","properties":{"photo":{"type":"boolean"},"task_nonce":{"type":"boolean","enum":[true]}},"required":["photo","task_nonce"]},"audio":{"type":"object","properties":{"clip":{"type":"string","enum":["none","optional","required"]},"max_seconds":{"default":15,"type":"integer","minimum":5,"maximum":15}},"required":["clip"],"additionalProperties":false},"assurance":{"anyOf":[{"anyOf":[{"type":"object","properties":{"required_witnesses":{"type":"integer","minimum":1,"maximum":5},"quorum":{"type":"integer","minimum":1,"maximum":5}},"required":["required_witnesses","quorum"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","enum":["fast","standard","high"],"description":"fast = 1 witness, standard = 2 agreeing, high = 2 of 3"}},"required":["level"],"additionalProperties":false}]},{"type":"object","properties":{"level":{"type":"string","enum":["optimistic"]},"challenge_minutes":{"default":30,"type":"integer","minimum":10,"maximum":120}},"required":["level"],"additionalProperties":false}]},"bounty":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"network":{"type":"string","enum":["solana-devnet","solana"]},"max_amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"ramp_minutes":{"type":"integer","minimum":10,"maximum":1440}},"required":["asset","amount","network"]},"principal_ref":{"type":"string","pattern":"^prn_[0-9A-HJKMNP-TV-Z]{26}$"},"worker_requirements":{"type":"object","properties":{"min_tier":{"type":"string","enum":["standard","trusted"]}},"required":["min_tier"],"additionalProperties":false},"allow_reuse":{"type":"boolean"},"publish":{"type":"boolean"},"location_privacy":{"type":"string","enum":["exact","coarse"]},"reuse":{"type":"object","properties":{"max_age_seconds":{"type":"integer","minimum":60,"maximum":3600}},"required":["max_age_seconds"],"additionalProperties":false},"quote_id":{"type":"string","pattern":"^qte_[0-9A-HJKMNP-TV-Z]{26}$"}},"required":["type","question","answer_schema","deadline","evidence_requirements","assurance","bounty","principal_ref"],"additionalProperties":false}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"status":{"type":"string","enum":["CREATED","VERIFIED"]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"funding":{"type":"object","properties":{"status":{"type":"string","enum":["PENDING","NONE"]}},"required":["status"]},"reused":{"type":"boolean"},"result":{"type":"object","additionalProperties":{}}},"required":["verification_id","status","created_at","funding"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}},"get":{"summary":"List this API key's verifications, newest first (docs/architecture 04 §4.1)","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"name":"created_after","in":"query","required":false,"schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":200}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"verifications":{"type":"array","items":{"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"type":{"type":"string","enum":["PLACE_STATUS_VERIFICATION","QUEUE_LENGTH","NOTICE_POSTED","CROWD_LEVEL","SEAT_AVAILABILITY","PARKING_AVAILABILITY","STOCK_CHECK","PRICE_CHECK","SIGN_TRANSCRIPTION","SITE_REPORT","DOCUMENT_TRANSCRIPTION","DOCUMENT_QA","PRODUCT_INSPECTION","PHONE_INQUIRY","MEASUREMENT","CUSTOM_CHOICE","CUSTOM_TASK","SENSORY_REPORT"]},"status":{"type":"string","enum":["CREATED","FUNDED","OPEN","CLAIMED","SUBMITTED","VERIFYING","VERIFIED","SETTLED","REJECTED","EXPIRED","CANCELLED","REFUNDED"]},"funding_status":{"type":"string","enum":["NONE","PENDING","SUBMITTED","CONFIRMED","FAILED","ABANDONED"]},"settlement_status":{"type":"string","enum":["NONE","PENDING","SUBMITTED","CONFIRMED","FAILED"]},"result_status":{"nullable":true,"type":"string","enum":["VERIFIED","REJECTED","EXPIRED"]},"bounty":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"network":{"type":"string","enum":["solana-devnet","solana"]}},"required":["asset","amount","network"]},"required_witnesses":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"recheck_of":{"nullable":true,"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["verification_id","type","status","funding_status","settlement_status","result_status","bounty","required_witnesses","recheck_of","deadline","created_at","updated_at"]}},"next_cursor":{"nullable":true,"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"}},"required":["verifications","next_cursor"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/verifications/batch":{"post":{"summary":"Create up to 50 verification requests from one template; all or nothing (01 §4.25)","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":255}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"template":{"type":"object","properties":{"type":{"type":"string","enum":["PLACE_STATUS_VERIFICATION","QUEUE_LENGTH","NOTICE_POSTED","CROWD_LEVEL","SEAT_AVAILABILITY","PARKING_AVAILABILITY","STOCK_CHECK","PRICE_CHECK","SIGN_TRANSCRIPTION","SITE_REPORT","DOCUMENT_TRANSCRIPTION","DOCUMENT_QA","PRODUCT_INSPECTION","PHONE_INQUIRY","MEASUREMENT","CUSTOM_CHOICE","CUSTOM_TASK","SENSORY_REPORT"]},"question":{"type":"string","minLength":1,"maxLength":1000},"answer_schema":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}}},"required":["type","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"max_chars":{"type":"integer","minimum":1,"maximum":4000}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["form"]},"fields":{"minItems":1,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"max_chars":{"type":"integer","minimum":1,"maximum":4000},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["scale"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"min":{"default":1,"type":"number","enum":[1]},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"labels":{"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":20},{"type":"string","minLength":1,"maxLength":20}]},"minItems":2,"maxItems":2},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","max","labels"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["tags"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"max":{"type":"integer","minimum":1,"maximum":12},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values","max"],"additionalProperties":false}]}}},"required":["type","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["sensory"]},"senses":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"string","enum":["sight","hearing","smell","taste","touch"]},"description":"One is enough. sight, hearing, smell, taste, touch"}},"required":["type","senses"],"additionalProperties":false}]},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"attestation":{"type":"object","properties":{"subject":{"type":"string","enum":["agent_action"]},"description":{"type":"string","minLength":1,"maxLength":200}},"required":["subject","description"],"additionalProperties":false},"translations":{"type":"object","properties":{"ja":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":1000},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"labels":{"type":"object","additionalProperties":{"type":"string","minLength":1,"maxLength":80}}},"required":["question"],"additionalProperties":false},"en":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":1000},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"labels":{"type":"object","additionalProperties":{"type":"string","minLength":1,"maxLength":80}}},"required":["question"],"additionalProperties":false}},"additionalProperties":false},"location":{"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180},"radius_m":{"type":"integer","minimum":25,"maximum":500}},"required":["lat","lng","radius_m"]},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"freshness":{"default":{"max_age_seconds":300},"type":"object","properties":{"max_age_seconds":{"default":300,"type":"integer","minimum":60,"maximum":3600}}},"evidence_requirements":{"type":"object","properties":{"photo":{"type":"boolean"},"task_nonce":{"type":"boolean","enum":[true]}},"required":["photo","task_nonce"]},"audio":{"type":"object","properties":{"clip":{"type":"string","enum":["none","optional","required"]},"max_seconds":{"default":15,"type":"integer","minimum":5,"maximum":15}},"required":["clip"],"additionalProperties":false},"assurance":{"anyOf":[{"anyOf":[{"type":"object","properties":{"required_witnesses":{"type":"integer","minimum":1,"maximum":5},"quorum":{"type":"integer","minimum":1,"maximum":5}},"required":["required_witnesses","quorum"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","enum":["fast","standard","high"],"description":"fast = 1 witness, standard = 2 agreeing, high = 2 of 3"}},"required":["level"],"additionalProperties":false}]},{"type":"object","properties":{"level":{"type":"string","enum":["optimistic"]},"challenge_minutes":{"default":30,"type":"integer","minimum":10,"maximum":120}},"required":["level"],"additionalProperties":false}]},"bounty":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"network":{"type":"string","enum":["solana-devnet","solana"]},"max_amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"ramp_minutes":{"type":"integer","minimum":10,"maximum":1440}},"required":["asset","amount","network"]},"principal_ref":{"type":"string","pattern":"^prn_[0-9A-HJKMNP-TV-Z]{26}$"},"worker_requirements":{"type":"object","properties":{"min_tier":{"type":"string","enum":["standard","trusted"]}},"required":["min_tier"],"additionalProperties":false},"allow_reuse":{"type":"boolean"},"publish":{"type":"boolean"},"location_privacy":{"type":"string","enum":["exact","coarse"]},"reuse":{"type":"object","properties":{"max_age_seconds":{"type":"integer","minimum":60,"maximum":3600}},"required":["max_age_seconds"],"additionalProperties":false}},"required":["type","answer_schema","deadline","evidence_requirements","assurance","bounty","principal_ref"],"additionalProperties":false},"items":{"minItems":1,"maxItems":50,"type":"array","items":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":1000},"location":{"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180},"radius_m":{"type":"integer","minimum":25,"maximum":500}},"required":["lat","lng","radius_m"]}},"additionalProperties":false}}},"required":["template","items"],"additionalProperties":false}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"verifications":{"type":"array","items":{"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"status":{"type":"string","enum":["CREATED","VERIFIED"]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"funding":{"type":"object","properties":{"status":{"type":"string","enum":["PENDING","NONE"]}},"required":["status"]},"reused":{"type":"boolean"},"result":{"type":"object","additionalProperties":{}}},"required":["verification_id","status","created_at","funding"]}}},"required":["verifications"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/x402/verifications":{"post":{"summary":"Create a verification paid with x402 v2 (exact, Solana): 402 + PAYMENT-REQUIRED without PAYMENT-SIGNATURE","x-priority":"Stretch","security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["PLACE_STATUS_VERIFICATION","QUEUE_LENGTH","NOTICE_POSTED","CROWD_LEVEL","SEAT_AVAILABILITY","PARKING_AVAILABILITY","STOCK_CHECK","PRICE_CHECK","SIGN_TRANSCRIPTION","SITE_REPORT","DOCUMENT_TRANSCRIPTION","DOCUMENT_QA","PRODUCT_INSPECTION","PHONE_INQUIRY","MEASUREMENT","CUSTOM_CHOICE","CUSTOM_TASK","SENSORY_REPORT"]},"question":{"type":"string","minLength":1,"maxLength":1000},"answer_schema":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}}},"required":["type","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"max_chars":{"type":"integer","minimum":1,"maximum":4000}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["form"]},"fields":{"minItems":1,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"max_chars":{"type":"integer","minimum":1,"maximum":4000},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["scale"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"min":{"default":1,"type":"number","enum":[1]},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"labels":{"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":20},{"type":"string","minLength":1,"maxLength":20}]},"minItems":2,"maxItems":2},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","max","labels"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["tags"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"max":{"type":"integer","minimum":1,"maximum":12},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values","max"],"additionalProperties":false}]}}},"required":["type","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["sensory"]},"senses":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"string","enum":["sight","hearing","smell","taste","touch"]},"description":"One is enough. sight, hearing, smell, taste, touch"}},"required":["type","senses"],"additionalProperties":false}]},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"attestation":{"type":"object","properties":{"subject":{"type":"string","enum":["agent_action"]},"description":{"type":"string","minLength":1,"maxLength":200}},"required":["subject","description"],"additionalProperties":false},"translations":{"type":"object","properties":{"ja":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":1000},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"labels":{"type":"object","additionalProperties":{"type":"string","minLength":1,"maxLength":80}}},"required":["question"],"additionalProperties":false},"en":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":1000},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"labels":{"type":"object","additionalProperties":{"type":"string","minLength":1,"maxLength":80}}},"required":["question"],"additionalProperties":false}},"additionalProperties":false},"location":{"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180},"radius_m":{"type":"integer","minimum":25,"maximum":500}},"required":["lat","lng","radius_m"]},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"freshness":{"default":{"max_age_seconds":300},"type":"object","properties":{"max_age_seconds":{"default":300,"type":"integer","minimum":60,"maximum":3600}}},"evidence_requirements":{"type":"object","properties":{"photo":{"type":"boolean"},"task_nonce":{"type":"boolean","enum":[true]}},"required":["photo","task_nonce"]},"audio":{"type":"object","properties":{"clip":{"type":"string","enum":["none","optional","required"]},"max_seconds":{"default":15,"type":"integer","minimum":5,"maximum":15}},"required":["clip"],"additionalProperties":false},"assurance":{"anyOf":[{"anyOf":[{"type":"object","properties":{"required_witnesses":{"type":"integer","minimum":1,"maximum":5},"quorum":{"type":"integer","minimum":1,"maximum":5}},"required":["required_witnesses","quorum"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","enum":["fast","standard","high"],"description":"fast = 1 witness, standard = 2 agreeing, high = 2 of 3"}},"required":["level"],"additionalProperties":false}]},{"type":"object","properties":{"level":{"type":"string","enum":["optimistic"]},"challenge_minutes":{"default":30,"type":"integer","minimum":10,"maximum":120}},"required":["level"],"additionalProperties":false}]},"bounty":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"network":{"type":"string","enum":["solana-devnet","solana"]},"max_amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"ramp_minutes":{"type":"integer","minimum":10,"maximum":1440}},"required":["asset","amount","network"]},"worker_requirements":{"type":"object","properties":{"min_tier":{"type":"string","enum":["standard","trusted"]}},"required":["min_tier"],"additionalProperties":false},"allow_reuse":{"type":"boolean"},"publish":{"type":"boolean"},"location_privacy":{"type":"string","enum":["exact","coarse"]},"reuse":{"type":"object","properties":{"max_age_seconds":{"type":"integer","minimum":60,"maximum":3600}},"required":["max_age_seconds"],"additionalProperties":false}},"required":["type","question","answer_schema","deadline","evidence_requirements","assurance","bounty"],"additionalProperties":false}}}},"x-payment-info":{"protocols":[{"x402":{}}],"price":{"mode":"dynamic","currency":"USD"}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"status":{"type":"string","enum":["CREATED","VERIFIED"]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"funding":{"type":"object","properties":{"status":{"type":"string","enum":["PENDING","NONE"]}},"required":["status"]},"reused":{"type":"boolean"},"result":{"type":"object","additionalProperties":{}},"api_key":{"nullable":true,"type":"string"},"payment":{"type":"object","properties":{"signature":{"type":"string"},"explorer_url":{"type":"string","format":"uri"},"network":{"type":"string"},"payer":{"type":"string"},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"}},"required":["signature","explorer_url","network","payer","amount"]}},"required":["verification_id","status","created_at","funding","api_key","payment"]}}}},"402":{"description":"Payment required: x402 v2 terms in the PAYMENT-REQUIRED header and the body"},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/verifications/quote":{"post":{"summary":"Quote a verification: its cost and whether it would be accepted, with nothing reserved (docs/architecture 04 §4.2)","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"type":{"type":"string","enum":["PLACE_STATUS_VERIFICATION","QUEUE_LENGTH","NOTICE_POSTED","CROWD_LEVEL","SEAT_AVAILABILITY","PARKING_AVAILABILITY","STOCK_CHECK","PRICE_CHECK","SIGN_TRANSCRIPTION","SITE_REPORT","DOCUMENT_TRANSCRIPTION","DOCUMENT_QA","PRODUCT_INSPECTION","PHONE_INQUIRY","MEASUREMENT","CUSTOM_CHOICE","CUSTOM_TASK","SENSORY_REPORT"]},"question":{"type":"string","minLength":1,"maxLength":1000},"answer_schema":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}}},"required":["type","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"max_chars":{"type":"integer","minimum":1,"maximum":4000}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["form"]},"fields":{"minItems":1,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"max_chars":{"type":"integer","minimum":1,"maximum":4000},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["scale"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"min":{"default":1,"type":"number","enum":[1]},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"labels":{"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":20},{"type":"string","minLength":1,"maxLength":20}]},"minItems":2,"maxItems":2},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","max","labels"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["tags"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"max":{"type":"integer","minimum":1,"maximum":12},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values","max"],"additionalProperties":false}]}}},"required":["type","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["sensory"]},"senses":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"string","enum":["sight","hearing","smell","taste","touch"]},"description":"One is enough. sight, hearing, smell, taste, touch"}},"required":["type","senses"],"additionalProperties":false}]},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"attestation":{"type":"object","properties":{"subject":{"type":"string","enum":["agent_action"]},"description":{"type":"string","minLength":1,"maxLength":200}},"required":["subject","description"],"additionalProperties":false},"translations":{"type":"object","properties":{"ja":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":1000},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"labels":{"type":"object","additionalProperties":{"type":"string","minLength":1,"maxLength":80}}},"required":["question"],"additionalProperties":false},"en":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":1000},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"labels":{"type":"object","additionalProperties":{"type":"string","minLength":1,"maxLength":80}}},"required":["question"],"additionalProperties":false}},"additionalProperties":false},"location":{"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180},"radius_m":{"type":"integer","minimum":25,"maximum":500}},"required":["lat","lng","radius_m"]},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"freshness":{"default":{"max_age_seconds":300},"type":"object","properties":{"max_age_seconds":{"default":300,"type":"integer","minimum":60,"maximum":3600}}},"evidence_requirements":{"type":"object","properties":{"photo":{"type":"boolean"},"task_nonce":{"type":"boolean","enum":[true]}},"required":["photo","task_nonce"]},"audio":{"type":"object","properties":{"clip":{"type":"string","enum":["none","optional","required"]},"max_seconds":{"default":15,"type":"integer","minimum":5,"maximum":15}},"required":["clip"],"additionalProperties":false},"assurance":{"anyOf":[{"anyOf":[{"type":"object","properties":{"required_witnesses":{"type":"integer","minimum":1,"maximum":5},"quorum":{"type":"integer","minimum":1,"maximum":5}},"required":["required_witnesses","quorum"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","enum":["fast","standard","high"],"description":"fast = 1 witness, standard = 2 agreeing, high = 2 of 3"}},"required":["level"],"additionalProperties":false}]},{"type":"object","properties":{"level":{"type":"string","enum":["optimistic"]},"challenge_minutes":{"default":30,"type":"integer","minimum":10,"maximum":120}},"required":["level"],"additionalProperties":false}]},"bounty":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"network":{"type":"string","enum":["solana-devnet","solana"]},"max_amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"ramp_minutes":{"type":"integer","minimum":10,"maximum":1440}},"required":["asset","amount","network"]},"principal_ref":{"type":"string","pattern":"^prn_[0-9A-HJKMNP-TV-Z]{26}$"},"worker_requirements":{"type":"object","properties":{"min_tier":{"type":"string","enum":["standard","trusted"]}},"required":["min_tier"],"additionalProperties":false},"allow_reuse":{"type":"boolean"},"publish":{"type":"boolean"},"location_privacy":{"type":"string","enum":["exact","coarse"]},"reuse":{"type":"object","properties":{"max_age_seconds":{"type":"integer","minimum":60,"maximum":3600}},"required":["max_age_seconds"],"additionalProperties":false}},"required":["type","question","answer_schema","deadline","evidence_requirements","assurance","bounty","principal_ref"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"quote_id":{"type":"string","pattern":"^qte_[0-9A-HJKMNP-TV-Z]{26}$"},"bounty":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"required_witnesses":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["asset","amount","required_witnesses"]},"bounty_total":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"platform_fee":{"type":"object","properties":{"rate_bps":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amount":{"anyOf":[{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},{"type":"string","enum":["0"]}]}},"required":["rate_bps","amount"]},"total":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"balance":{"anyOf":[{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},{"type":"string","enum":["0"]}]},"balance_after":{"type":"string"},"policy":{"type":"object","properties":{"checked":{"type":"array","items":{"type":"string"}},"ok":{"type":"boolean","enum":[true]}},"required":["checked","ok"]},"reuse":{"nullable":true,"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"}},"required":["verification_id"]},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["quote_id","bounty","bounty_total","platform_fee","total","balance","balance_after","policy","reuse","expires_at"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/verifications/{id}":{"get":{"summary":"Get verification state and result","x-priority":"P0","security":[{"requesterApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"type":{"type":"string","enum":["PLACE_STATUS_VERIFICATION","QUEUE_LENGTH","NOTICE_POSTED","CROWD_LEVEL","SEAT_AVAILABILITY","PARKING_AVAILABILITY","STOCK_CHECK","PRICE_CHECK","SIGN_TRANSCRIPTION","SITE_REPORT","DOCUMENT_TRANSCRIPTION","DOCUMENT_QA","PRODUCT_INSPECTION","PHONE_INQUIRY","MEASUREMENT","CUSTOM_CHOICE","CUSTOM_TASK","SENSORY_REPORT"]},"status":{"type":"string","enum":["CREATED","FUNDED","OPEN","CLAIMED","SUBMITTED","VERIFYING","VERIFIED","SETTLED","REJECTED","EXPIRED","CANCELLED","REFUNDED"]},"question":{"type":"string"},"acceptance_criteria":{"nullable":true,"type":"string"},"attestation":{"nullable":true,"type":"object","properties":{"subject":{"type":"string","enum":["agent_action"]},"description":{"type":"string","minLength":1,"maxLength":200}},"required":["subject","description"],"additionalProperties":false},"answer_schema":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}}},"required":["type","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"max_chars":{"type":"integer","minimum":1,"maximum":4000}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["form"]},"fields":{"minItems":1,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"max_chars":{"type":"integer","minimum":1,"maximum":4000},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["scale"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"min":{"default":1,"type":"number","enum":[1]},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"labels":{"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":20},{"type":"string","minLength":1,"maxLength":20}]},"minItems":2,"maxItems":2},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","max","labels"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["tags"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"max":{"type":"integer","minimum":1,"maximum":12},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values","max"],"additionalProperties":false}]}}},"required":["type","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["sensory"]},"senses":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"string","enum":["sight","hearing","smell","taste","touch"]},"description":"One is enough. sight, hearing, smell, taste, touch"}},"required":["type","senses"],"additionalProperties":false}]},"translations":{"nullable":true,"type":"object","properties":{"ja":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":1000},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"labels":{"type":"object","additionalProperties":{"type":"string","minLength":1,"maxLength":80}}},"required":["question"],"additionalProperties":false},"en":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":1000},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"labels":{"type":"object","additionalProperties":{"type":"string","minLength":1,"maxLength":80}}},"required":["question"],"additionalProperties":false}},"additionalProperties":false},"location":{"nullable":true,"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180},"radius_m":{"type":"integer","minimum":25,"maximum":500}},"required":["lat","lng","radius_m"]},"location_privacy":{"type":"string","enum":["exact","coarse"]},"location_salt":{"nullable":true,"type":"string"},"evidence_requirements":{"type":"object","properties":{"photo":{"type":"boolean"},"task_nonce":{"type":"boolean","enum":[true]}},"required":["photo","task_nonce"]},"audio":{"nullable":true,"type":"object","properties":{"clip":{"type":"string","enum":["optional","required"]},"max_seconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["clip","max_seconds"]},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"recheck_of":{"nullable":true,"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"recheck":{"nullable":true,"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"status":{"type":"string","enum":["CREATED","FUNDED","OPEN","CLAIMED","SUBMITTED","VERIFYING","VERIFIED","SETTLED","REJECTED","EXPIRED","CANCELLED","REFUNDED"]},"answer":{"nullable":true,"type":"string","minLength":1,"maxLength":4000},"matches_original":{"nullable":true,"type":"boolean"}},"required":["verification_id","status","answer","matches_original"]},"store_report":{"nullable":true,"type":"object","properties":{"status":{"type":"string","enum":["CLOSED_TODAY","OPEN_AS_USUAL"]},"reported_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"valid_until":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["status","reported_at","valid_until"]},"worker_requirements":{"nullable":true,"type":"object","properties":{"min_tier":{"type":"string","enum":["standard","trusted"]}},"required":["min_tier"]},"assurance":{"type":"object","properties":{"required_witnesses":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quorum":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"level":{"nullable":true,"type":"string","enum":["fast","standard","high","optimistic"]},"challenge_minutes":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["required_witnesses","quorum","level","challenge_minutes"]},"bounty":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"network":{"type":"string","enum":["solana-devnet","solana"]},"max_amount":{"nullable":true,"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"ramp_minutes":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"current_amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"}},"required":["asset","amount","network","max_amount","ramp_minutes","current_amount"]},"witness_progress":{"type":"object","properties":{"valid":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"active_claims":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"open_slots":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"required":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"checking":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"returned":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["valid","active_claims","open_slots","required","checking","returned"]},"summary":{"type":"object","properties":{"ja":{"type":"string"},"en":{"type":"string"}},"required":["ja","en"]},"funding":{"type":"object","properties":{"status":{"type":"string","enum":["NONE","PENDING","SUBMITTED","CONFIRMED","FAILED","ABANDONED"]},"signature":{"nullable":true,"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{64,88}$"},"explorer_url":{"nullable":true,"type":"string","format":"uri"}},"required":["status","signature","explorer_url"]},"result":{"nullable":true,"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"status":{"type":"string","enum":["VERIFIED","REJECTED","EXPIRED"]},"reason":{"nullable":true,"type":"string","enum":["NO_CONSENSUS","INSUFFICIENT_WITNESSES","CHALLENGED"]},"answer":{"nullable":true,"type":"string","minLength":1,"maxLength":4000},"answers":{"type":"array","items":{"type":"string","minLength":1,"maxLength":4000}},"reviews":{"type":"array","items":{"type":"object","properties":{"verdict":{"type":"string","enum":["pass","uncertain","unavailable"]},"reason":{"type":"string"},"observed":{"type":"string"},"model":{"nullable":true,"type":"string"}},"required":["verdict","reason","observed","model"]}},"proof":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"badge_url":{"type":"string","format":"uri"},"markdown":{"type":"string"}},"required":["url","badge_url","markdown"]},"provisional":{"type":"boolean","enum":[true]},"challenge":{"type":"object","properties":{"minutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"until":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"state":{"type":"string","enum":["open","closed","challenged","upheld","overturned"]}},"required":["minutes","until","state"]},"witnesses":{"type":"object","properties":{"valid":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"required":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quorum":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["valid","required","quorum"]},"aggregate":{"type":"object","additionalProperties":{"anyOf":[{"type":"object","properties":{"median":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"},"n":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["median","min","max","n"]},{"type":"object","properties":{"shares":{"type":"object","additionalProperties":{"type":"number","minimum":0,"maximum":1}},"n":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["shares","n"]},{"type":"object","properties":{"counts":{"type":"object","additionalProperties":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"n":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["counts","n"]}]}},"answer_counts":{"type":"object","additionalProperties":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"consensus_ratio":{"nullable":true,"type":"number","minimum":0,"maximum":1},"checks":{"type":"object","properties":{"geofence":{"type":"string","enum":["pass","fail","warning","not_run"]},"freshness":{"type":"string","enum":["pass","fail","warning","not_run"]},"task_nonce":{"type":"string","enum":["pass","fail","warning","not_run"]},"replay":{"type":"string","enum":["pass","fail","warning","not_run"]},"media_schema":{"type":"string","enum":["pass","fail","warning","not_run"]},"duplicate":{"type":"string","enum":["pass","fail","warning","not_run"]},"vision_consistency":{"type":"string","enum":["pass","fail","warning","not_run"]}},"required":["geofence","freshness","task_nonce","replay","media_schema","duplicate","vision_consistency"]},"rejected_submissions":{"type":"object","additionalProperties":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"required":["MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","MEDIA_DECODE_FAILED","EVIDENCE_REPLAYED","EVIDENCE_STALE","LOCATION_ACCURACY_TOO_LOW","EVIDENCE_OUTSIDE_GEOFENCE","EVIDENCE_NEAR_DUPLICATE","EVIDENCE_MISMATCH"]},"evidence_root":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"result_hash":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"attestation":{"nullable":true,"type":"object","properties":{"network":{"type":"string","enum":["solana-devnet","solana"]},"signature":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{64,88}$"},"task_account":{"type":"string"},"explorer_url":{"type":"string","format":"uri"}},"required":["network","signature","task_account","explorer_url"]},"settlement":{"type":"object","properties":{"status":{"type":"string","enum":["PENDING","SUBMITTED","SETTLED","REFUNDED","FAILED_RETRYING"]},"signature":{"nullable":true,"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{64,88}$"},"paid":{"type":"array","items":{"type":"object","properties":{"witness_ref":{"type":"string"},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"}},"required":["witness_ref","amount"]}},"test_asset":{"type":"boolean"}},"required":["status","signature","paid"]},"verified_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["verification_id","status","reason","answer","witnesses","answer_counts","consensus_ratio","checks","rejected_submissions","evidence_root","result_hash","attestation","settlement","verified_at"]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["verification_id","type","status","question","acceptance_criteria","attestation","answer_schema","translations","location","location_privacy","location_salt","evidence_requirements","audio","deadline","recheck_of","recheck","store_report","worker_requirements","assurance","bounty","witness_progress","summary","funding","result","created_at","updated_at"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/verifications/{id}/cancel":{"post":{"summary":"Cancel (only with no active claim and no valid submission)","x-priority":"P0","security":[{"requesterApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"type":{"type":"string","enum":["PLACE_STATUS_VERIFICATION","QUEUE_LENGTH","NOTICE_POSTED","CROWD_LEVEL","SEAT_AVAILABILITY","PARKING_AVAILABILITY","STOCK_CHECK","PRICE_CHECK","SIGN_TRANSCRIPTION","SITE_REPORT","DOCUMENT_TRANSCRIPTION","DOCUMENT_QA","PRODUCT_INSPECTION","PHONE_INQUIRY","MEASUREMENT","CUSTOM_CHOICE","CUSTOM_TASK","SENSORY_REPORT"]},"status":{"type":"string","enum":["CREATED","FUNDED","OPEN","CLAIMED","SUBMITTED","VERIFYING","VERIFIED","SETTLED","REJECTED","EXPIRED","CANCELLED","REFUNDED"]},"question":{"type":"string"},"acceptance_criteria":{"nullable":true,"type":"string"},"attestation":{"nullable":true,"type":"object","properties":{"subject":{"type":"string","enum":["agent_action"]},"description":{"type":"string","minLength":1,"maxLength":200}},"required":["subject","description"],"additionalProperties":false},"answer_schema":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}}},"required":["type","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"max_chars":{"type":"integer","minimum":1,"maximum":4000}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["form"]},"fields":{"minItems":1,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"max_chars":{"type":"integer","minimum":1,"maximum":4000},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["scale"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"min":{"default":1,"type":"number","enum":[1]},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"labels":{"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":20},{"type":"string","minLength":1,"maxLength":20}]},"minItems":2,"maxItems":2},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","max","labels"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["tags"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"max":{"type":"integer","minimum":1,"maximum":12},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values","max"],"additionalProperties":false}]}}},"required":["type","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["sensory"]},"senses":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"string","enum":["sight","hearing","smell","taste","touch"]},"description":"One is enough. sight, hearing, smell, taste, touch"}},"required":["type","senses"],"additionalProperties":false}]},"translations":{"nullable":true,"type":"object","properties":{"ja":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":1000},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"labels":{"type":"object","additionalProperties":{"type":"string","minLength":1,"maxLength":80}}},"required":["question"],"additionalProperties":false},"en":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":1000},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"labels":{"type":"object","additionalProperties":{"type":"string","minLength":1,"maxLength":80}}},"required":["question"],"additionalProperties":false}},"additionalProperties":false},"location":{"nullable":true,"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180},"radius_m":{"type":"integer","minimum":25,"maximum":500}},"required":["lat","lng","radius_m"]},"location_privacy":{"type":"string","enum":["exact","coarse"]},"location_salt":{"nullable":true,"type":"string"},"evidence_requirements":{"type":"object","properties":{"photo":{"type":"boolean"},"task_nonce":{"type":"boolean","enum":[true]}},"required":["photo","task_nonce"]},"audio":{"nullable":true,"type":"object","properties":{"clip":{"type":"string","enum":["optional","required"]},"max_seconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["clip","max_seconds"]},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"recheck_of":{"nullable":true,"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"recheck":{"nullable":true,"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"status":{"type":"string","enum":["CREATED","FUNDED","OPEN","CLAIMED","SUBMITTED","VERIFYING","VERIFIED","SETTLED","REJECTED","EXPIRED","CANCELLED","REFUNDED"]},"answer":{"nullable":true,"type":"string","minLength":1,"maxLength":4000},"matches_original":{"nullable":true,"type":"boolean"}},"required":["verification_id","status","answer","matches_original"]},"store_report":{"nullable":true,"type":"object","properties":{"status":{"type":"string","enum":["CLOSED_TODAY","OPEN_AS_USUAL"]},"reported_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"valid_until":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["status","reported_at","valid_until"]},"worker_requirements":{"nullable":true,"type":"object","properties":{"min_tier":{"type":"string","enum":["standard","trusted"]}},"required":["min_tier"]},"assurance":{"type":"object","properties":{"required_witnesses":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quorum":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"level":{"nullable":true,"type":"string","enum":["fast","standard","high","optimistic"]},"challenge_minutes":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["required_witnesses","quorum","level","challenge_minutes"]},"bounty":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"network":{"type":"string","enum":["solana-devnet","solana"]},"max_amount":{"nullable":true,"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"ramp_minutes":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"current_amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"}},"required":["asset","amount","network","max_amount","ramp_minutes","current_amount"]},"witness_progress":{"type":"object","properties":{"valid":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"active_claims":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"open_slots":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"required":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"checking":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"returned":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["valid","active_claims","open_slots","required","checking","returned"]},"summary":{"type":"object","properties":{"ja":{"type":"string"},"en":{"type":"string"}},"required":["ja","en"]},"funding":{"type":"object","properties":{"status":{"type":"string","enum":["NONE","PENDING","SUBMITTED","CONFIRMED","FAILED","ABANDONED"]},"signature":{"nullable":true,"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{64,88}$"},"explorer_url":{"nullable":true,"type":"string","format":"uri"}},"required":["status","signature","explorer_url"]},"result":{"nullable":true,"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"status":{"type":"string","enum":["VERIFIED","REJECTED","EXPIRED"]},"reason":{"nullable":true,"type":"string","enum":["NO_CONSENSUS","INSUFFICIENT_WITNESSES","CHALLENGED"]},"answer":{"nullable":true,"type":"string","minLength":1,"maxLength":4000},"answers":{"type":"array","items":{"type":"string","minLength":1,"maxLength":4000}},"reviews":{"type":"array","items":{"type":"object","properties":{"verdict":{"type":"string","enum":["pass","uncertain","unavailable"]},"reason":{"type":"string"},"observed":{"type":"string"},"model":{"nullable":true,"type":"string"}},"required":["verdict","reason","observed","model"]}},"proof":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"badge_url":{"type":"string","format":"uri"},"markdown":{"type":"string"}},"required":["url","badge_url","markdown"]},"provisional":{"type":"boolean","enum":[true]},"challenge":{"type":"object","properties":{"minutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"until":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"state":{"type":"string","enum":["open","closed","challenged","upheld","overturned"]}},"required":["minutes","until","state"]},"witnesses":{"type":"object","properties":{"valid":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"required":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quorum":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["valid","required","quorum"]},"aggregate":{"type":"object","additionalProperties":{"anyOf":[{"type":"object","properties":{"median":{"type":"number"},"min":{"type":"number"},"max":{"type":"number"},"n":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["median","min","max","n"]},{"type":"object","properties":{"shares":{"type":"object","additionalProperties":{"type":"number","minimum":0,"maximum":1}},"n":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["shares","n"]},{"type":"object","properties":{"counts":{"type":"object","additionalProperties":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"n":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["counts","n"]}]}},"answer_counts":{"type":"object","additionalProperties":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"consensus_ratio":{"nullable":true,"type":"number","minimum":0,"maximum":1},"checks":{"type":"object","properties":{"geofence":{"type":"string","enum":["pass","fail","warning","not_run"]},"freshness":{"type":"string","enum":["pass","fail","warning","not_run"]},"task_nonce":{"type":"string","enum":["pass","fail","warning","not_run"]},"replay":{"type":"string","enum":["pass","fail","warning","not_run"]},"media_schema":{"type":"string","enum":["pass","fail","warning","not_run"]},"duplicate":{"type":"string","enum":["pass","fail","warning","not_run"]},"vision_consistency":{"type":"string","enum":["pass","fail","warning","not_run"]}},"required":["geofence","freshness","task_nonce","replay","media_schema","duplicate","vision_consistency"]},"rejected_submissions":{"type":"object","additionalProperties":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"required":["MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","MEDIA_DECODE_FAILED","EVIDENCE_REPLAYED","EVIDENCE_STALE","LOCATION_ACCURACY_TOO_LOW","EVIDENCE_OUTSIDE_GEOFENCE","EVIDENCE_NEAR_DUPLICATE","EVIDENCE_MISMATCH"]},"evidence_root":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"result_hash":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"attestation":{"nullable":true,"type":"object","properties":{"network":{"type":"string","enum":["solana-devnet","solana"]},"signature":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{64,88}$"},"task_account":{"type":"string"},"explorer_url":{"type":"string","format":"uri"}},"required":["network","signature","task_account","explorer_url"]},"settlement":{"type":"object","properties":{"status":{"type":"string","enum":["PENDING","SUBMITTED","SETTLED","REFUNDED","FAILED_RETRYING"]},"signature":{"nullable":true,"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{64,88}$"},"paid":{"type":"array","items":{"type":"object","properties":{"witness_ref":{"type":"string"},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"}},"required":["witness_ref","amount"]}},"test_asset":{"type":"boolean"}},"required":["status","signature","paid"]},"verified_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["verification_id","status","reason","answer","witnesses","answer_counts","consensus_ratio","checks","rejected_submissions","evidence_root","result_hash","attestation","settlement","verified_at"]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["verification_id","type","status","question","acceptance_criteria","attestation","answer_schema","translations","location","location_privacy","location_salt","evidence_requirements","audio","deadline","recheck_of","recheck","store_report","worker_requirements","assurance","bounty","witness_progress","summary","funding","result","created_at","updated_at"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/verifications/{id}/evidence":{"get":{"summary":"Signed URLs of EXIF-stripped derived images","x-priority":"P1","security":[{"requesterApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"evidence":{"type":"array","items":{"type":"object","properties":{"witness_ref":{"type":"string"},"url":{"type":"string","format":"uri"},"expires_in_seconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"media_type":{"type":"string"},"duration_ms":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["witness_ref","url","expires_in_seconds","media_type"]}}},"required":["evidence"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/verifications/{id}/dispute":{"post":{"summary":"Dispute a result once within 24 h; creates a recheck task you pay for","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","maxLength":500},"assurance":{"anyOf":[{"type":"object","properties":{"required_witnesses":{"type":"integer","minimum":1,"maximum":5},"quorum":{"type":"integer","minimum":1,"maximum":5}},"required":["required_witnesses","quorum"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","enum":["fast","standard","high"],"description":"fast = 1 witness, standard = 2 agreeing, high = 2 of 3"}},"required":["level"],"additionalProperties":false}]},"deadline_minutes":{"type":"integer","minimum":10,"maximum":1440}},"additionalProperties":false}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"recheck_verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"}},"required":["verification_id","recheck_verification_id"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/verifications/{id}/challenge":{"post":{"summary":"Challenge an optimistic answer within its window (13 §3). Any API key; the bond (twice the bounty) pays a 2-person recheck and comes back in full if the recheck disagrees","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":255}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","maxLength":500}},"additionalProperties":false}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"recheck_verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"bond":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"}},"required":["asset","amount"]},"state":{"type":"string","enum":["challenged"]}},"required":["verification_id","recheck_verification_id","bond","state"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/schedules":{"post":{"summary":"Create a recurring check (a normal verification is created at each time, Japan time)","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"request":{"type":"object","properties":{"type":{"type":"string","enum":["PLACE_STATUS_VERIFICATION","QUEUE_LENGTH","NOTICE_POSTED","CROWD_LEVEL","SEAT_AVAILABILITY","PARKING_AVAILABILITY","STOCK_CHECK","PRICE_CHECK","SIGN_TRANSCRIPTION","SITE_REPORT","DOCUMENT_TRANSCRIPTION","DOCUMENT_QA","PRODUCT_INSPECTION","PHONE_INQUIRY","MEASUREMENT","CUSTOM_CHOICE","CUSTOM_TASK","SENSORY_REPORT"]},"question":{"type":"string","minLength":1,"maxLength":1000},"answer_schema":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}}},"required":["type","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"max_chars":{"type":"integer","minimum":1,"maximum":4000}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["form"]},"fields":{"minItems":1,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"max_chars":{"type":"integer","minimum":1,"maximum":4000},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["scale"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"min":{"default":1,"type":"number","enum":[1]},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"labels":{"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":20},{"type":"string","minLength":1,"maxLength":20}]},"minItems":2,"maxItems":2},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","max","labels"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["tags"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"max":{"type":"integer","minimum":1,"maximum":12},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values","max"],"additionalProperties":false}]}}},"required":["type","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["sensory"]},"senses":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"string","enum":["sight","hearing","smell","taste","touch"]},"description":"One is enough. sight, hearing, smell, taste, touch"}},"required":["type","senses"],"additionalProperties":false}]},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"attestation":{"type":"object","properties":{"subject":{"type":"string","enum":["agent_action"]},"description":{"type":"string","minLength":1,"maxLength":200}},"required":["subject","description"],"additionalProperties":false},"translations":{"type":"object","properties":{"ja":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":1000},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"labels":{"type":"object","additionalProperties":{"type":"string","minLength":1,"maxLength":80}}},"required":["question"],"additionalProperties":false},"en":{"type":"object","properties":{"question":{"type":"string","minLength":1,"maxLength":1000},"acceptance_criteria":{"type":"string","minLength":1,"maxLength":500},"labels":{"type":"object","additionalProperties":{"type":"string","minLength":1,"maxLength":80}}},"required":["question"],"additionalProperties":false}},"additionalProperties":false},"location":{"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180},"radius_m":{"type":"integer","minimum":25,"maximum":500}},"required":["lat","lng","radius_m"]},"freshness":{"default":{"max_age_seconds":300},"type":"object","properties":{"max_age_seconds":{"default":300,"type":"integer","minimum":60,"maximum":3600}}},"evidence_requirements":{"type":"object","properties":{"photo":{"type":"boolean"},"task_nonce":{"type":"boolean","enum":[true]}},"required":["photo","task_nonce"]},"audio":{"type":"object","properties":{"clip":{"type":"string","enum":["none","optional","required"]},"max_seconds":{"default":15,"type":"integer","minimum":5,"maximum":15}},"required":["clip"],"additionalProperties":false},"assurance":{"anyOf":[{"anyOf":[{"type":"object","properties":{"required_witnesses":{"type":"integer","minimum":1,"maximum":5},"quorum":{"type":"integer","minimum":1,"maximum":5}},"required":["required_witnesses","quorum"],"additionalProperties":false},{"type":"object","properties":{"level":{"type":"string","enum":["fast","standard","high"],"description":"fast = 1 witness, standard = 2 agreeing, high = 2 of 3"}},"required":["level"],"additionalProperties":false}]},{"type":"object","properties":{"level":{"type":"string","enum":["optimistic"]},"challenge_minutes":{"default":30,"type":"integer","minimum":10,"maximum":120}},"required":["level"],"additionalProperties":false}]},"bounty":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"network":{"type":"string","enum":["solana-devnet","solana"]},"max_amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"ramp_minutes":{"type":"integer","minimum":10,"maximum":1440}},"required":["asset","amount","network"]},"principal_ref":{"type":"string","pattern":"^prn_[0-9A-HJKMNP-TV-Z]{26}$"},"worker_requirements":{"type":"object","properties":{"min_tier":{"type":"string","enum":["standard","trusted"]}},"required":["min_tier"],"additionalProperties":false},"allow_reuse":{"type":"boolean"},"publish":{"type":"boolean"},"location_privacy":{"type":"string","enum":["exact","coarse"]},"reuse":{"type":"object","properties":{"max_age_seconds":{"type":"integer","minimum":60,"maximum":3600}},"required":["max_age_seconds"],"additionalProperties":false}},"required":["type","question","answer_schema","evidence_requirements","assurance","bounty","principal_ref"],"additionalProperties":false},"deadline_minutes":{"type":"integer","minimum":10,"maximum":1440},"times_jst":{"minItems":1,"maxItems":24,"type":"array","items":{"type":"string","pattern":"^([01]\\d|2[0-3]):([0-5]\\d)$"}},"days_jst":{"minItems":1,"maxItems":7,"type":"array","items":{"type":"integer","minimum":0,"maximum":6},"description":"0 = Sunday ... 6 = Saturday"},"every_minutes":{"type":"integer","minimum":15,"maximum":1440},"max_runs":{"type":"integer","minimum":1,"maximum":200},"stop_when":{"anyOf":[{"type":"object","properties":{"answer":{"type":"string","minLength":1,"maxLength":4000}},"required":["answer"],"additionalProperties":false},{"type":"object","properties":{"answer_in":{"minItems":1,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":4000}}},"required":["answer_in"],"additionalProperties":false},{"type":"object","properties":{"number":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}},"additionalProperties":false}},"required":["number"],"additionalProperties":false}]},"ends_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["request","deadline_minutes"],"additionalProperties":false}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"schedule_id":{"type":"string"},"active":{"type":"boolean"},"times_jst":{"type":"array","items":{"type":"string"}},"days_jst":{"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"deadline_minutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"ends_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"next_run_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"last_run_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"last_verification_id":{"nullable":true,"type":"string"},"last_error":{"nullable":true,"type":"string"},"every_minutes":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max_runs":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"runs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"stop_when":{"nullable":true,"anyOf":[{"type":"object","properties":{"answer":{"type":"string","minLength":1,"maxLength":4000}},"required":["answer"],"additionalProperties":false},{"type":"object","properties":{"answer_in":{"minItems":1,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":4000}}},"required":["answer_in"],"additionalProperties":false},{"type":"object","properties":{"number":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}},"additionalProperties":false}},"required":["number"],"additionalProperties":false}]},"stopped_reason":{"nullable":true,"type":"string","enum":["condition_met","max_runs","ended","failures","suspended","stopped"]},"matched_verification_id":{"nullable":true,"type":"string"}},"required":["schedule_id","active","times_jst","days_jst","deadline_minutes","ends_at","next_run_at","last_run_at","last_verification_id","last_error","every_minutes","max_runs","runs","stop_when","stopped_reason","matched_verification_id"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}},"get":{"summary":"List recurring checks of this API key","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"schedules":{"type":"array","items":{"type":"object","properties":{"schedule_id":{"type":"string"},"active":{"type":"boolean"},"times_jst":{"type":"array","items":{"type":"string"}},"days_jst":{"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"deadline_minutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"ends_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"next_run_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"last_run_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"last_verification_id":{"nullable":true,"type":"string"},"last_error":{"nullable":true,"type":"string"},"every_minutes":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max_runs":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"runs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"stop_when":{"nullable":true,"anyOf":[{"type":"object","properties":{"answer":{"type":"string","minLength":1,"maxLength":4000}},"required":["answer"],"additionalProperties":false},{"type":"object","properties":{"answer_in":{"minItems":1,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":4000}}},"required":["answer_in"],"additionalProperties":false},{"type":"object","properties":{"number":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}},"additionalProperties":false}},"required":["number"],"additionalProperties":false}]},"stopped_reason":{"nullable":true,"type":"string","enum":["condition_met","max_runs","ended","failures","suspended","stopped"]},"matched_verification_id":{"nullable":true,"type":"string"}},"required":["schedule_id","active","times_jst","days_jst","deadline_minutes","ends_at","next_run_at","last_run_at","last_verification_id","last_error","every_minutes","max_runs","runs","stop_when","stopped_reason","matched_verification_id"]}}},"required":["schedules"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/schedules/{id}":{"delete":{"summary":"Stop a recurring check","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"schedule_id":{"type":"string"},"active":{"type":"boolean"},"times_jst":{"type":"array","items":{"type":"string"}},"days_jst":{"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"deadline_minutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"ends_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"next_run_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"last_run_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"last_verification_id":{"nullable":true,"type":"string"},"last_error":{"nullable":true,"type":"string"},"every_minutes":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max_runs":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"runs":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"stop_when":{"nullable":true,"anyOf":[{"type":"object","properties":{"answer":{"type":"string","minLength":1,"maxLength":4000}},"required":["answer"],"additionalProperties":false},{"type":"object","properties":{"answer_in":{"minItems":1,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":4000}}},"required":["answer_in"],"additionalProperties":false},{"type":"object","properties":{"number":{"type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"}},"additionalProperties":false}},"required":["number"],"additionalProperties":false}]},"stopped_reason":{"nullable":true,"type":"string","enum":["condition_met","max_runs","ended","failures","suspended","stopped"]},"matched_verification_id":{"nullable":true,"type":"string"}},"required":["schedule_id","active","times_jst","days_jst","deadline_minutes","ends_at","next_run_at","last_run_at","last_verification_id","last_error","every_minutes","max_runs","runs","stop_when","stopped_reason","matched_verification_id"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/tasks":{"post":{"summary":"Create a general task (docs/architecture 13): price per seat + 15% fee, reserved at once. dry_run: true returns the cost only","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":255}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"title":{"type":"string","minLength":5,"maxLength":200},"description":{"type":"string","minLength":20,"maxLength":5000},"completion_criteria":{"type":"string","minLength":5,"maxLength":2000},"evidence_types":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","enum":["text","link","photo","file"]}},"area":{"type":"string","minLength":1,"maxLength":100},"remote_ok":{"default":false,"type":"boolean"},"price":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"network":{"type":"string","enum":["solana-devnet","solana"]}},"required":["asset","amount","network"],"additionalProperties":false},"seats":{"default":1,"type":"integer","minimum":1,"maximum":50},"selection_mode":{"default":"application","type":"string","enum":["first_come","application"]},"release_mode":{"default":"manual","type":"string","enum":["manual","auto"]},"completion_window_hours":{"default":24,"type":"integer","minimum":1,"maximum":168},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"application_questions":{"default":[],"maxItems":5,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":200},"required":{"default":true,"type":"boolean"}},"required":["id","label"],"additionalProperties":false}},"audience":{"default":"everyone","type":"string","enum":["everyone","preferred"]},"dry_run":{"type":"boolean"}},"required":["title","description","completion_criteria","evidence_types","price","deadline"],"additionalProperties":false}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"task_id":{"type":"string","pattern":"^tsk_[0-9A-HJKMNP-TV-Z]{26}$"},"kind":{"type":"string","enum":["task"]},"status":{"type":"string","enum":["OPEN","CLOSED","DONE","CANCELLED"]},"title":{"type":"string"},"description":{"type":"string"},"completion_criteria":{"type":"string"},"evidence_types":{"type":"array","items":{"type":"string","enum":["text","link","photo","file"]}},"area":{"nullable":true,"type":"string"},"remote_ok":{"type":"boolean"},"selection_mode":{"type":"string","enum":["first_come","application"]},"release_mode":{"type":"string","enum":["manual","auto"]},"completion_window_hours":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"application_questions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":200},"required":{"default":true,"type":"boolean"}},"required":["id","label"],"additionalProperties":false}},"audience":{"type":"string","enum":["everyone","preferred"]},"cost":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"price_per_seat":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"seats":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"platform_fee":{"type":"object","properties":{"rate_bps":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"per_seat":{"type":"string"},"amount":{"type":"string"}},"required":["rate_bps","per_seat","amount"]},"total":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"}},"required":["asset","price_per_seat","seats","platform_fee","total"]},"applications_pending":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"seats":{"type":"array","items":{"type":"object","properties":{"seat_id":{"type":"string","pattern":"^seat_[0-9A-HJKMNP-TV-Z]{26}$"},"seat_no":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"state":{"type":"string","enum":["ASSIGNED","IN_REVIEW","RELEASED","REJECTED","EXPIRED","CANCELLED"]},"worker_ref":{"type":"string"},"funded":{"type":"boolean"},"assigned_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"due_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"submitted_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"review_due_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"revisions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"released_by":{"nullable":true,"type":"string","enum":["requester","timeout","auto"]},"decision_reason":{"nullable":true,"type":"string"},"delivery":{"nullable":true,"type":"object","properties":{"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"body":{"type":"string"},"links":{"type":"array","items":{"type":"string"}}},"required":["round","body","links"]},"review":{"nullable":true,"type":"object","properties":{"rating":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comment":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["rating","comment","created_at"]}},"required":["seat_id","seat_no","round","state","worker_ref","funded","assigned_at","due_at","submitted_at","review_due_at","revisions","released_by","decision_reason","delivery","review"]}},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["task_id","kind","status","title","description","completion_criteria","evidence_types","area","remote_ok","selection_mode","release_mode","completion_window_hours","deadline","application_questions","audience","cost","applications_pending","seats","created_at"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}},"get":{"summary":"List this API key's tasks, newest first","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"tasks":{"type":"array","items":{"type":"object","properties":{"task_id":{"type":"string","pattern":"^tsk_[0-9A-HJKMNP-TV-Z]{26}$"},"kind":{"type":"string","enum":["task"]},"status":{"type":"string","enum":["OPEN","CLOSED","DONE","CANCELLED"]},"title":{"type":"string"},"description":{"type":"string"},"completion_criteria":{"type":"string"},"evidence_types":{"type":"array","items":{"type":"string","enum":["text","link","photo","file"]}},"area":{"nullable":true,"type":"string"},"remote_ok":{"type":"boolean"},"selection_mode":{"type":"string","enum":["first_come","application"]},"release_mode":{"type":"string","enum":["manual","auto"]},"completion_window_hours":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"application_questions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":200},"required":{"default":true,"type":"boolean"}},"required":["id","label"],"additionalProperties":false}},"audience":{"type":"string","enum":["everyone","preferred"]},"cost":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"price_per_seat":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"seats":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"platform_fee":{"type":"object","properties":{"rate_bps":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"per_seat":{"type":"string"},"amount":{"type":"string"}},"required":["rate_bps","per_seat","amount"]},"total":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"}},"required":["asset","price_per_seat","seats","platform_fee","total"]},"applications_pending":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"seats":{"type":"array","items":{"type":"object","properties":{"seat_id":{"type":"string","pattern":"^seat_[0-9A-HJKMNP-TV-Z]{26}$"},"seat_no":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"state":{"type":"string","enum":["ASSIGNED","IN_REVIEW","RELEASED","REJECTED","EXPIRED","CANCELLED"]},"worker_ref":{"type":"string"},"funded":{"type":"boolean"},"assigned_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"due_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"submitted_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"review_due_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"revisions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"released_by":{"nullable":true,"type":"string","enum":["requester","timeout","auto"]},"decision_reason":{"nullable":true,"type":"string"},"delivery":{"nullable":true,"type":"object","properties":{"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"body":{"type":"string"},"links":{"type":"array","items":{"type":"string"}}},"required":["round","body","links"]},"review":{"nullable":true,"type":"object","properties":{"rating":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comment":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["rating","comment","created_at"]}},"required":["seat_id","seat_no","round","state","worker_ref","funded","assigned_at","due_at","submitted_at","review_due_at","revisions","released_by","decision_reason","delivery","review"]}},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["task_id","kind","status","title","description","completion_criteria","evidence_types","area","remote_ok","selection_mode","release_mode","completion_window_hours","deadline","application_questions","audience","cost","applications_pending","seats","created_at"]}}},"required":["tasks"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/tasks/{id}":{"get":{"summary":"A task with its seats and the latest delivery of each","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"task_id":{"type":"string","pattern":"^tsk_[0-9A-HJKMNP-TV-Z]{26}$"},"kind":{"type":"string","enum":["task"]},"status":{"type":"string","enum":["OPEN","CLOSED","DONE","CANCELLED"]},"title":{"type":"string"},"description":{"type":"string"},"completion_criteria":{"type":"string"},"evidence_types":{"type":"array","items":{"type":"string","enum":["text","link","photo","file"]}},"area":{"nullable":true,"type":"string"},"remote_ok":{"type":"boolean"},"selection_mode":{"type":"string","enum":["first_come","application"]},"release_mode":{"type":"string","enum":["manual","auto"]},"completion_window_hours":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"application_questions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":200},"required":{"default":true,"type":"boolean"}},"required":["id","label"],"additionalProperties":false}},"audience":{"type":"string","enum":["everyone","preferred"]},"cost":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"price_per_seat":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"seats":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"platform_fee":{"type":"object","properties":{"rate_bps":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"per_seat":{"type":"string"},"amount":{"type":"string"}},"required":["rate_bps","per_seat","amount"]},"total":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"}},"required":["asset","price_per_seat","seats","platform_fee","total"]},"applications_pending":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"seats":{"type":"array","items":{"type":"object","properties":{"seat_id":{"type":"string","pattern":"^seat_[0-9A-HJKMNP-TV-Z]{26}$"},"seat_no":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"state":{"type":"string","enum":["ASSIGNED","IN_REVIEW","RELEASED","REJECTED","EXPIRED","CANCELLED"]},"worker_ref":{"type":"string"},"funded":{"type":"boolean"},"assigned_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"due_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"submitted_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"review_due_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"revisions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"released_by":{"nullable":true,"type":"string","enum":["requester","timeout","auto"]},"decision_reason":{"nullable":true,"type":"string"},"delivery":{"nullable":true,"type":"object","properties":{"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"body":{"type":"string"},"links":{"type":"array","items":{"type":"string"}}},"required":["round","body","links"]},"review":{"nullable":true,"type":"object","properties":{"rating":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comment":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["rating","comment","created_at"]}},"required":["seat_id","seat_no","round","state","worker_ref","funded","assigned_at","due_at","submitted_at","review_due_at","revisions","released_by","decision_reason","delivery","review"]}},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["task_id","kind","status","title","description","completion_criteria","evidence_types","area","remote_ok","selection_mode","release_mode","completion_window_hours","deadline","application_questions","audience","cost","applications_pending","seats","created_at"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/tasks/{id}/cancel":{"post":{"summary":"Stop new applicants. Live seats carry on; seats never released come back to the balance with their fee","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"task_id":{"type":"string","pattern":"^tsk_[0-9A-HJKMNP-TV-Z]{26}$"},"kind":{"type":"string","enum":["task"]},"status":{"type":"string","enum":["OPEN","CLOSED","DONE","CANCELLED"]},"title":{"type":"string"},"description":{"type":"string"},"completion_criteria":{"type":"string"},"evidence_types":{"type":"array","items":{"type":"string","enum":["text","link","photo","file"]}},"area":{"nullable":true,"type":"string"},"remote_ok":{"type":"boolean"},"selection_mode":{"type":"string","enum":["first_come","application"]},"release_mode":{"type":"string","enum":["manual","auto"]},"completion_window_hours":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"application_questions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":200},"required":{"default":true,"type":"boolean"}},"required":["id","label"],"additionalProperties":false}},"audience":{"type":"string","enum":["everyone","preferred"]},"cost":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"price_per_seat":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"seats":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"platform_fee":{"type":"object","properties":{"rate_bps":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"per_seat":{"type":"string"},"amount":{"type":"string"}},"required":["rate_bps","per_seat","amount"]},"total":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"}},"required":["asset","price_per_seat","seats","platform_fee","total"]},"applications_pending":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"seats":{"type":"array","items":{"type":"object","properties":{"seat_id":{"type":"string","pattern":"^seat_[0-9A-HJKMNP-TV-Z]{26}$"},"seat_no":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"state":{"type":"string","enum":["ASSIGNED","IN_REVIEW","RELEASED","REJECTED","EXPIRED","CANCELLED"]},"worker_ref":{"type":"string"},"funded":{"type":"boolean"},"assigned_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"due_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"submitted_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"review_due_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"revisions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"released_by":{"nullable":true,"type":"string","enum":["requester","timeout","auto"]},"decision_reason":{"nullable":true,"type":"string"},"delivery":{"nullable":true,"type":"object","properties":{"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"body":{"type":"string"},"links":{"type":"array","items":{"type":"string"}}},"required":["round","body","links"]},"review":{"nullable":true,"type":"object","properties":{"rating":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comment":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["rating","comment","created_at"]}},"required":["seat_id","seat_no","round","state","worker_ref","funded","assigned_at","due_at","submitted_at","review_due_at","revisions","released_by","decision_reason","delivery","review"]}},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["task_id","kind","status","title","description","completion_criteria","evidence_types","area","remote_ok","selection_mode","release_mode","completion_window_hours","deadline","application_questions","audience","cost","applications_pending","seats","created_at"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/tasks/{id}/applications":{"get":{"summary":"Who applied, with their answers","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"applications":{"type":"array","items":{"type":"object","properties":{"application_id":{"type":"string","pattern":"^app_[0-9A-HJKMNP-TV-Z]{26}$"},"worker_ref":{"type":"string"},"preferred":{"type":"boolean"},"public_id":{"nullable":true,"type":"string"},"state":{"type":"string","enum":["pending","accepted","rejected","withdrawn"]},"answers":{"type":"object","additionalProperties":{"type":"string"}},"note":{"nullable":true,"type":"string"},"worker":{"type":"object","properties":{"completed_tasks":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"completed_verifications":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["completed_tasks","completed_verifications"]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["application_id","worker_ref","preferred","public_id","state","answers","note","worker","created_at"]}}},"required":["applications"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/tasks/{id}/applications/{app_id}/accept":{"post":{"summary":"Accept an applicant: a seat is assigned and escrowed on chain","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"task_id":{"type":"string","pattern":"^tsk_[0-9A-HJKMNP-TV-Z]{26}$"},"kind":{"type":"string","enum":["task"]},"status":{"type":"string","enum":["OPEN","CLOSED","DONE","CANCELLED"]},"title":{"type":"string"},"description":{"type":"string"},"completion_criteria":{"type":"string"},"evidence_types":{"type":"array","items":{"type":"string","enum":["text","link","photo","file"]}},"area":{"nullable":true,"type":"string"},"remote_ok":{"type":"boolean"},"selection_mode":{"type":"string","enum":["first_come","application"]},"release_mode":{"type":"string","enum":["manual","auto"]},"completion_window_hours":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"application_questions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":200},"required":{"default":true,"type":"boolean"}},"required":["id","label"],"additionalProperties":false}},"audience":{"type":"string","enum":["everyone","preferred"]},"cost":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"price_per_seat":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"seats":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"platform_fee":{"type":"object","properties":{"rate_bps":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"per_seat":{"type":"string"},"amount":{"type":"string"}},"required":["rate_bps","per_seat","amount"]},"total":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"}},"required":["asset","price_per_seat","seats","platform_fee","total"]},"applications_pending":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"seats":{"type":"array","items":{"type":"object","properties":{"seat_id":{"type":"string","pattern":"^seat_[0-9A-HJKMNP-TV-Z]{26}$"},"seat_no":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"state":{"type":"string","enum":["ASSIGNED","IN_REVIEW","RELEASED","REJECTED","EXPIRED","CANCELLED"]},"worker_ref":{"type":"string"},"funded":{"type":"boolean"},"assigned_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"due_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"submitted_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"review_due_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"revisions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"released_by":{"nullable":true,"type":"string","enum":["requester","timeout","auto"]},"decision_reason":{"nullable":true,"type":"string"},"delivery":{"nullable":true,"type":"object","properties":{"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"body":{"type":"string"},"links":{"type":"array","items":{"type":"string"}}},"required":["round","body","links"]},"review":{"nullable":true,"type":"object","properties":{"rating":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comment":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["rating","comment","created_at"]}},"required":["seat_id","seat_no","round","state","worker_ref","funded","assigned_at","due_at","submitted_at","review_due_at","revisions","released_by","decision_reason","delivery","review"]}},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["task_id","kind","status","title","description","completion_criteria","evidence_types","area","remote_ok","selection_mode","release_mode","completion_window_hours","deadline","application_questions","audience","cost","applications_pending","seats","created_at"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/tasks/{id}/applications/{app_id}/reject":{"post":{"summary":"Decline an applicant","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"app_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"task_id":{"type":"string","pattern":"^tsk_[0-9A-HJKMNP-TV-Z]{26}$"},"kind":{"type":"string","enum":["task"]},"status":{"type":"string","enum":["OPEN","CLOSED","DONE","CANCELLED"]},"title":{"type":"string"},"description":{"type":"string"},"completion_criteria":{"type":"string"},"evidence_types":{"type":"array","items":{"type":"string","enum":["text","link","photo","file"]}},"area":{"nullable":true,"type":"string"},"remote_ok":{"type":"boolean"},"selection_mode":{"type":"string","enum":["first_come","application"]},"release_mode":{"type":"string","enum":["manual","auto"]},"completion_window_hours":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"application_questions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":200},"required":{"default":true,"type":"boolean"}},"required":["id","label"],"additionalProperties":false}},"audience":{"type":"string","enum":["everyone","preferred"]},"cost":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"price_per_seat":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"seats":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"platform_fee":{"type":"object","properties":{"rate_bps":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"per_seat":{"type":"string"},"amount":{"type":"string"}},"required":["rate_bps","per_seat","amount"]},"total":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"}},"required":["asset","price_per_seat","seats","platform_fee","total"]},"applications_pending":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"seats":{"type":"array","items":{"type":"object","properties":{"seat_id":{"type":"string","pattern":"^seat_[0-9A-HJKMNP-TV-Z]{26}$"},"seat_no":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"state":{"type":"string","enum":["ASSIGNED","IN_REVIEW","RELEASED","REJECTED","EXPIRED","CANCELLED"]},"worker_ref":{"type":"string"},"funded":{"type":"boolean"},"assigned_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"due_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"submitted_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"review_due_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"revisions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"released_by":{"nullable":true,"type":"string","enum":["requester","timeout","auto"]},"decision_reason":{"nullable":true,"type":"string"},"delivery":{"nullable":true,"type":"object","properties":{"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"body":{"type":"string"},"links":{"type":"array","items":{"type":"string"}}},"required":["round","body","links"]},"review":{"nullable":true,"type":"object","properties":{"rating":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comment":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["rating","comment","created_at"]}},"required":["seat_id","seat_no","round","state","worker_ref","funded","assigned_at","due_at","submitted_at","review_due_at","revisions","released_by","decision_reason","delivery","review"]}},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["task_id","kind","status","title","description","completion_criteria","evidence_types","area","remote_ok","selection_mode","release_mode","completion_window_hours","deadline","application_questions","audience","cost","applications_pending","seats","created_at"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/tasks/{id}/seats/{seat_id}/release":{"post":{"summary":"Pay the worker for a delivered seat. Final. Requires acknowledge_release: true. Without a decision the seat is paid 24 h after delivery","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"acknowledge_release":{"type":"boolean","enum":[true]}},"required":["acknowledge_release"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"task_id":{"type":"string","pattern":"^tsk_[0-9A-HJKMNP-TV-Z]{26}$"},"kind":{"type":"string","enum":["task"]},"status":{"type":"string","enum":["OPEN","CLOSED","DONE","CANCELLED"]},"title":{"type":"string"},"description":{"type":"string"},"completion_criteria":{"type":"string"},"evidence_types":{"type":"array","items":{"type":"string","enum":["text","link","photo","file"]}},"area":{"nullable":true,"type":"string"},"remote_ok":{"type":"boolean"},"selection_mode":{"type":"string","enum":["first_come","application"]},"release_mode":{"type":"string","enum":["manual","auto"]},"completion_window_hours":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"application_questions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":200},"required":{"default":true,"type":"boolean"}},"required":["id","label"],"additionalProperties":false}},"audience":{"type":"string","enum":["everyone","preferred"]},"cost":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"price_per_seat":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"seats":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"platform_fee":{"type":"object","properties":{"rate_bps":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"per_seat":{"type":"string"},"amount":{"type":"string"}},"required":["rate_bps","per_seat","amount"]},"total":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"}},"required":["asset","price_per_seat","seats","platform_fee","total"]},"applications_pending":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"seats":{"type":"array","items":{"type":"object","properties":{"seat_id":{"type":"string","pattern":"^seat_[0-9A-HJKMNP-TV-Z]{26}$"},"seat_no":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"state":{"type":"string","enum":["ASSIGNED","IN_REVIEW","RELEASED","REJECTED","EXPIRED","CANCELLED"]},"worker_ref":{"type":"string"},"funded":{"type":"boolean"},"assigned_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"due_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"submitted_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"review_due_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"revisions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"released_by":{"nullable":true,"type":"string","enum":["requester","timeout","auto"]},"decision_reason":{"nullable":true,"type":"string"},"delivery":{"nullable":true,"type":"object","properties":{"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"body":{"type":"string"},"links":{"type":"array","items":{"type":"string"}}},"required":["round","body","links"]},"review":{"nullable":true,"type":"object","properties":{"rating":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comment":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["rating","comment","created_at"]}},"required":["seat_id","seat_no","round","state","worker_ref","funded","assigned_at","due_at","submitted_at","review_due_at","revisions","released_by","decision_reason","delivery","review"]}},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["task_id","kind","status","title","description","completion_criteria","evidence_types","area","remote_ok","selection_mode","release_mode","completion_window_hours","deadline","application_questions","audience","cost","applications_pending","seats","created_at"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/tasks/{id}/seats/{seat_id}/request-changes":{"post":{"summary":"Send a delivery back with a reason (at most 3 times per seat)","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","minLength":1,"maxLength":1000}},"required":["reason"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"task_id":{"type":"string","pattern":"^tsk_[0-9A-HJKMNP-TV-Z]{26}$"},"kind":{"type":"string","enum":["task"]},"status":{"type":"string","enum":["OPEN","CLOSED","DONE","CANCELLED"]},"title":{"type":"string"},"description":{"type":"string"},"completion_criteria":{"type":"string"},"evidence_types":{"type":"array","items":{"type":"string","enum":["text","link","photo","file"]}},"area":{"nullable":true,"type":"string"},"remote_ok":{"type":"boolean"},"selection_mode":{"type":"string","enum":["first_come","application"]},"release_mode":{"type":"string","enum":["manual","auto"]},"completion_window_hours":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"application_questions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":200},"required":{"default":true,"type":"boolean"}},"required":["id","label"],"additionalProperties":false}},"audience":{"type":"string","enum":["everyone","preferred"]},"cost":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"price_per_seat":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"seats":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"platform_fee":{"type":"object","properties":{"rate_bps":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"per_seat":{"type":"string"},"amount":{"type":"string"}},"required":["rate_bps","per_seat","amount"]},"total":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"}},"required":["asset","price_per_seat","seats","platform_fee","total"]},"applications_pending":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"seats":{"type":"array","items":{"type":"object","properties":{"seat_id":{"type":"string","pattern":"^seat_[0-9A-HJKMNP-TV-Z]{26}$"},"seat_no":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"state":{"type":"string","enum":["ASSIGNED","IN_REVIEW","RELEASED","REJECTED","EXPIRED","CANCELLED"]},"worker_ref":{"type":"string"},"funded":{"type":"boolean"},"assigned_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"due_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"submitted_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"review_due_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"revisions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"released_by":{"nullable":true,"type":"string","enum":["requester","timeout","auto"]},"decision_reason":{"nullable":true,"type":"string"},"delivery":{"nullable":true,"type":"object","properties":{"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"body":{"type":"string"},"links":{"type":"array","items":{"type":"string"}}},"required":["round","body","links"]},"review":{"nullable":true,"type":"object","properties":{"rating":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comment":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["rating","comment","created_at"]}},"required":["seat_id","seat_no","round","state","worker_ref","funded","assigned_at","due_at","submitted_at","review_due_at","revisions","released_by","decision_reason","delivery","review"]}},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["task_id","kind","status","title","description","completion_criteria","evidence_types","area","remote_ok","selection_mode","release_mode","completion_window_hours","deadline","application_questions","audience","cost","applications_pending","seats","created_at"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/tasks/{id}/seats/{seat_id}/reject":{"post":{"summary":"Reject a delivery with a reason. The seat's escrow returns and the seat can be filled again","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","minLength":1,"maxLength":1000}},"required":["reason"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"task_id":{"type":"string","pattern":"^tsk_[0-9A-HJKMNP-TV-Z]{26}$"},"kind":{"type":"string","enum":["task"]},"status":{"type":"string","enum":["OPEN","CLOSED","DONE","CANCELLED"]},"title":{"type":"string"},"description":{"type":"string"},"completion_criteria":{"type":"string"},"evidence_types":{"type":"array","items":{"type":"string","enum":["text","link","photo","file"]}},"area":{"nullable":true,"type":"string"},"remote_ok":{"type":"boolean"},"selection_mode":{"type":"string","enum":["first_come","application"]},"release_mode":{"type":"string","enum":["manual","auto"]},"completion_window_hours":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"application_questions":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":200},"required":{"default":true,"type":"boolean"}},"required":["id","label"],"additionalProperties":false}},"audience":{"type":"string","enum":["everyone","preferred"]},"cost":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"price_per_seat":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"seats":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"platform_fee":{"type":"object","properties":{"rate_bps":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"per_seat":{"type":"string"},"amount":{"type":"string"}},"required":["rate_bps","per_seat","amount"]},"total":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"}},"required":["asset","price_per_seat","seats","platform_fee","total"]},"applications_pending":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"seats":{"type":"array","items":{"type":"object","properties":{"seat_id":{"type":"string","pattern":"^seat_[0-9A-HJKMNP-TV-Z]{26}$"},"seat_no":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"state":{"type":"string","enum":["ASSIGNED","IN_REVIEW","RELEASED","REJECTED","EXPIRED","CANCELLED"]},"worker_ref":{"type":"string"},"funded":{"type":"boolean"},"assigned_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"due_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"submitted_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"review_due_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"revisions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"released_by":{"nullable":true,"type":"string","enum":["requester","timeout","auto"]},"decision_reason":{"nullable":true,"type":"string"},"delivery":{"nullable":true,"type":"object","properties":{"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"body":{"type":"string"},"links":{"type":"array","items":{"type":"string"}}},"required":["round","body","links"]},"review":{"nullable":true,"type":"object","properties":{"rating":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comment":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["rating","comment","created_at"]}},"required":["seat_id","seat_no","round","state","worker_ref","funded","assigned_at","due_at","submitted_at","review_due_at","revisions","released_by","decision_reason","delivery","review"]}},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["task_id","kind","status","title","description","completion_criteria","evidence_types","area","remote_ok","selection_mode","release_mode","completion_window_hours","deadline","application_questions","audience","cost","applications_pending","seats","created_at"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/tasks/{id}/seats/{seat_id}/review":{"post":{"summary":"Rate a released seat once, 1-5, within 14 days. The comment is shown to the worker only (14 §5)","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"seat_id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"rating":{"type":"integer","minimum":1,"maximum":5},"comment":{"default":"","type":"string","maxLength":500}},"required":["rating"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"seat_id":{"type":"string","pattern":"^seat_[0-9A-HJKMNP-TV-Z]{26}$"},"seat_no":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"state":{"type":"string","enum":["ASSIGNED","IN_REVIEW","RELEASED","REJECTED","EXPIRED","CANCELLED"]},"worker_ref":{"type":"string"},"funded":{"type":"boolean"},"assigned_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"due_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"submitted_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"review_due_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"revisions":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"released_by":{"nullable":true,"type":"string","enum":["requester","timeout","auto"]},"decision_reason":{"nullable":true,"type":"string"},"delivery":{"nullable":true,"type":"object","properties":{"round":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"body":{"type":"string"},"links":{"type":"array","items":{"type":"string"}}},"required":["round","body","links"]},"review":{"nullable":true,"type":"object","properties":{"rating":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"comment":{"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["rating","comment","created_at"]}},"required":["seat_id","seat_no","round","state","worker_ref","funded","assigned_at","due_at","submitted_at","review_due_at","revisions","released_by","decision_reason","delivery","review"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/webhooks":{"post":{"summary":"Register a webhook endpoint for this API key (at most 5 active). The signing secret is returned once","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string","maxLength":500,"format":"uri"},"events":{"minItems":1,"type":"array","items":{"type":"string","enum":["verification.open","verification.claimed","verification.submitted","verification.verified","verification.rejected","verification.settled","verification.expired","verification.cancelled","verification.provisional","verification.challenged","task.application_received","task.seat_assigned","task.submitted","task.changes_requested","task.released","task.rejected","task.seat_expired","task.message_received","*"]}}},"required":["url","events"],"additionalProperties":false}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"endpoint":{"type":"object","properties":{"id":{"type":"string","pattern":"^whk_"},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string","enum":["verification.open","verification.claimed","verification.submitted","verification.verified","verification.rejected","verification.settled","verification.expired","verification.cancelled","verification.provisional","verification.challenged","task.application_received","task.seat_assigned","task.submitted","task.changes_requested","task.released","task.rejected","task.seat_expired","task.message_received"]}},"status":{"type":"string","enum":["active","disabled"]}},"required":["id","url","events","status"]},"secret":{"type":"string","pattern":"^whsec_"}},"required":["endpoint","secret"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}},"get":{"summary":"List this API key's webhook endpoints (secrets are not shown)","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"endpoints":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^whk_"},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string","enum":["verification.open","verification.claimed","verification.submitted","verification.verified","verification.rejected","verification.settled","verification.expired","verification.cancelled","verification.provisional","verification.challenged","task.application_received","task.seat_assigned","task.submitted","task.changes_requested","task.released","task.rejected","task.seat_expired","task.message_received"]}},"status":{"type":"string","enum":["active","disabled"]}},"required":["id","url","events","status"]}}},"required":["endpoints"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/webhooks/{id}":{"delete":{"summary":"Stop delivering to a webhook endpoint","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"endpoint":{"type":"object","properties":{"id":{"type":"string","pattern":"^whk_"},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string","enum":["verification.open","verification.claimed","verification.submitted","verification.verified","verification.rejected","verification.settled","verification.expired","verification.cancelled","verification.provisional","verification.challenged","task.application_received","task.seat_assigned","task.submitted","task.changes_requested","task.released","task.rejected","task.seat_expired","task.message_received"]}},"status":{"type":"string","enum":["active","disabled"]}},"required":["id","url","events","status"]}},"required":["endpoint"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/webhooks/{id}/test":{"post":{"summary":"Send one signed webhook.test event now and report whether the receiver answered 2xx","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"delivery":{"type":"object","properties":{"id":{"type":"string","pattern":"^evt_"},"endpoint_id":{"type":"string"},"event":{"type":"string"},"verification_id":{"nullable":true,"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"attempts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"last_status":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"delivered_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","endpoint_id","event","verification_id","created_at","attempts","last_status","delivered_at"]},"ok":{"type":"boolean"}},"required":["delivery","ok"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/webhooks/deliveries":{"get":{"summary":"Every delivery attempt to this API key's endpoints, newest first","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[{"name":"endpoint_id","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":200}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"deliveries":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","pattern":"^evt_"},"endpoint_id":{"type":"string"},"event":{"type":"string"},"verification_id":{"nullable":true,"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"attempts":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"last_status":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"delivered_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["id","endpoint_id","event","verification_id","created_at","attempts","last_status","delivered_at"]}}},"required":["deliveries"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/worker/me":{"get":{"summary":"Current worker","x-priority":"P0","security":[{"privyAccessToken":[]}],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"worker_id":{"type":"string"},"onboarded":{"type":"boolean"},"status":{"type":"string","enum":["active","suspended"]},"consents":{"type":"object","additionalProperties":{"type":"string"}},"yen_payout_interest":{"type":"boolean"},"trust":{"type":"object","properties":{"tier":{"type":"string","enum":["restricted","new","standard","trusted"]},"reasons":{"type":"array","items":{"type":"string"}},"record":{"type":"object","properties":{"valid":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"violations":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"compared":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"agreed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["valid","violations","compared","agreed"]}},"required":["tier","reasons","record"]}},"required":["worker_id","onboarded","status","consents","yen_payout_interest"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/worker/onboarding":{"post":{"summary":"Redeem invite code and record consents","x-priority":"P0","security":[{"privyAccessToken":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"invite_code":{"type":"string","minLength":4,"maxLength":64},"consents":{"type":"object","properties":{"worker_terms":{"type":"string"},"safety_rules":{"type":"string"},"privacy_notice":{"type":"string"}},"required":["worker_terms","safety_rules","privacy_notice"]}},"required":["invite_code","consents"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"worker_id":{"type":"string"},"onboarded":{"type":"boolean"},"status":{"type":"string","enum":["active","suspended"]},"consents":{"type":"object","additionalProperties":{"type":"string"}},"yen_payout_interest":{"type":"boolean"},"trust":{"type":"object","properties":{"tier":{"type":"string","enum":["restricted","new","standard","trusted"]},"reasons":{"type":"array","items":{"type":"string"}},"record":{"type":"object","properties":{"valid":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"violations":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"compared":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"agreed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["valid","violations","compared","agreed"]}},"required":["tier","reasons","record"]}},"required":["worker_id","onboarded","status","consents","yen_payout_interest"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/worker/tasks":{"get":{"summary":"Eligible open tasks near (rounded) location","x-priority":"P0","security":[{"privyAccessToken":[]}],"parameters":[{"name":"scope","in":"query","required":false,"schema":{"default":"nearby","type":"string","enum":["nearby","anywhere"]}},{"name":"lat","in":"query","required":false,"schema":{"type":"number"}},{"name":"lng","in":"query","required":false,"schema":{"type":"number"}},{"name":"radius_km","in":"query","required":false,"schema":{"default":5,"type":"integer","minimum":1,"maximum":20}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"tasks":{"type":"array","items":{"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"type":{"type":"string","enum":["PLACE_STATUS_VERIFICATION","QUEUE_LENGTH","NOTICE_POSTED","CROWD_LEVEL","SEAT_AVAILABILITY","PARKING_AVAILABILITY","STOCK_CHECK","PRICE_CHECK","SIGN_TRANSCRIPTION","SITE_REPORT","DOCUMENT_TRANSCRIPTION","DOCUMENT_QA","PRODUCT_INSPECTION","PHONE_INQUIRY","MEASUREMENT","CUSTOM_CHOICE","CUSTOM_TASK","SENSORY_REPORT"]},"question":{"type":"string"},"acceptance_criteria":{"nullable":true,"type":"string"},"attestation":{"nullable":true,"type":"object","properties":{"subject":{"type":"string","enum":["agent_action"]},"description":{"type":"string","minLength":1,"maxLength":200}},"required":["subject","description"],"additionalProperties":false},"answer_values":{"type":"array","items":{"type":"string","minLength":1,"maxLength":4000}},"answer_schema":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}}},"required":["type","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"max_chars":{"type":"integer","minimum":1,"maximum":4000}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["form"]},"fields":{"minItems":1,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"max_chars":{"type":"integer","minimum":1,"maximum":4000},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["scale"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"min":{"default":1,"type":"number","enum":[1]},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"labels":{"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":20},{"type":"string","minLength":1,"maxLength":20}]},"minItems":2,"maxItems":2},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","max","labels"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["tags"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"max":{"type":"integer","minimum":1,"maximum":12},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values","max"],"additionalProperties":false}]}}},"required":["type","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["sensory"]},"senses":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"string","enum":["sight","hearing","smell","taste","touch"]},"description":"One is enough. sight, hearing, smell, taste, touch"}},"required":["type","senses"],"additionalProperties":false}]},"answer_labels":{"type":"object","additionalProperties":{"type":"string"}},"location":{"nullable":true,"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180},"radius_m":{"type":"integer","minimum":25,"maximum":500}},"required":["lat","lng","radius_m"]},"distance_m":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reward":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"current":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"max":{"nullable":true,"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"rises_until":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["asset","amount","current","max","rises_until"]},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"freshness_max_age_seconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"open_slots":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"requirements":{"type":"array","items":{"type":"string","enum":["photo","location","task_nonce","audio"]}},"safety_notes_version":{"type":"string"}},"required":["verification_id","type","question","acceptance_criteria","attestation","answer_values","answer_schema","answer_labels","location","distance_m","reward","deadline","freshness_max_age_seconds","open_slots","requirements","safety_notes_version"]}}},"required":["tasks"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/worker/tasks/{id}":{"get":{"summary":"Task detail","x-priority":"P0","security":[{"privyAccessToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"type":{"type":"string","enum":["PLACE_STATUS_VERIFICATION","QUEUE_LENGTH","NOTICE_POSTED","CROWD_LEVEL","SEAT_AVAILABILITY","PARKING_AVAILABILITY","STOCK_CHECK","PRICE_CHECK","SIGN_TRANSCRIPTION","SITE_REPORT","DOCUMENT_TRANSCRIPTION","DOCUMENT_QA","PRODUCT_INSPECTION","PHONE_INQUIRY","MEASUREMENT","CUSTOM_CHOICE","CUSTOM_TASK","SENSORY_REPORT"]},"question":{"type":"string"},"acceptance_criteria":{"nullable":true,"type":"string"},"attestation":{"nullable":true,"type":"object","properties":{"subject":{"type":"string","enum":["agent_action"]},"description":{"type":"string","minLength":1,"maxLength":200}},"required":["subject","description"],"additionalProperties":false},"answer_values":{"type":"array","items":{"type":"string","minLength":1,"maxLength":4000}},"answer_schema":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}}},"required":["type","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"max_chars":{"type":"integer","minimum":1,"maximum":4000}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["form"]},"fields":{"minItems":1,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"max_chars":{"type":"integer","minimum":1,"maximum":4000},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["scale"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"min":{"default":1,"type":"number","enum":[1]},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"labels":{"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":20},{"type":"string","minLength":1,"maxLength":20}]},"minItems":2,"maxItems":2},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","max","labels"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["tags"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"max":{"type":"integer","minimum":1,"maximum":12},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values","max"],"additionalProperties":false}]}}},"required":["type","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["sensory"]},"senses":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"string","enum":["sight","hearing","smell","taste","touch"]},"description":"One is enough. sight, hearing, smell, taste, touch"}},"required":["type","senses"],"additionalProperties":false}]},"answer_labels":{"type":"object","additionalProperties":{"type":"string"}},"location":{"nullable":true,"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180},"radius_m":{"type":"integer","minimum":25,"maximum":500}},"required":["lat","lng","radius_m"]},"distance_m":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"reward":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"current":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"max":{"nullable":true,"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"rises_until":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["asset","amount","current","max","rises_until"]},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"freshness_max_age_seconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"open_slots":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"requirements":{"type":"array","items":{"type":"string","enum":["photo","location","task_nonce","audio"]}},"safety_notes_version":{"type":"string"}},"required":["verification_id","type","question","acceptance_criteria","attestation","answer_values","answer_schema","answer_labels","location","distance_m","reward","deadline","freshness_max_age_seconds","open_slots","requirements","safety_notes_version"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/worker/tasks/{id}/claim":{"post":{"summary":"Claim a witness slot","x-priority":"P0","security":[{"privyAccessToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"claim_id":{"type":"string","pattern":"^clm_[0-9A-HJKMNP-TV-Z]{26}$"},"status":{"type":"string","enum":["CLAIMED"]},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"challenge":{"type":"object","properties":{"challenge_id":{"type":"string","pattern":"^chl_[0-9A-HJKMNP-TV-Z]{26}$"},"nonce":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["challenge_id","nonce","expires_at"]}},"required":["claim_id","status","expires_at","challenge"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/worker/claims/{claim_id}/challenge":{"post":{"summary":"Issue a fresh nonce (supersedes the previous one)","x-priority":"P0","security":[{"privyAccessToken":[]}],"parameters":[{"name":"claim_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"challenge_id":{"type":"string","pattern":"^chl_[0-9A-HJKMNP-TV-Z]{26}$"},"nonce":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["challenge_id","nonce","expires_at"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/worker/claims/{claim_id}/uploads":{"post":{"summary":"Signed upload URL bound to claim and challenge","x-priority":"P0","security":[{"privyAccessToken":[]}],"parameters":[{"name":"claim_id","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"challenge_id":{"type":"string","pattern":"^chl_[0-9A-HJKMNP-TV-Z]{26}$"},"content_type":{"type":"string","enum":["image/jpeg","audio/mp4","audio/webm"]},"byte_size":{"type":"integer","minimum":1,"maximum":8388608}},"required":["challenge_id","content_type","byte_size"],"additionalProperties":false}}}},"responses":{"201":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"upload_id":{"type":"string","pattern":"^upl_[0-9A-HJKMNP-TV-Z]{26}$"},"upload_url":{"type":"string","format":"uri"},"expires_in_seconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max_bytes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["upload_id","upload_url","expires_in_seconds","max_bytes"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/worker/tasks/{id}/evidence":{"post":{"summary":"Submit evidence; check outcome is returned in a 200 body","x-priority":"P0","security":[{"privyAccessToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"schema":{"type":"string","minLength":1,"maxLength":255}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"claim_id":{"type":"string","pattern":"^clm_[0-9A-HJKMNP-TV-Z]{26}$"},"answer":{"type":"string","minLength":1,"maxLength":4000},"capture":{"type":"object","properties":{"client_timestamp":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lat":{"type":"number","minimum":-90,"maximum":90},"lng":{"type":"number","minimum":-180,"maximum":180},"accuracy_m":{"type":"number","minimum":0,"maximum":10000}},"required":["client_timestamp"]},"challenge":{"type":"object","properties":{"nonce":{"type":"string","minLength":1,"maxLength":128}},"required":["nonce"]},"measurements":{"type":"object","properties":{"sound":{"type":"object","properties":{"started_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"ended_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["started_at","ended_at"],"additionalProperties":false}},"required":["sound"],"additionalProperties":false},"audio":{"type":"object","properties":{"object_ref":{"type":"string","pattern":"^upl_[0-9A-HJKMNP-TV-Z]{26}$"},"duration_ms":{"type":"integer","minimum":1000,"maximum":15000}},"required":["object_ref","duration_ms"],"additionalProperties":false},"evidence":{"maxItems":4,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["photo"]},"object_ref":{"type":"string","pattern":"^upl_[0-9A-HJKMNP-TV-Z]{26}$"}},"required":["type","object_ref"]}}},"required":["claim_id","answer","capture","challenge","evidence"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"submission_id":{"type":"string","pattern":"^sub_[0-9A-HJKMNP-TV-Z]{26}$"},"state":{"type":"string","enum":["CHECKING","VALID","INVALID"]},"reason_code":{"nullable":true,"type":"string","enum":["MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","MEDIA_DECODE_FAILED","EVIDENCE_REPLAYED","EVIDENCE_STALE","LOCATION_ACCURACY_TOO_LOW","EVIDENCE_OUTSIDE_GEOFENCE","EVIDENCE_NEAR_DUPLICATE","EVIDENCE_MISMATCH"]},"reason_message_ja":{"nullable":true,"type":"string"},"retryable":{"type":"boolean"},"attempts_remaining":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"claim_state":{"type":"string","enum":["ACTIVE","ACCEPTED","REJECTED","ABANDONED","EXPIRED"]},"checks":{"type":"object","additionalProperties":{"type":"string","enum":["pass","fail","warning","not_run"]}}},"required":["submission_id","state","reason_code","reason_message_ja","retryable","attempts_remaining","claim_state","checks"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/worker/claims/{claim_id}/abandon":{"post":{"summary":"Abandon a claim","x-priority":"P0","security":[{"privyAccessToken":[]}],"parameters":[{"name":"claim_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"claim_id":{"type":"string","pattern":"^clm_[0-9A-HJKMNP-TV-Z]{26}$"},"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"state":{"type":"string","enum":["ACTIVE","ACCEPTED","REJECTED","ABANDONED","EXPIRED"]},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"attempts_remaining":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"submissions":{"type":"array","items":{"type":"object","properties":{"submission_id":{"type":"string","pattern":"^sub_[0-9A-HJKMNP-TV-Z]{26}$"},"state":{"type":"string","enum":["CHECKING","VALID","INVALID"]},"reason_code":{"nullable":true,"type":"string","enum":["MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","MEDIA_DECODE_FAILED","EVIDENCE_REPLAYED","EVIDENCE_STALE","LOCATION_ACCURACY_TOO_LOW","EVIDENCE_OUTSIDE_GEOFENCE","EVIDENCE_NEAR_DUPLICATE","EVIDENCE_MISMATCH"]},"reason_message_ja":{"nullable":true,"type":"string"},"retryable":{"type":"boolean"},"checks":{"type":"object","additionalProperties":{"type":"string","enum":["pass","fail","warning","not_run"]}}},"required":["submission_id","state","reason_code","reason_message_ja","retryable","checks"]}},"task_result":{"nullable":true,"type":"object","properties":{"status":{"type":"string","enum":["VERIFIED","REJECTED","EXPIRED"]},"answer":{"nullable":true,"type":"string","minLength":1,"maxLength":4000}},"required":["status","answer"]},"type":{"type":"string","enum":["PLACE_STATUS_VERIFICATION","QUEUE_LENGTH","NOTICE_POSTED","CROWD_LEVEL","SEAT_AVAILABILITY","PARKING_AVAILABILITY","STOCK_CHECK","PRICE_CHECK","SIGN_TRANSCRIPTION","SITE_REPORT","DOCUMENT_TRANSCRIPTION","DOCUMENT_QA","PRODUCT_INSPECTION","PHONE_INQUIRY","MEASUREMENT","CUSTOM_CHOICE","CUSTOM_TASK","SENSORY_REPORT"]},"question":{"type":"string"},"acceptance_criteria":{"nullable":true,"type":"string"},"attestation":{"nullable":true,"type":"object","properties":{"subject":{"type":"string","enum":["agent_action"]},"description":{"type":"string","minLength":1,"maxLength":200}},"required":["subject","description"],"additionalProperties":false},"answer_values":{"type":"array","items":{"type":"string","minLength":1,"maxLength":4000}},"answer_schema":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}}},"required":["type","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"max_chars":{"type":"integer","minimum":1,"maximum":4000}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["form"]},"fields":{"minItems":1,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"max_chars":{"type":"integer","minimum":1,"maximum":4000},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["scale"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"min":{"default":1,"type":"number","enum":[1]},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"labels":{"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":20},{"type":"string","minLength":1,"maxLength":20}]},"minItems":2,"maxItems":2},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","max","labels"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["tags"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"max":{"type":"integer","minimum":1,"maximum":12},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values","max"],"additionalProperties":false}]}}},"required":["type","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["sensory"]},"senses":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"string","enum":["sight","hearing","smell","taste","touch"]},"description":"One is enough. sight, hearing, smell, taste, touch"}},"required":["type","senses"],"additionalProperties":false}]},"answer_labels":{"type":"object","additionalProperties":{"type":"string"}},"location_required":{"type":"boolean"},"photo_required":{"type":"boolean"},"audio":{"nullable":true,"type":"object","properties":{"clip":{"type":"string","enum":["optional","required"]},"max_seconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["clip","max_seconds"]}},"required":["claim_id","verification_id","state","expires_at","attempts_remaining","submissions","task_result","type","question","acceptance_criteria","attestation","answer_values","answer_schema","answer_labels","location_required","photo_required","audio"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/worker/claims/{claim_id}":{"get":{"summary":"Claim status and reasons","x-priority":"P0","security":[{"privyAccessToken":[]}],"parameters":[{"name":"claim_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"claim_id":{"type":"string","pattern":"^clm_[0-9A-HJKMNP-TV-Z]{26}$"},"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"state":{"type":"string","enum":["ACTIVE","ACCEPTED","REJECTED","ABANDONED","EXPIRED"]},"expires_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"attempts_remaining":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"submissions":{"type":"array","items":{"type":"object","properties":{"submission_id":{"type":"string","pattern":"^sub_[0-9A-HJKMNP-TV-Z]{26}$"},"state":{"type":"string","enum":["CHECKING","VALID","INVALID"]},"reason_code":{"nullable":true,"type":"string","enum":["MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","MEDIA_DECODE_FAILED","EVIDENCE_REPLAYED","EVIDENCE_STALE","LOCATION_ACCURACY_TOO_LOW","EVIDENCE_OUTSIDE_GEOFENCE","EVIDENCE_NEAR_DUPLICATE","EVIDENCE_MISMATCH"]},"reason_message_ja":{"nullable":true,"type":"string"},"retryable":{"type":"boolean"},"checks":{"type":"object","additionalProperties":{"type":"string","enum":["pass","fail","warning","not_run"]}}},"required":["submission_id","state","reason_code","reason_message_ja","retryable","checks"]}},"task_result":{"nullable":true,"type":"object","properties":{"status":{"type":"string","enum":["VERIFIED","REJECTED","EXPIRED"]},"answer":{"nullable":true,"type":"string","minLength":1,"maxLength":4000}},"required":["status","answer"]},"type":{"type":"string","enum":["PLACE_STATUS_VERIFICATION","QUEUE_LENGTH","NOTICE_POSTED","CROWD_LEVEL","SEAT_AVAILABILITY","PARKING_AVAILABILITY","STOCK_CHECK","PRICE_CHECK","SIGN_TRANSCRIPTION","SITE_REPORT","DOCUMENT_TRANSCRIPTION","DOCUMENT_QA","PRODUCT_INSPECTION","PHONE_INQUIRY","MEASUREMENT","CUSTOM_CHOICE","CUSTOM_TASK","SENSORY_REPORT"]},"question":{"type":"string"},"acceptance_criteria":{"nullable":true,"type":"string"},"attestation":{"nullable":true,"type":"object","properties":{"subject":{"type":"string","enum":["agent_action"]},"description":{"type":"string","minLength":1,"maxLength":200}},"required":["subject","description"],"additionalProperties":false},"answer_values":{"type":"array","items":{"type":"string","minLength":1,"maxLength":4000}},"answer_schema":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}}},"required":["type","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"max_chars":{"type":"integer","minimum":1,"maximum":4000}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["form"]},"fields":{"minItems":1,"type":"array","items":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","enum":["enum"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":6,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["number"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"unit":{"type":"string","minLength":1,"maxLength":16},"min":{"type":"number"},"max":{"type":"number"},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["text"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"max_chars":{"type":"integer","minimum":1,"maximum":4000},"required":{"default":true,"type":"boolean"}},"required":["type","key","label"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["scale"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"min":{"default":1,"type":"number","enum":[1]},"max":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"labels":{"type":"array","items":{"anyOf":[{"type":"string","minLength":1,"maxLength":20},{"type":"string","minLength":1,"maxLength":20}]},"minItems":2,"maxItems":2},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","max","labels"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["tags"]},"key":{"type":"string","pattern":"^[a-z][a-z0-9_]{0,31}$"},"label":{"type":"string","minLength":1,"maxLength":80},"values":{"minItems":2,"maxItems":12,"type":"array","items":{"type":"string","minLength":1,"maxLength":40}},"max":{"type":"integer","minimum":1,"maximum":12},"required":{"default":true,"type":"boolean"}},"required":["type","key","label","values","max"],"additionalProperties":false}]}}},"required":["type","fields"],"additionalProperties":false},{"type":"object","properties":{"type":{"type":"string","enum":["sensory"]},"senses":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"string","enum":["sight","hearing","smell","taste","touch"]},"description":"One is enough. sight, hearing, smell, taste, touch"}},"required":["type","senses"],"additionalProperties":false}]},"answer_labels":{"type":"object","additionalProperties":{"type":"string"}},"location_required":{"type":"boolean"},"photo_required":{"type":"boolean"},"audio":{"nullable":true,"type":"object","properties":{"clip":{"type":"string","enum":["optional","required"]},"max_seconds":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["clip","max_seconds"]}},"required":["claim_id","verification_id","state","expires_at","attempts_remaining","submissions","task_result","type","question","acceptance_criteria","attestation","answer_values","answer_schema","answer_labels","location_required","photo_required","audio"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/worker/payouts":{"get":{"summary":"Payout history","x-priority":"P1","security":[{"privyAccessToken":[]}],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"payouts":{"type":"array","items":{"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"},"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"status":{"type":"string","enum":["PENDING","SUBMITTED","SETTLED","REFUNDED","FAILED_RETRYING"]},"explorer_url":{"nullable":true,"type":"string","format":"uri"},"paid_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["verification_id","amount","asset","status","explorer_url","paid_at"]}}},"required":["payouts"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/public/verifications/{id}":{"get":{"summary":"Public-safe result","x-priority":"P1","security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"status":{"type":"string","enum":["VERIFIED","REJECTED","EXPIRED"]},"reason":{"nullable":true,"type":"string","enum":["NO_CONSENSUS","INSUFFICIENT_WITNESSES","CHALLENGED"]},"answer":{"nullable":true,"type":"string","minLength":1,"maxLength":4000},"provisional":{"type":"boolean","enum":[true]},"challenge":{"type":"object","properties":{"minutes":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"until":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"state":{"type":"string","enum":["open","closed","challenged","upheld","overturned"]}},"required":["minutes","until","state"]},"witnesses":{"type":"object","properties":{"valid":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"required":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"quorum":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["valid","required","quorum"]},"answer_counts":{"type":"object","additionalProperties":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"consensus_ratio":{"nullable":true,"type":"number","minimum":0,"maximum":1},"checks":{"type":"object","properties":{"geofence":{"type":"string","enum":["pass","fail","warning","not_run"]},"freshness":{"type":"string","enum":["pass","fail","warning","not_run"]},"task_nonce":{"type":"string","enum":["pass","fail","warning","not_run"]},"replay":{"type":"string","enum":["pass","fail","warning","not_run"]},"media_schema":{"type":"string","enum":["pass","fail","warning","not_run"]},"duplicate":{"type":"string","enum":["pass","fail","warning","not_run"]},"vision_consistency":{"type":"string","enum":["pass","fail","warning","not_run"]}},"required":["geofence","freshness","task_nonce","replay","media_schema","duplicate","vision_consistency"]},"evidence_root":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"result_hash":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"attestation":{"nullable":true,"type":"object","properties":{"network":{"type":"string","enum":["solana-devnet","solana"]},"signature":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{64,88}$"},"task_account":{"type":"string"},"explorer_url":{"type":"string","format":"uri"}},"required":["network","signature","task_account","explorer_url"]},"settlement":{"type":"object","properties":{"status":{"type":"string","enum":["PENDING","SUBMITTED","SETTLED","REFUNDED","FAILED_RETRYING"]},"signature":{"nullable":true,"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{64,88}$"},"paid":{"type":"array","items":{"type":"object","properties":{"witness_ref":{"type":"string"},"amount":{"type":"string","pattern":"^(0|[1-9]\\d{0,11})(\\.\\d{1,6})?$"}},"required":["witness_ref","amount"]}},"test_asset":{"type":"boolean"}},"required":["status","signature","paid"]},"verified_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"type":{"type":"string","enum":["PLACE_STATUS_VERIFICATION","QUEUE_LENGTH","NOTICE_POSTED","CROWD_LEVEL","SEAT_AVAILABILITY","PARKING_AVAILABILITY","STOCK_CHECK","PRICE_CHECK","SIGN_TRANSCRIPTION","SITE_REPORT","DOCUMENT_TRANSCRIPTION","DOCUMENT_QA","PRODUCT_INSPECTION","PHONE_INQUIRY","MEASUREMENT","CUSTOM_CHOICE","CUSTOM_TASK","SENSORY_REPORT"]},"answer_kind":{"type":"string","enum":["enum","number","text"]},"agent_attestation":{"nullable":true,"type":"object","properties":{"subject":{"type":"string","enum":["agent_action"]},"description":{"type":"string","minLength":1,"maxLength":200}},"required":["subject","description"],"additionalProperties":false},"published":{"nullable":true,"type":"object","properties":{"question":{"type":"string"},"location":{"type":"object","properties":{"lat":{"type":"number"},"lng":{"type":"number"}},"required":["lat","lng"]},"location_precision_m":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"place_name":{"nullable":true,"type":"string"}},"required":["question","location","location_precision_m","place_name"]}},"required":["verification_id","status","reason","answer","witnesses","answer_counts","consensus_ratio","checks","evidence_root","result_hash","attestation","settlement","verified_at","type","answer_kind","agent_attestation","published"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/public/verifications/{id}/onchain":{"get":{"summary":"The result's Task account on Solana and how another program reads it (13 §2)","x-priority":"Stretch","security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"network":{"type":"string","enum":["solana-devnet","solana"]},"program_id":{"type":"string"},"task_account":{"type":"string"},"recorded":{"type":"boolean"},"outcome":{"nullable":true,"type":"string","enum":["VERIFIED","NO_CONSENSUS","INSUFFICIENT_WITNESSES"]},"result_hash":{"nullable":true,"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"evidence_root":{"nullable":true,"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"finalized_at":{"nullable":true,"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"explorer_url":{"type":"string"},"how_to_read":{"type":"object","properties":{"rust":{"type":"string"},"typescript":{"type":"string"}},"required":["rust","typescript"]}},"required":["verification_id","network","program_id","task_account","recorded","outcome","result_hash","evidence_root","finalized_at","explorer_url","how_to_read"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/public/assets":{"get":{"summary":"Tokens accepted as a reward on this server, with mint and decimals (16 §3.2)","x-priority":"P1","security":[],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"network":{"type":"string","enum":["solana-devnet","solana"]},"assets":{"type":"array","items":{"type":"object","properties":{"symbol":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"name":{"type":"string"},"mint":{"type":"string"},"token_program":{"type":"string","enum":["spl-token","token-2022"]},"decimals":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"amount_decimals":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"min_bounty":{"nullable":true,"type":"string"},"volatile":{"type":"boolean"},"x402":{"type":"boolean"}},"required":["symbol","name","mint","token_program","decimals","amount_decimals","min_bounty","volatile","x402"]}}},"required":["network","assets"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/public/stats":{"get":{"summary":"Public track record (aggregates only)","x-priority":"P1","security":[],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"generated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"verifications":{"type":"object","properties":{"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"completed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["total","completed"]},"workers_with_valid_submission":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"requesters":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"paid_to_workers":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC"]},"amount":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$"},"network":{"type":"string","enum":["solana-devnet","solana"]}},"required":["asset","amount","network"]},"paid_by_asset":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string","enum":["USDC","SOL","USDT","PYUSD","USDG","EURC","JUP","BONK","JitoSOL","mSOL","cbBTC"]},"amount":{"type":"string","pattern":"^\\d+(\\.\\d{1,6})?$"}},"required":["asset","amount"]}},"median_seconds_to_result":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"ai_review":{"type":"object","properties":{"pass":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"fail":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"uncertain":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["pass","fail","uncertain"]},"by_type":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["PLACE_STATUS_VERIFICATION","QUEUE_LENGTH","NOTICE_POSTED","CROWD_LEVEL","SEAT_AVAILABILITY","PARKING_AVAILABILITY","STOCK_CHECK","PRICE_CHECK","SIGN_TRANSCRIPTION","SITE_REPORT","DOCUMENT_TRANSCRIPTION","DOCUMENT_QA","PRODUCT_INSPECTION","PHONE_INQUIRY","MEASUREMENT","CUSTOM_CHOICE","CUSTOM_TASK","SENSORY_REPORT"]},"total":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"completed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["type","total","completed"]}},"daily_completed":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["date","count"]}},"recent_results":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["PLACE_STATUS_VERIFICATION","QUEUE_LENGTH","NOTICE_POSTED","CROWD_LEVEL","SEAT_AVAILABILITY","PARKING_AVAILABILITY","STOCK_CHECK","PRICE_CHECK","SIGN_TRANSCRIPTION","SITE_REPORT","DOCUMENT_TRANSCRIPTION","DOCUMENT_QA","PRODUCT_INSPECTION","PHONE_INQUIRY","MEASUREMENT","CUSTOM_CHOICE","CUSTOM_TASK","SENSORY_REPORT"]},"finalized_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"witnesses":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"explorer_url":{"type":"string","format":"uri"},"result_url":{"nullable":true,"type":"string"}},"required":["type","finalized_at","witnesses","explorer_url","result_url"]}}},"required":["generated_at","verifications","workers_with_valid_submission","requesters","paid_to_workers","paid_by_asset","median_seconds_to_result","ai_review","by_type","daily_completed","recent_results"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/worker-preferences":{"get":{"summary":"Your preferred and blocked workers (14 §4); 404 TASKS_NOT_ENABLED until tasks open","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"workers":{"type":"array","items":{"type":"object","properties":{"pref_ref":{"type":"string"},"kind":{"type":"string","enum":["prefer","block"]},"public_id":{"nullable":true,"type":"string"},"display_name":{"nullable":true,"type":"string"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["pref_ref","kind","public_id","display_name","created_at"]}}},"required":["workers"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}},"post":{"summary":"Mark a worker as preferred or blocked, or clear the mark. The worker is never told (14 §4)","x-priority":"Stretch","security":[{"requesterApiKey":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"worker":{"anyOf":[{"type":"object","properties":{"public_id":{"type":"string","pattern":"^pw_[a-z0-9]{20}$"}},"required":["public_id"],"additionalProperties":false},{"type":"object","properties":{"task_id":{"type":"string","maxLength":40},"worker_ref":{"type":"string","pattern":"^hmac:[0-9a-f]{64}$"}},"required":["task_id","worker_ref"],"additionalProperties":false},{"type":"object","properties":{"pref_ref":{"type":"string","pattern":"^pref_[0-9a-f]{32}$"}},"required":["pref_ref"],"additionalProperties":false}]},"kind":{"type":"string","enum":["prefer","block","clear"]}},"required":["worker","kind"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"pref_ref":{"type":"string"},"kind":{"nullable":true,"type":"string","enum":["prefer","block"]}},"required":["pref_ref","kind"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/public/market-tasks":{"get":{"summary":"Open general tasks anyone can see (no requester identity), newest first, 20 per page (14 §6)","x-priority":"Stretch","security":[],"parameters":[{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"tasks":{"type":"array","items":{"type":"object","properties":{"task_id":{"type":"string","pattern":"^tsk_[0-9A-HJKMNP-TV-Z]{26}$"},"title":{"type":"string"},"description":{"type":"string"},"completion_criteria":{"type":"string"},"evidence_types":{"type":"array","items":{"type":"string","enum":["text","link","photo","file"]}},"area":{"nullable":true,"type":"string"},"remote_ok":{"type":"boolean"},"price":{"type":"object","properties":{"asset":{"type":"string"},"amount":{"type":"string"}},"required":["asset","amount"]},"seats_open":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"selection_mode":{"type":"string","enum":["first_come","application"]},"release_mode":{"type":"string","enum":["manual","auto"]},"completion_window_hours":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"requester":{"type":"object","properties":{"rejected_ratio":{"nullable":true,"type":"number"},"decided":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["rejected_ratio","decided"]}},"required":["task_id","title","description","completion_criteria","evidence_types","area","remote_ok","price","seats_open","selection_mode","release_mode","completion_window_hours","deadline","created_at","requester"]}},"next_cursor":{"nullable":true,"type":"string"},"note":{"type":"string"}},"required":["tasks","next_cursor","note"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/public/market-tasks/{id}":{"get":{"summary":"One open public task; 410 TASK_EXPIRED once closed (14 §6)","x-priority":"Stretch","security":[],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"task_id":{"type":"string","pattern":"^tsk_[0-9A-HJKMNP-TV-Z]{26}$"},"title":{"type":"string"},"description":{"type":"string"},"completion_criteria":{"type":"string"},"evidence_types":{"type":"array","items":{"type":"string","enum":["text","link","photo","file"]}},"area":{"nullable":true,"type":"string"},"remote_ok":{"type":"boolean"},"price":{"type":"object","properties":{"asset":{"type":"string"},"amount":{"type":"string"}},"required":["asset","amount"]},"seats_open":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"selection_mode":{"type":"string","enum":["first_come","application"]},"release_mode":{"type":"string","enum":["manual","auto"]},"completion_window_hours":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"deadline":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"requester":{"type":"object","properties":{"rejected_ratio":{"nullable":true,"type":"number"},"decided":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["rejected_ratio","decided"]},"note":{"type":"string"}},"required":["task_id","title","description","completion_criteria","evidence_types","area","remote_ok","price","seats_open","selection_mode","release_mode","completion_window_hours","deadline","created_at","requester","note"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/public/workers":{"get":{"summary":"Public worker profiles (opt-in), 20 per page; 404 TASKS_NOT_ENABLED until tasks open (14 §3.4)","x-priority":"Stretch","security":[],"parameters":[{"name":"skill","in":"query","required":false,"schema":{"type":"string","maxLength":30}},{"name":"city","in":"query","required":false,"schema":{"type":"string","maxLength":40}},{"name":"lang","in":"query","required":false,"schema":{"type":"string","enum":["ja","en","zh","ko","es","fr","de","pt","it","ru","vi","th","id","tl","hi","ne","ar","tr","uk","pl"]}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string","maxLength":200}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"workers":{"type":"array","items":{"type":"object","properties":{"public_id":{"type":"string","pattern":"^pw_[a-z0-9]{20}$"},"display_name":{"type":"string"},"city":{"nullable":true,"type":"string"},"skills":{"type":"array","items":{"type":"string"}},"languages":{"type":"array","items":{"type":"string","enum":["ja","en","zh","ko","es","fr","de","pt","it","ru","vi","th","id","tl","hi","ne","ar","tr","uk","pl"]}},"completed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"rating":{"nullable":true,"type":"object","properties":{"average":{"type":"number"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["average","count"]},"member_since":{"type":"string","pattern":"^\\d{4}-\\d{2}$"}},"required":["public_id","display_name","city","skills","languages","completed","rating","member_since"]}},"next_cursor":{"nullable":true,"type":"string"},"note":{"type":"string"}},"required":["workers","next_cursor","note"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/public/workers/{public_id}":{"get":{"summary":"One public worker profile (14 §3)","x-priority":"Stretch","security":[],"parameters":[{"name":"public_id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"public_id":{"type":"string","pattern":"^pw_[a-z0-9]{20}$"},"display_name":{"type":"string"},"city":{"nullable":true,"type":"string"},"skills":{"type":"array","items":{"type":"string"}},"languages":{"type":"array","items":{"type":"string","enum":["ja","en","zh","ko","es","fr","de","pt","it","ru","vi","th","id","tl","hi","ne","ar","tr","uk","pl"]}},"completed":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"rating":{"nullable":true,"type":"object","properties":{"average":{"type":"number"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["average","count"]},"member_since":{"type":"string","pattern":"^\\d{4}-\\d{2}$"},"note":{"type":"string"}},"required":["public_id","display_name","city","skills","languages","completed","rating","member_since","note"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/public/map":{"get":{"summary":"Results published to the public map by their requesters","x-priority":"Stretch","security":[],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"generated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"max_age_hours":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"items":{"type":"array","items":{"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"type":{"type":"string","enum":["PLACE_STATUS_VERIFICATION","QUEUE_LENGTH","NOTICE_POSTED","CROWD_LEVEL","SEAT_AVAILABILITY","PARKING_AVAILABILITY","STOCK_CHECK","PRICE_CHECK","SIGN_TRANSCRIPTION","SITE_REPORT","DOCUMENT_TRANSCRIPTION","DOCUMENT_QA","PRODUCT_INSPECTION","PHONE_INQUIRY","MEASUREMENT","CUSTOM_CHOICE","CUSTOM_TASK","SENSORY_REPORT"]},"question":{"type":"string"},"answer":{"type":"string","minLength":1,"maxLength":4000},"answer_kind":{"type":"string","enum":["enum","number"]},"unit":{"nullable":true,"type":"string"},"location":{"type":"object","properties":{"lat":{"type":"number"},"lng":{"type":"number"}},"required":["lat","lng"]},"location_precision_m":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"place_name":{"nullable":true,"type":"string"},"witnesses":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"verified_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"result_url":{"type":"string"}},"required":["verification_id","type","question","answer","answer_kind","unit","location","location_precision_m","place_name","witnesses","verified_at","result_url"]}}},"required":["generated_at","max_age_hours","items"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/public/dataset":{"get":{"summary":"Open dataset of published, verified real-world observations with their Solana record (CC BY 4.0)","x-priority":"Stretch","security":[],"parameters":[],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"type":"object","properties":{"generated_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"license":{"type":"string","enum":["CC-BY-4.0"]},"attribution":{"type":"string"},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"rows":{"type":"array","items":{"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"type":{"type":"string","enum":["PLACE_STATUS_VERIFICATION","QUEUE_LENGTH","NOTICE_POSTED","CROWD_LEVEL","SEAT_AVAILABILITY","PARKING_AVAILABILITY","STOCK_CHECK","PRICE_CHECK","SIGN_TRANSCRIPTION","SITE_REPORT","DOCUMENT_TRANSCRIPTION","DOCUMENT_QA","PRODUCT_INSPECTION","PHONE_INQUIRY","MEASUREMENT","CUSTOM_CHOICE","CUSTOM_TASK","SENSORY_REPORT"]},"question":{"type":"string"},"answer":{"type":"string","minLength":1,"maxLength":4000},"answer_kind":{"type":"string","enum":["enum","number"]},"unit":{"nullable":true,"type":"string"},"location":{"type":"object","properties":{"lat":{"type":"number"},"lng":{"type":"number"}},"required":["lat","lng"]},"location_precision_m":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"place_name":{"nullable":true,"type":"string"},"witnesses":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"verified_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"evidence_root":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"result_hash":{"type":"string","pattern":"^sha256:[0-9a-f]{64}$"},"attestation":{"nullable":true,"type":"object","properties":{"network":{"type":"string","enum":["solana-devnet","solana"]},"signature":{"type":"string","pattern":"^[1-9A-HJ-NP-Za-km-z]{64,88}$"},"explorer_url":{"type":"string","format":"uri"}},"required":["network","signature","explorer_url"]},"proof_url":{"type":"string","format":"uri"}},"required":["verification_id","type","question","answer","answer_kind","unit","location","location_precision_m","place_name","witnesses","verified_at","evidence_root","result_hash","attestation","proof_url"]}}},"required":["generated_at","license","attribution","count","rows"]}}}},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/admin/flags":{"post":{"summary":"Set a platform kill switch","x-priority":"P0","security":[{"adminToken":[]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"key":{"type":"string","enum":["tasks_create_enabled","claims_enabled","settlement_enabled","public_evidence_enabled","external_review_enabled","x402_enabled","tasks_enabled"]},"value":{"type":"boolean"}},"required":["key","value"],"additionalProperties":false}}}},"responses":{"200":{"description":"OK"},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/admin/credentials/{id}/suspend":{"post":{"summary":"Suspend requester credential","x-priority":"P0","security":[{"adminToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/admin/workers/{id}/suspend":{"post":{"summary":"Suspend worker","x-priority":"P0","security":[{"adminToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/admin/credentials/{id}/revoke":{"post":{"summary":"Revoke API key","x-priority":"P0","security":[{"adminToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/admin/verifications/{id}/evidence/revoke-access":{"post":{"summary":"Stop evidence access","x-priority":"P0","security":[{"adminToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}},"/v1/admin/jobs/{id}/requeue":{"post":{"summary":"Requeue a DEAD outbox job","x-priority":"P0","security":[{"adminToken":[]}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK"},"default":{"description":"Error","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string","enum":["UNAUTHENTICATED","FORBIDDEN","CREDENTIAL_SUSPENDED","PRINCIPAL_MISMATCH","WORKER_NOT_ONBOARDED","INVITE_INVALID","VALIDATION_FAILED","UNSUPPORTED_ASSET","UNSUPPORTED_TASK_TYPE","DEADLINE_OUT_OF_RANGE","LOCATION_OUT_OF_PILOT_AREA","LOCATION_NOT_ALLOWLISTED","TASK_POLICY_VIOLATION","TASK_AMOUNT_LIMIT_EXCEEDED","DAILY_SPEND_LIMIT_EXCEEDED","INSUFFICIENT_BALANCE","RATE_LIMITED","IDEMPOTENCY_KEY_CONFLICT","IDEMPOTENCY_IN_PROGRESS","PAYMENT_IN_PROGRESS","PAYMENT_ALREADY_USED","VERIFICATION_NOT_FOUND","TASK_NOT_CANCELLABLE","EVIDENCE_ACCESS_REVOKED","TASK_NOT_CLAIMABLE","NO_OPEN_SLOT","ALREADY_CLAIMED","DISPUTE_NOT_ALLOWED","CHALLENGE_NOT_ALLOWED","WORKER_NOT_ELIGIBLE","TASK_EXPIRED","CLAIM_NOT_ACTIVE","REVIEW_PENDING","SUBMISSION_NOT_PENDING","NONCE_INVALID","NONCE_USED","NONCE_EXPIRED","UPLOAD_NOT_FOUND","ANSWER_INVALID","MEDIA_TYPE_UNSUPPORTED","MEDIA_TOO_LARGE","QUOTE_NOT_FOUND","TASKS_NOT_ENABLED","TASK_NOT_FOUND","PROFILE_NOT_FOUND","WORKER_NOT_FOUND","SEAT_NOT_FOUND","APPLICATION_NOT_FOUND","TASK_STATE_CONFLICT","WEBHOOK_NOT_FOUND","WEBHOOK_LIMIT_REACHED","QUOTE_MISMATCH","QUOTE_EXPIRED","FEATURE_DISABLED","NOT_IMPLEMENTED","INTERNAL_ERROR"]},"message":{"type":"string"},"retryable":{"type":"boolean"},"details":{"type":"object","additionalProperties":{}}},"required":["code","message","retryable","details"]}},"required":["error"]}}}}}}}},"x-webhook-payload":{"type":"object","properties":{"id":{"type":"string","pattern":"^evt_"},"type":{"type":"string","enum":["verification.open","verification.claimed","verification.submitted","verification.verified","verification.rejected","verification.settled","verification.expired","verification.cancelled","verification.provisional","verification.challenged","task.application_received","task.seat_assigned","task.submitted","task.changes_requested","task.released","task.rejected","task.seat_expired","task.message_received"]},"created_at":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"data":{"anyOf":[{"type":"object","properties":{"verification_id":{"type":"string","pattern":"^ver_[0-9A-HJKMNP-TV-Z]{26}$"},"status":{"type":"string","enum":["CREATED","FUNDED","OPEN","CLAIMED","SUBMITTED","VERIFYING","VERIFIED","SETTLED","REJECTED","EXPIRED","CANCELLED","REFUNDED"]}},"required":["verification_id","status"]},{"type":"object","properties":{"task_id":{"type":"string"},"seat_id":{"type":"string"},"application_id":{"type":"string"},"state":{"type":"string"}},"required":["task_id","state"]}]}},"required":["id","type","created_at","data"]}}