{"openapi":"3.1.0","info":{"title":"OpenHire API","version":"2.0.0","description":"Outcome-first workforce planning, team drafts, digital worker comparison, human-led hiring pipeline, MCP, and A2A API."},"servers":[{"url":"https://openhire.run"}],"paths":{"/api/health":{"get":{"summary":"Service and PostgreSQL health"}},"/api/plans/draft":{"post":{"summary":"Create a reviewable draft workforce plan (no external mutation)"}},"/api/plans/{id}/authorize":{"post":{"summary":"Authorize a saved team draft to publish roles and record an agent run"}},"/api/teams/templates":{"get":{"summary":"List reusable example department templates"}},"/api/teams":{"get":{"summary":"List workspace team drafts"},"post":{"summary":"Save a persistent team draft"}},"/api/roles":{"get":{"summary":"List roles"},"post":{"summary":"Create a role (auth required)"}},"/api/roles/{id}/matches":{"get":{"summary":"Digital worker comparison + factual human review (no human AI ranking)"}},"/api/talent":{"get":{"summary":"List human professionals and digital workers"}},"/api/applications":{"get":{"summary":"List applications with server-driven allowedNextStages"}},"/api/applications/{id}/stage":{"patch":{"summary":"Transition application stage (auth required)"}},"/api/offers":{"post":{"summary":"Create validated offer with explicit approval & idempotency (auth required)"}},"/api/admin/overview":{"get":{"summary":"Admin operations console metrics (admin auth required)"}},"/mcp":{"post":{"summary":"JSON-RPC 2.0 MCP Server"}},"/a2a":{"post":{"summary":"JSON-RPC 2.0 A2A Endpoint"}}}}