{"openapi":"3.1.0","info":{"title":"Is it Decentralized","description":"Analyzes the level of decentralization in protocols, networks, and organizations according to a rubric","version":"1.0.0"},"paths":{"/analyze":{"post":{"summary":"Analyze Protocol Decentralization","description":"Analyzes a protocol or network to determine its level of decentralization across multiple attributes.\n    \n    The analysis uses a rubric created by UDHC (udhc.com)\n    \n    Returns both a final analysis score and detailed breakdown of the evaluation.","operationId":"analyze_text_analyze_post","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"API key for authentication","title":"X-Api-Key"},"description":"API key for authentication","example":"1234"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalysisInput"}}}},"responses":{"200":{"description":"Successful analysis","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalysisOutput"},"example":{"final_analysis":"Score: 4.0\nAnalysis: Protocol shows high level of decentralization across key metrics","detailed_response":"Detailed breakdown of analysis..."}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}},"500":{"description":"Analysis failed","content":{"application/json":{"example":{"error":"Analysis failed","message":"An unexpected error occurred during analysis. Please try again."}}}},"504":{"description":"Analysis timeout","content":{"application/json":{"example":{"error":"Analysis timed out","message":"The analysis took too long to complete. Please try again or analyze a different protocol."}}}}}}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"X-API-Key"}}},"security":[{"ApiKeyAuth":[]}]}