{"openapi":"3.1.0","info":{"title":"JUKEYMAN Orchestrator API","description":"201-agent multi-agent AGI orchestration system by Rick Jefferson / RJ Business Solutions. Runs on Cloudflare Workers edge.","version":"1.0.0","contact":{"name":"RJ Business Solutions","url":"https://rjbusinesssolutions.org","email":"support@rjbusinesssolutions.org"}},"servers":[{"url":"https://jukeyman-orchestrator.rickjefferson.workers.dev","description":"Production edge"},{"url":"https://jukeyman-orchestrator-staging.rickjefferson.workers.dev","description":"Staging edge"}],"paths":{"/health":{"get":{"summary":"Liveness + agent counts","responses":{"200":{"description":"Healthy"}}}},"/ready":{"get":{"summary":"Dependency readiness (KV, LLM)","responses":{"200":{"description":"Ready or degraded"}}}},"/console":{"get":{"summary":"Browser orchestration console","responses":{"200":{"description":"HTML"}}}},"/api/v1/agents":{"get":{"summary":"Full 201-agent registry","responses":{"200":{"description":"Agents + counts"}}}},"/api/v1/departments":{"get":{"summary":"20 departments","responses":{"200":{"description":"Department list"}}}},"/api/v1/niches":{"get":{"summary":"Available niches","responses":{"200":{"description":"Niche configs"}}}},"/api/v1/plan":{"post":{"summary":"Plan only","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalRequest"}}}},"responses":{"200":{"description":"Plan"}}}},"/api/v1/route":{"post":{"summary":"Route only","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalRequest"}}}},"responses":{"200":{"description":"Routing decision"}}}},"/api/v1/process":{"post":{"summary":"Full orchestration","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GoalRequest"}}}},"responses":{"200":{"description":"Orchestration result"},"429":{"description":"Rate limited"}}}},"/api/v1/runs":{"get":{"summary":"Recent run IDs","responses":{"200":{"description":"Run list"}}}},"/api/v1/runs/{id}":{"get":{"summary":"Get run by id","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Run"},"404":{"description":"Not found"}}}},"/api/v1/optimize":{"get":{"summary":"Self-optimization insights","responses":{"200":{"description":"Insights"}}}},"/api/v1/credit-repair/letter":{"post":{"summary":"Credit repair dispute letter orchestration","responses":{"200":{"description":"Letter payload"}}}}},"components":{"schemas":{"GoalRequest":{"type":"object","properties":{"request":{"type":"string","minLength":3,"maxLength":8000},"goal":{"type":"string","minLength":3,"maxLength":8000},"user_id":{"type":"string"},"niche":{"type":"string","enum":["default","saas_build","credit_repair","gov_contracting","agency_ops"]},"context":{"type":"object","additionalProperties":true},"use_llm_synthesis":{"type":"boolean","default":true}}}},"securitySchemes":{"ApiKey":{"type":"apiKey","in":"header","name":"X-API-Key"}}}}