{"owner":"open-webui","repo":"open-webui","hasSpec":true,"specFile":"backend/open_webui/routers/*.py (FastAPI / Python Routes)","branch":"main","format":"json","version":"3.0.0 (FastAPI / Python)","title":"open-webui REST API","description":"OpenAPI 3.0.0 specification synthesized deterministically from FastAPI / Python router source definitions (107 routes discovered across 4 router files).","pathsCount":90,"endpoints":[{"method":"GET","path":"/models/list","summary":"GET /models/list","file":"backend/open_webui/routers/models.py"},{"method":"GET","path":"/models/all","summary":"GET /models/all","file":"backend/open_webui/routers/models.py"},{"method":"GET","path":"/models/base/tags","summary":"GET /models/base/tags","file":"backend/open_webui/routers/models.py"},{"method":"GET","path":"/models/base","summary":"GET /models/base","file":"backend/open_webui/routers/models.py"},{"method":"GET","path":"/models/tags","summary":"GET /models/tags","file":"backend/open_webui/routers/models.py"},{"method":"POST","path":"/models/create","summary":"POST /models/create","file":"backend/open_webui/routers/models.py"},{"method":"GET","path":"/models/export","summary":"GET /models/export","file":"backend/open_webui/routers/models.py"},{"method":"POST","path":"/models/import","summary":"POST /models/import","file":"backend/open_webui/routers/models.py"},{"method":"POST","path":"/models/sync","summary":"POST /models/sync","file":"backend/open_webui/routers/models.py"},{"method":"GET","path":"/models/model","summary":"GET /models/model","file":"backend/open_webui/routers/models.py"},{"method":"GET","path":"/models/model/history","summary":"GET /models/model/history","file":"backend/open_webui/routers/models.py"},{"method":"GET","path":"/models/model/history/{history_id}","summary":"GET /models/model/history/{history_id}","file":"backend/open_webui/routers/models.py"},{"method":"DELETE","path":"/models/model/history/{history_id}","summary":"DELETE /models/model/history/{history_id}","file":"backend/open_webui/routers/models.py"},{"method":"POST","path":"/models/model/update/version","summary":"POST /models/model/update/version","file":"backend/open_webui/routers/models.py"},{"method":"GET","path":"/models/model/profile/image","summary":"GET /models/model/profile/image","file":"backend/open_webui/routers/models.py"},{"method":"POST","path":"/models/model/toggle","summary":"POST /models/model/toggle","file":"backend/open_webui/routers/models.py"},{"method":"POST","path":"/models/model/update","summary":"POST /models/model/update","file":"backend/open_webui/routers/models.py"},{"method":"POST","path":"/models/model/access/update","summary":"POST /models/model/access/update","file":"backend/open_webui/routers/models.py"},{"method":"POST","path":"/models/model/delete","summary":"POST /models/model/delete","file":"backend/open_webui/routers/models.py"},{"method":"DELETE","path":"/models/delete/all","summary":"DELETE /models/delete/all","file":"backend/open_webui/routers/models.py"},{"method":"GET","path":"/chats/","summary":"GET /chats/","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/list","summary":"GET /chats/list","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/read","summary":"POST /chats/read","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/stats/usage","summary":"GET /chats/stats/usage","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/stats/export","summary":"GET /chats/stats/export","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/stats/export/{chat_id}","summary":"GET /chats/stats/export/{chat_id}","file":"backend/open_webui/routers/chats.py"},{"method":"DELETE","path":"/chats/","summary":"DELETE /chats/","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/list/user/{user_id}","summary":"GET /chats/list/user/{user_id}","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/new","summary":"POST /chats/new","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/import","summary":"POST /chats/import","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/config","summary":"GET /chats/config","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/config","summary":"POST /chats/config","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/search","summary":"GET /chats/search","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/folder/{folder_id}","summary":"GET /chats/folder/{folder_id}","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/folder/{folder_id}/list","summary":"GET /chats/folder/{folder_id}/list","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/pinned","summary":"GET /chats/pinned","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/all","summary":"GET /chats/all","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/all/archived","summary":"GET /chats/all/archived","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/all/tags","summary":"GET /chats/all/tags","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/all/db","summary":"GET /chats/all/db","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/archived","summary":"GET /chats/archived","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/archived/count","summary":"GET /chats/archived/count","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/archive/all","summary":"POST /chats/archive/all","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/unarchive/all","summary":"POST /chats/unarchive/all","file":"backend/open_webui/routers/chats.py"},{"method":"DELETE","path":"/chats/share/all","summary":"DELETE /chats/share/all","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/shared","summary":"GET /chats/shared","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/share/{share_id}","summary":"GET /chats/share/{share_id}","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/tags","summary":"POST /chats/tags","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/{id}/compact","summary":"POST /chats/{id}/compact","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/{id}","summary":"GET /chats/{id}","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/{id}","summary":"POST /chats/{id}","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/{id}/messages/{message_id}","summary":"POST /chats/{id}/messages/{message_id}","file":"backend/open_webui/routers/chats.py"},{"method":"DELETE","path":"/chats/{id}/messages/{message_id}","summary":"DELETE /chats/{id}/messages/{message_id}","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/{id}/messages/{message_id}/event","summary":"POST /chats/{id}/messages/{message_id}/event","file":"backend/open_webui/routers/chats.py"},{"method":"DELETE","path":"/chats/{id}","summary":"DELETE /chats/{id}","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/{id}/pinned","summary":"GET /chats/{id}/pinned","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/{id}/pin","summary":"POST /chats/{id}/pin","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/{id}/fork","summary":"POST /chats/{id}/fork","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/{id}/clone","summary":"POST /chats/{id}/clone","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/{id}/clone/shared","summary":"POST /chats/{id}/clone/shared","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/{id}/archive","summary":"POST /chats/{id}/archive","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/{id}/share","summary":"POST /chats/{id}/share","file":"backend/open_webui/routers/chats.py"},{"method":"DELETE","path":"/chats/{id}/share","summary":"DELETE /chats/{id}/share","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/shared/{id}/access/update","summary":"POST /chats/shared/{id}/access/update","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/shared/{id}/access","summary":"GET /chats/shared/{id}/access","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/{id}/unread","summary":"POST /chats/{id}/unread","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/{id}/folder","summary":"POST /chats/{id}/folder","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/chats/{id}/tags","summary":"GET /chats/{id}/tags","file":"backend/open_webui/routers/chats.py"},{"method":"POST","path":"/chats/{id}/tags","summary":"POST /chats/{id}/tags","file":"backend/open_webui/routers/chats.py"},{"method":"DELETE","path":"/chats/{id}/tags","summary":"DELETE /chats/{id}/tags","file":"backend/open_webui/routers/chats.py"},{"method":"GET","path":"/auths/","summary":"GET /auths/","file":"backend/open_webui/routers/auths.py"},{"method":"POST","path":"/auths/update/profile","summary":"POST /auths/update/profile","file":"backend/open_webui/routers/auths.py"},{"method":"POST","path":"/auths/update/timezone","summary":"POST /auths/update/timezone","file":"backend/open_webui/routers/auths.py"},{"method":"POST","path":"/auths/update/password","summary":"POST /auths/update/password","file":"backend/open_webui/routers/auths.py"},{"method":"POST","path":"/auths/ldap","summary":"POST /auths/ldap","file":"backend/open_webui/routers/auths.py"},{"method":"POST","path":"/auths/signin","summary":"POST /auths/signin","file":"backend/open_webui/routers/auths.py"},{"method":"POST","path":"/auths/signup","summary":"POST /auths/signup","file":"backend/open_webui/routers/auths.py"},{"method":"POST","path":"/auths/signout","summary":"POST /auths/signout","file":"backend/open_webui/routers/auths.py"},{"method":"DELETE","path":"/auths/oauth/sessions/{provider:path}","summary":"DELETE /auths/oauth/sessions/{provider:path}","file":"backend/open_webui/routers/auths.py"},{"method":"POST","path":"/auths/add","summary":"POST /auths/add","file":"backend/open_webui/routers/auths.py"},{"method":"GET","path":"/auths/admin/details","summary":"GET /auths/admin/details","file":"backend/open_webui/routers/auths.py"},{"method":"GET","path":"/auths/admin/config","summary":"GET /auths/admin/config","file":"backend/open_webui/routers/auths.py"},{"method":"POST","path":"/auths/admin/config","summary":"POST /auths/admin/config","file":"backend/open_webui/routers/auths.py"},{"method":"GET","path":"/auths/admin/config/ldap/server","summary":"GET /auths/admin/config/ldap/server","file":"backend/open_webui/routers/auths.py"},{"method":"POST","path":"/auths/admin/config/ldap/server","summary":"POST /auths/admin/config/ldap/server","file":"backend/open_webui/routers/auths.py"},{"method":"GET","path":"/auths/admin/config/ldap","summary":"GET /auths/admin/config/ldap","file":"backend/open_webui/routers/auths.py"},{"method":"POST","path":"/auths/admin/config/ldap","summary":"POST /auths/admin/config/ldap","file":"backend/open_webui/routers/auths.py"},{"method":"GET","path":"/auths/admin/config/oauth","summary":"GET /auths/admin/config/oauth","file":"backend/open_webui/routers/auths.py"},{"method":"POST","path":"/auths/admin/config/oauth","summary":"POST /auths/admin/config/oauth","file":"backend/open_webui/routers/auths.py"},{"method":"POST","path":"/auths/api_key","summary":"POST /auths/api_key","file":"backend/open_webui/routers/auths.py"},{"method":"DELETE","path":"/auths/api_key","summary":"DELETE /auths/api_key","file":"backend/open_webui/routers/auths.py"},{"method":"GET","path":"/auths/api_key","summary":"GET /auths/api_key","file":"backend/open_webui/routers/auths.py"},{"method":"POST","path":"/auths/oauth/{provider}/token/exchange","summary":"POST /auths/oauth/{provider}/token/exchange","file":"backend/open_webui/routers/auths.py"},{"method":"POST","path":"/files/","summary":"POST /files/","file":"backend/open_webui/routers/files.py"},{"method":"GET","path":"/files/","summary":"GET /files/","file":"backend/open_webui/routers/files.py"},{"method":"GET","path":"/files/search","summary":"GET /files/search","file":"backend/open_webui/routers/files.py"},{"method":"GET","path":"/files/count","summary":"GET /files/count","file":"backend/open_webui/routers/files.py"},{"method":"DELETE","path":"/files/all","summary":"DELETE /files/all","file":"backend/open_webui/routers/files.py"},{"method":"GET","path":"/files/{id}","summary":"GET /files/{id}","file":"backend/open_webui/routers/files.py"},{"method":"GET","path":"/files/{id}/process/status","summary":"GET /files/{id}/process/status","file":"backend/open_webui/routers/files.py"}],"spec":{"openapi":"3.0.0","info":{"title":"open-webui REST API","version":"1.0.0","description":"OpenAPI 3.0.0 specification synthesized deterministically from FastAPI / Python router source definitions (107 routes discovered across 4 router files)."},"paths":{"/models/list":{"get":{"summary":"GET /models/list","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/models/all":{"get":{"summary":"GET /models/all","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/models/base/tags":{"get":{"summary":"GET /models/base/tags","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/models/base":{"get":{"summary":"GET /models/base","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/models/tags":{"get":{"summary":"GET /models/tags","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/models/create":{"post":{"summary":"POST /models/create","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/models/export":{"get":{"summary":"GET /models/export","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/models/import":{"post":{"summary":"POST /models/import","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/models/sync":{"post":{"summary":"POST /models/sync","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/models/model":{"get":{"summary":"GET /models/model","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/models/model/history":{"get":{"summary":"GET /models/model/history","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/models/model/history/{history_id}":{"get":{"summary":"GET /models/model/history/{history_id}","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}},"delete":{"summary":"DELETE /models/model/history/{history_id}","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/models/model/update/version":{"post":{"summary":"POST /models/model/update/version","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/models/model/profile/image":{"get":{"summary":"GET /models/model/profile/image","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/models/model/toggle":{"post":{"summary":"POST /models/model/toggle","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/models/model/update":{"post":{"summary":"POST /models/model/update","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/models/model/access/update":{"post":{"summary":"POST /models/model/access/update","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/models/model/delete":{"post":{"summary":"POST /models/model/delete","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/models/delete/all":{"delete":{"summary":"DELETE /models/delete/all","description":"Route definition extracted from `backend/open_webui/routers/models.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/":{"get":{"summary":"GET /chats/","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}},"delete":{"summary":"DELETE /chats/","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/list":{"get":{"summary":"GET /chats/list","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/read":{"post":{"summary":"POST /chats/read","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/stats/usage":{"get":{"summary":"GET /chats/stats/usage","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/stats/export":{"get":{"summary":"GET /chats/stats/export","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/stats/export/{chat_id}":{"get":{"summary":"GET /chats/stats/export/{chat_id}","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/list/user/{user_id}":{"get":{"summary":"GET /chats/list/user/{user_id}","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/new":{"post":{"summary":"POST /chats/new","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/import":{"post":{"summary":"POST /chats/import","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/config":{"get":{"summary":"GET /chats/config","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}},"post":{"summary":"POST /chats/config","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/search":{"get":{"summary":"GET /chats/search","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/folder/{folder_id}":{"get":{"summary":"GET /chats/folder/{folder_id}","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/folder/{folder_id}/list":{"get":{"summary":"GET /chats/folder/{folder_id}/list","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/pinned":{"get":{"summary":"GET /chats/pinned","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/all":{"get":{"summary":"GET /chats/all","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/all/archived":{"get":{"summary":"GET /chats/all/archived","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/all/tags":{"get":{"summary":"GET /chats/all/tags","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/all/db":{"get":{"summary":"GET /chats/all/db","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/archived":{"get":{"summary":"GET /chats/archived","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/archived/count":{"get":{"summary":"GET /chats/archived/count","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/archive/all":{"post":{"summary":"POST /chats/archive/all","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/unarchive/all":{"post":{"summary":"POST /chats/unarchive/all","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/share/all":{"delete":{"summary":"DELETE /chats/share/all","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/shared":{"get":{"summary":"GET /chats/shared","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/share/{share_id}":{"get":{"summary":"GET /chats/share/{share_id}","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/tags":{"post":{"summary":"POST /chats/tags","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/{id}/compact":{"post":{"summary":"POST /chats/{id}/compact","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/{id}":{"get":{"summary":"GET /chats/{id}","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}},"post":{"summary":"POST /chats/{id}","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}},"delete":{"summary":"DELETE /chats/{id}","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/{id}/messages/{message_id}":{"post":{"summary":"POST /chats/{id}/messages/{message_id}","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}},"delete":{"summary":"DELETE /chats/{id}/messages/{message_id}","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/{id}/messages/{message_id}/event":{"post":{"summary":"POST /chats/{id}/messages/{message_id}/event","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/{id}/pinned":{"get":{"summary":"GET /chats/{id}/pinned","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/{id}/pin":{"post":{"summary":"POST /chats/{id}/pin","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/{id}/fork":{"post":{"summary":"POST /chats/{id}/fork","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/{id}/clone":{"post":{"summary":"POST /chats/{id}/clone","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/{id}/clone/shared":{"post":{"summary":"POST /chats/{id}/clone/shared","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/{id}/archive":{"post":{"summary":"POST /chats/{id}/archive","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/{id}/share":{"post":{"summary":"POST /chats/{id}/share","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}},"delete":{"summary":"DELETE /chats/{id}/share","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/shared/{id}/access/update":{"post":{"summary":"POST /chats/shared/{id}/access/update","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/shared/{id}/access":{"get":{"summary":"GET /chats/shared/{id}/access","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/{id}/unread":{"post":{"summary":"POST /chats/{id}/unread","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/{id}/folder":{"post":{"summary":"POST /chats/{id}/folder","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/chats/{id}/tags":{"get":{"summary":"GET /chats/{id}/tags","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}},"post":{"summary":"POST /chats/{id}/tags","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}},"delete":{"summary":"DELETE /chats/{id}/tags","description":"Route definition extracted from `backend/open_webui/routers/chats.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/auths/":{"get":{"summary":"GET /auths/","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/auths/update/profile":{"post":{"summary":"POST /auths/update/profile","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/auths/update/timezone":{"post":{"summary":"POST /auths/update/timezone","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/auths/update/password":{"post":{"summary":"POST /auths/update/password","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/auths/ldap":{"post":{"summary":"POST /auths/ldap","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/auths/signin":{"post":{"summary":"POST /auths/signin","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/auths/signup":{"post":{"summary":"POST /auths/signup","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/auths/signout":{"post":{"summary":"POST /auths/signout","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/auths/oauth/sessions/{provider:path}":{"delete":{"summary":"DELETE /auths/oauth/sessions/{provider:path}","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/auths/add":{"post":{"summary":"POST /auths/add","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/auths/admin/details":{"get":{"summary":"GET /auths/admin/details","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/auths/admin/config":{"get":{"summary":"GET /auths/admin/config","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}},"post":{"summary":"POST /auths/admin/config","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/auths/admin/config/ldap/server":{"get":{"summary":"GET /auths/admin/config/ldap/server","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}},"post":{"summary":"POST /auths/admin/config/ldap/server","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/auths/admin/config/ldap":{"get":{"summary":"GET /auths/admin/config/ldap","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}},"post":{"summary":"POST /auths/admin/config/ldap","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/auths/admin/config/oauth":{"get":{"summary":"GET /auths/admin/config/oauth","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}},"post":{"summary":"POST /auths/admin/config/oauth","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/auths/api_key":{"post":{"summary":"POST /auths/api_key","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}},"delete":{"summary":"DELETE /auths/api_key","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}},"get":{"summary":"GET /auths/api_key","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/auths/oauth/{provider}/token/exchange":{"post":{"summary":"POST /auths/oauth/{provider}/token/exchange","description":"Route definition extracted from `backend/open_webui/routers/auths.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/files/":{"post":{"summary":"POST /files/","description":"Route definition extracted from `backend/open_webui/routers/files.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}},"get":{"summary":"GET /files/","description":"Route definition extracted from `backend/open_webui/routers/files.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/files/search":{"get":{"summary":"GET /files/search","description":"Route definition extracted from `backend/open_webui/routers/files.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/files/count":{"get":{"summary":"GET /files/count","description":"Route definition extracted from `backend/open_webui/routers/files.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/files/all":{"delete":{"summary":"DELETE /files/all","description":"Route definition extracted from `backend/open_webui/routers/files.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/files/{id}":{"get":{"summary":"GET /files/{id}","description":"Route definition extracted from `backend/open_webui/routers/files.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}},"delete":{"summary":"DELETE /files/{id}","description":"Route definition extracted from `backend/open_webui/routers/files.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/files/{id}/process/status":{"get":{"summary":"GET /files/{id}/process/status","description":"Route definition extracted from `backend/open_webui/routers/files.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/files/{id}/data/content":{"get":{"summary":"GET /files/{id}/data/content","description":"Route definition extracted from `backend/open_webui/routers/files.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/files/{id}/data/content/update":{"post":{"summary":"POST /files/{id}/data/content/update","description":"Route definition extracted from `backend/open_webui/routers/files.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/files/{id}/content":{"get":{"summary":"GET /files/{id}/content","description":"Route definition extracted from `backend/open_webui/routers/files.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/files/{id}/content/html":{"get":{"summary":"GET /files/{id}/content/html","description":"Route definition extracted from `backend/open_webui/routers/files.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/files/{id}/content/{file_name}":{"get":{"summary":"GET /files/{id}/content/{file_name}","description":"Route definition extracted from `backend/open_webui/routers/files.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}},"/files/{id}/rename":{"post":{"summary":"POST /files/{id}/rename","description":"Route definition extracted from `backend/open_webui/routers/files.py`","responses":{"200":{"description":"Successful response"},"400":{"description":"Bad request / validation error"}}}}}}}