{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/":{"get":{"summary":"Read Root","operationId":"read_root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/agents":{"get":{"summary":"Read Agents","operationId":"read_agents_agents_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/agents/playground":{"get":{"summary":"Read Agents Playground","operationId":"read_agents_playground_agents_playground_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/arena":{"get":{"summary":"Read Arena","operationId":"read_arena_arena_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v0/chat/completions":{"post":{"summary":"Chat Completions","operationId":"chat_completions_v0_chat_completions_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v0/tools/ai/":{"post":{"summary":"Ai Route","operationId":"ai_route_v0_tools_ai__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AIRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/tools/ai/search":{"get":{"summary":"List Models","operationId":"list_models_v0_tools_ai_search_get","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","title":"Query"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/tools/ai/upload":{"post":{"summary":"Upload File","operationId":"upload_file_v0_tools_ai_upload_post","requestBody":{"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_file_v0_tools_ai_upload_post"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/tools/browser/search":{"post":{"summary":"Search Route","operationId":"search_route_v0_tools_browser_search_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Query"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/browser/search":{"get":{"summary":"Search Route","operationId":"search_route_v0_browser_search_get","parameters":[{"name":"query","in":"query","required":true,"schema":{"type":"string","title":"Query"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/eval":{"post":{"summary":"Eval","description":"Returns: The job name","operationId":"eval_v0_eval_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PredictionsEval"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"type":"string","title":"Response Eval V0 Eval Post"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/status/{job_id}":{"get":{"summary":"Status","operationId":"status_v0_status__job_id__get","parameters":[{"name":"job_id","in":"path","required":true,"schema":{"type":"string","title":"Job Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SWEbenchEvalStatus"}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/agents/livekit/token":{"get":{"summary":"Gettoken","operationId":"getToken_v0_agents_livekit_token_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v0/agents/livekit":{"get":{"summary":"Connect","operationId":"connect_v0_agents_livekit_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"summary":"Heartbeat","operationId":"heartbeat_v0_agents_livekit_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HeartbeatRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/agents/create":{"post":{"summary":"Create Agent Endpoint","operationId":"create_agent_endpoint_v0_agents_create_post","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/agents/{agent_id}":{"delete":{"summary":"Delete Agent","operationId":"delete_agent_v0_agents__agent_id__delete","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}},"get":{"summary":"Get Agent Status","operationId":"get_agent_status_v0_agents__agent_id__get","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}},{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/agents/list":{"get":{"summary":"List Agents","operationId":"list_agents_v0_agents_list_get","parameters":[{"name":"x-api-key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/agents/chat/completions":{"post":{"summary":"Openai Full Passthrough","operationId":"openai_full_passthrough_v0_agents_chat_completions_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v0/agents/{agent_id}/openai/chat/completions":{"post":{"summary":"Openai Passthrough","operationId":"openai_passthrough_v0_agents__agent_id__openai_chat_completions_post","parameters":[{"name":"agent_id","in":"path","required":true,"schema":{"type":"string","title":"Agent Id"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/point/text/":{"post":{"summary":"Find Text Centers Endpoint","operationId":"find_text_centers_endpoint_v0_point_text__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TextDetectionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/text/":{"post":{"summary":"Get Text Endpoint","operationId":"get_text_endpoint_v0_text__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllTextDetectionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/point/":{"post":{"summary":"Display","operationId":"display_v0_point__post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IconDetectionRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v0/contribute":{"post":{"summary":"Contribute Conversations","operationId":"contribute_conversations_v0_contribute_post","requestBody":{"content":{"application/json":{"schema":{"additionalProperties":true,"type":"object","title":"Request"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/tiny/name":{"get":{"summary":"Extract Name","operationId":"extract_name_tiny_name_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tiny/sort":{"get":{"summary":"Sort Filenames","operationId":"sort_filenames_tiny_sort_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tiny/apps":{"get":{"summary":"Sort Filenames","operationId":"sort_filenames_tiny_apps_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/tiny/comments":{"get":{"summary":"Comments","operationId":"comments_tiny_comments_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"AIRequest":{"properties":{"model":{"type":"string","title":"Model"},"input":{"additionalProperties":true,"type":"object","title":"Input"}},"type":"object","required":["model","input"],"title":"AIRequest"},"AllTextDetectionRequest":{"properties":{"base64":{"type":"string","title":"Base64"}},"type":"object","required":["base64"],"title":"AllTextDetectionRequest"},"Body_upload_file_v0_tools_ai_upload_post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_file_v0_tools_ai_upload_post"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"HeartbeatRequest":{"properties":{"sandbox_id":{"type":"string","title":"Sandbox Id"}},"type":"object","required":["sandbox_id"],"title":"HeartbeatRequest"},"IconDetectionRequest":{"properties":{"base64":{"type":"string","title":"Base64"},"query":{"type":"string","title":"Query"}},"type":"object","required":["base64","query"],"title":"IconDetectionRequest"},"PredictionsEval":{"properties":{"dataset_name":{"type":"string","title":"Dataset Name"},"split":{"type":"string","title":"Split"},"predictions":{"items":{"$ref":"#/components/schemas/SWEbenchPrediction"},"type":"array","title":"Predictions"}},"type":"object","required":["dataset_name","split","predictions"],"title":"PredictionsEval"},"Query":{"properties":{"query":{"type":"string","title":"Query"}},"type":"object","required":["query"],"title":"Query"},"SWEbenchEvalStatus":{"properties":{"state":{"type":"string","title":"State"},"runtime":{"type":"integer","title":"Runtime"},"results":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Results"}},"type":"object","required":["state","runtime","results"],"title":"SWEbenchEvalStatus"},"SWEbenchPrediction":{"properties":{"instance_id":{"type":"string","title":"Instance Id"},"model_patch":{"type":"string","title":"Model Patch"},"model_name_or_path":{"type":"string","title":"Model Name Or Path"}},"type":"object","required":["instance_id","model_patch","model_name_or_path"],"title":"SWEbenchPrediction"},"TextDetectionRequest":{"properties":{"base64":{"type":"string","title":"Base64"},"query":{"type":"string","title":"Query"}},"type":"object","required":["base64","query"],"title":"TextDetectionRequest"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}