{"openapi":"3.1.0","info":{"title":"FastAPI","version":"0.1.0"},"paths":{"/v1/":{"get":{"tags":["service"],"summary":"Server Root","operationId":"server_root_v1__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/search":{"get":{"tags":["service"],"summary":"Detect Status Work","operationId":"detect_status_work_v1_search_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["service"],"summary":"Detect","operationId":"detect_v1_search_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_detect_v1_search_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/agent_search":{"get":{"tags":["service"],"summary":"Detect Agent Get","operationId":"detect_agent_get_v1_agent_search_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["service"],"summary":"Detect Agent","operationId":"detect_agent_v1_agent_search_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_detect_agent_v1_agent_search_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/usage_limit":{"get":{"tags":["service"],"summary":"Get Usage Limit","operationId":"get_usage_limit_v1_usage_limit_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/rank":{"post":{"tags":["service"],"summary":"Get Rank","operationId":"get_rank_v1_rank_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RankReqModel"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/result":{"get":{"tags":["service"],"summary":"Get Result Get","operationId":"get_result_get_v1_result_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["service"],"summary":"Get Result","operationId":"get_result_v1_result_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ResultForAgentCheckModel"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/feedback":{"post":{"tags":["service"],"summary":"Improve","operationId":"improve_v1_feedback_post","requestBody":{"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/Body_improve_v1_feedback_post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/trace":{"post":{"tags":["service"],"summary":"Trace","operationId":"trace_v1_trace_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TraceModel"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/v1/model/list":{"get":{"tags":["service"],"summary":"Get Model List","operationId":"get_model_list_v1_model_list_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/logs/reco":{"get":{"tags":["service"],"summary":"Get Recostat","description":"从2026年8月6日开始，不再允许普通用户获取识别统计数据，防止泄露限流规则, 先判断head\n:param request:\n:return:","operationId":"get_recoStat_v1_logs_reco_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/logs/code":{"get":{"tags":["service"],"summary":"Get Stat","description":"从2026年8月6日开始，不再允许普通用户获取识别统计数据，防止泄露限流规则, 先判断head\n:param request:\n:return:","operationId":"get_stat_v1_logs_code_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/captcha":{"get":{"tags":["service"],"summary":"Get Captcha","operationId":"get_captcha_v1_captcha_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/v1/admin/":{"get":{"tags":["admin"],"summary":"Admin Root","operationId":"admin_root_v1_admin__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/v1/admin/feature/list":{"get":{"tags":["admin"],"summary":"Feature List","operationId":"feature_list_v1_admin_feature_list_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"OAuth2PasswordBearer":[]}]}},"/":{"get":{"summary":"Root","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"Body_detect_agent_v1_agent_search_post":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"file":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"File"},"base64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base64"},"is_multi":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Multi","default":false},"ai_detect":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ai Detect","default":false},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model","default":"anime_model_lovelive"},"strict":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Strict","default":true},"lens":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Lens","default":false},"agent_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Token"}},"type":"object","title":"Body_detect_agent_v1_agent_search_post"},"Body_detect_v1_search_post":{"properties":{"url":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Url"},"file":{"anyOf":[{"type":"string","format":"binary"},{"type":"null"}],"title":"File"},"base64":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Base64"},"is_multi":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Is Multi","default":false},"ai_detect":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Ai Detect","default":false},"model":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Model","default":"anime_model_lovelive"},"strict":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Strict","default":true},"lens":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Lens","default":false},"agent_token":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Agent Token"}},"type":"object","title":"Body_detect_v1_search_post"},"Body_improve_v1_feedback_post":{"properties":{"work":{"type":"string","title":"Work"},"character":{"type":"string","title":"Character"},"acid":{"type":"string","title":"Acid"},"captcha":{"type":"string","title":"Captcha"},"wtype":{"type":"integer","title":"Wtype"}},"type":"object","title":"Body_improve_v1_feedback_post"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"RankReqModel":{"properties":{"from_time":{"type":"string","pattern":"^(\\d{4}-\\d{2}-\\d{2})?$","title":"From Time","default":""},"to_time":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$","title":"To Time"},"rank_type":{"type":"integer","maximum":1.0,"minimum":0.0,"title":"Rank Type"},"lang_type":{"type":"integer","maximum":7.0,"minimum":0.0,"title":"Lang Type","default":0},"password":{"type":"string","minLength":1,"title":"Password"}},"type":"object","required":["to_time","rank_type","password"],"title":"RankReqModel"},"ResultForAgentCheckModel":{"properties":{"trace_id":{"type":"string","minLength":1,"title":"Trace Id"},"password":{"type":"string","minLength":1,"title":"Password"}},"type":"object","required":["trace_id","password"],"title":"ResultForAgentCheckModel"},"TraceModel":{"properties":{"trace_id":{"type":"string","minLength":1,"title":"Trace Id"},"ptype":{"type":"integer","maximum":1.0,"minimum":0.0,"title":"Ptype"}},"type":"object","required":["trace_id","ptype"],"title":"TraceModel"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"OAuth2PasswordBearer":{"type":"oauth2","flows":{"password":{"scopes":{},"tokenUrl":"token"}}}}}}