{"openapi":"3.1.0","info":{"title":"OrukZero API","version":"2026-10-06"},"paths":{"/v1/audio/synthetic-speech":{"post":{"tags":["OrukZero"],"summary":"Detect human or AI speech with OrukZero","description":"English audio, 1–60 seconds, WAV/FLAC/OGG/MP3, at most 12 MiB. Uncalibrated scores with a fixed 0.5 threshold. An Oruk API key and active paid plan are required; OrukZero is included at no extra charge and consumes no credits or plan minutes. Long-audio aggregation is experimental.","operationId":"detect_v1_audio_synthetic_speech_post","requestBody":{"content":{"multipart/form-data":{"schema":{"properties":{"file":{"type":"string","format":"binary"},"model":{"type":"string","enum":["orukzero"],"default":"orukzero"}},"additionalProperties":false,"type":"object","required":["file"]}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectionResponse"}}}},"401":{"description":"Invalid customer key"},"402":{"description":"Active paid Oruk plan required"},"413":{"description":"Audio exceeds 12 MiB"},"422":{"description":"Invalid audio or multipart upload"},"429":{"description":"Worker busy; retry after one second"},"503":{"description":"Preview disabled or worker unavailable"}},"security":[{"HTTPBearer":[]}]}},"/v1/models/orukzero/access":{"get":{"summary":"Check OrukZero paid-plan access","description":"Read-only entitlement check. No credits or plan minutes are consumed. Free trials and prepaid-only accounts are not eligible.","tags":["OrukZero"],"security":[{"HTTPBearer":[]}],"responses":{"200":{"description":"Active paid plan; OrukZero is included at no extra charge","content":{"application/json":{"schema":{"type":"object","required":["model","customer","entitlement","billed","consumes_credits","consumes_plan_minutes"],"properties":{"model":{"const":"orukzero"},"customer":{"type":"object","required":["key_id","organization_id","plan"],"properties":{"key_id":{"type":"string"},"organization_id":{"type":"string"},"plan":{"type":"string"}}},"entitlement":{"const":"included_with_paid_plan"},"billed":{"const":false},"consumes_credits":{"const":false},"consumes_plan_minutes":{"const":false}}}}}},"401":{"description":"Invalid API key"},"402":{"description":"Active paid plan required"},"503":{"description":"Account service unavailable"}}}}},"components":{"schemas":{"DetectionResponse":{"properties":{"object":{"type":"string","const":"synthetic_speech.result","title":"Object"},"model":{"type":"string","const":"orukzero","title":"Model"},"model_revision":{"type":"string","const":"2026-10-05-adapt-216","title":"Model Revision"},"duration":{"type":"number","maximum":60,"minimum":1,"title":"Duration"},"prediction":{"type":"string","enum":["human","synthetic"],"title":"Prediction"},"synthetic_score":{"type":"number","maximum":1,"minimum":0,"title":"Synthetic Score"},"threshold":{"type":"number","const":0.5,"title":"Threshold"},"score_type":{"type":"string","const":"uncalibrated_sigmoid","title":"Score Type"},"aggregation":{"type":"string","const":"coverage_weighted_mean_logit","title":"Aggregation"},"segments":{"items":{"$ref":"#/components/schemas/Segment"},"type":"array","maxItems":10,"minItems":1,"title":"Segments"},"warnings":{"items":{"type":"string"},"type":"array","maxItems":8,"title":"Warnings"},"id":{"type":"string","title":"Id"},"usage":{"additionalProperties":true,"type":"object","title":"Usage"}},"additionalProperties":false,"type":"object","required":["object","model","model_revision","duration","prediction","synthetic_score","threshold","score_type","aggregation","segments","warnings","id","usage"],"title":"DetectionResponse"},"Segment":{"properties":{"start":{"type":"number","maximum":60,"minimum":0,"title":"Start"},"end":{"type":"number","maximum":60,"exclusiveMinimum":0,"title":"End"},"synthetic_score":{"type":"number","maximum":1,"minimum":0,"title":"Synthetic Score"},"prediction":{"type":"string","enum":["human","synthetic"],"title":"Prediction"}},"additionalProperties":false,"type":"object","required":["start","end","synthetic_score","prediction"],"title":"Segment"}},"securitySchemes":{"HTTPBearer":{"type":"http","scheme":"bearer"}}}}