Complete guide to the DeepWiki-Open REST API for programmatic wiki generation and repository analysis
POST /wiki/generate
repo_url
(string, required): Repository URLmodel_provider
(string): AI provider (google
, openai
, openrouter
, azure
, ollama
)model_name
(string): Specific model to useforce_regenerate
(boolean): Force regeneration even if cachedaccess_token
(string): Repository access token for private reposauth_code
(string): Authorization code (if auth mode enabled)GET /wiki/projects
limit
(integer): Number of results to returnoffset
(integer): Pagination offsetGET /wiki/{project_id}
project_id
(string): Unique project identifierPOST /chat/stream
message
(string, required): User questionrepo_url
(string, required): Repository URL for contextconversation_history
(array): Previous conversation messagesmodel_provider
(string): AI provider for responsesdeep_research
(boolean): Enable multi-turn research modeGET /models/config
POST /models/validate
provider
(string): Provider to validatemodel_name
(string): Specific model to testhigh
, medium
, or low
github
, gitlab
, or bitbucket
main
or master
)400 Bad Request
401 Unauthorized
404 Not Found
429 Too Many Requests
500 Internal Server Error