Overview
The DeepWikiOpen API provides endpoints for generating comprehensive documentation from repositories using AI-powered analysis. All endpoints require authentication and support JSON request/response formats.
Base URL : https://api.deepwikiopen.com/v1
Authentication : All endpoints require an API key in the Authorization header.
POST /wiki/generate
Generate comprehensive wiki documentation from a repository URL or uploaded codebase.
The GitHub repository URL to analyze and generate documentation for
Custom name for the project (defaults to repository name)
Generation configuration options Include code examples in generated documentation
Maximum directory depth to analyze (1-10)
File patterns to exclude from analysis (e.g., [“.test.js”, “node_modules/ ”])
Include private/internal functions in documentation
Output format: “markdown”, “html”, or “json”
Optional webhook URL for completion notifications
Request Example
Response
Unique identifier for tracking the generation task
Unique project identifier for accessing results
Current task status: “queued”, “processing”, “completed”, or “failed”
Estimated completion time in seconds
Whether webhook notification was successfully registered
GET /wiki/projects
Retrieve a list of all processed repositories and their current status.
Page number for pagination
Number of projects per page (max: 100)
Filter by status: “completed”, “processing”, “failed”
Search projects by name or repository URL
Request Example
Response
Array of project objects Show Project object properties
Unique project identifier
Display name of the project
ISO timestamp of creation
ISO timestamp of completion (if applicable)
Number of files processed
Number of documentation pages generated
Pagination information Show Pagination properties
Whether there are more pages
GET /wiki/
Retrieve the complete wiki documentation for a specific project.
The unique project identifier
Response format: “json”, “markdown”, or “html”
Include project metadata in response
Request Example
Response
ISO timestamp of wiki generation
Array of documentation pages Show Page object properties
Page content (format depends on query parameter)
Page type: “overview”, “api”, “guide”, “reference”
Project metadata (if include_metadata=true) Programming language distribution
Project complexity rating (0-10)
Last commit hash from repository
DELETE /wiki/
Delete a project’s cached wiki data and generated documentation.
The unique project identifier to delete
Request Example
Response
Whether the deletion was successful
The deleted project identifier
ISO timestamp of deletion
POST /wiki/regenerate
Force regenerate wiki documentation for an existing project with updated configuration.
The project identifier to regenerate
Updated generation configuration (same structure as /wiki/generate)
Force refresh from repository (ignore cache)
Optional webhook URL for completion notifications
Request Example
Response
Same response structure as POST /wiki/generate.
GET /wiki/status/
Check the status of a wiki generation task and get progress updates.
The task identifier returned from generation request
Request Example
Response
Associated project identifier
Current status: “queued”, “processing”, “completed”, “failed”
Progress information (when status is “processing”) Completion percentage (0-100)
Number of files processed so far
Estimated seconds remaining
Results (when status is “completed”) URL to access generated wiki
Total processing time in seconds
Error information (when status is “failed”)
ISO timestamp when task was created
ISO timestamp of last status update
Response Example (Processing)
Authentication
All API endpoints require authentication using an API key passed in the Authorization header:
Getting an API Key
Sign up for a DeepWikiOpen account at console.deepwikiopen.com
Navigate to the API Keys section
Generate a new API key
Store it securely (it won’t be shown again)
Rate Limiting
API requests are rate limited to prevent abuse:
Standard Plan : 100 requests per hour
Pro Plan : 1,000 requests per hour
Enterprise Plan : 10,000 requests per hour
Rate limit headers are included in all responses:
When rate limited, you’ll receive a 429 status code:
Error Responses
All endpoints follow consistent error response format:
HTTP Status Codes
Common Error Codes
Webhooks
When providing a webhook_url in generation requests, DeepWikiOpen will send HTTP POST notifications when tasks complete:
Webhook Payload
Webhook Security
Webhooks include a signature header for verification:
Verify the signature using your webhook secret (available in your dashboard).
SDK Examples
Python SDK
Node.js SDK
Support
For API support and questions: