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.string
required
The GitHub repository URL to analyze and generate documentation for
string
Custom name for the project (defaults to repository name)
object
Generation configuration options
string
Optional webhook URL for completion notifications
Request Example
Response
string
required
Unique identifier for tracking the generation task
string
required
Unique project identifier for accessing results
string
required
Current task status: “queued”, “processing”, “completed”, or “failed”
integer
Estimated completion time in seconds
boolean
Whether webhook notification was successfully registered
Response Example
GET /wiki/projects
Retrieve a list of all processed repositories and their current status.integer
default:"1"
Page number for pagination
integer
default:"20"
Number of projects per page (max: 100)
string
Filter by status: “completed”, “processing”, “failed”
string
Search projects by name or repository URL
Request Example
Response
array
required
Array of project objects
object
required
Pagination information
GET /wiki/
Retrieve the complete wiki documentation for a specific project.string
required
The unique project identifier
string
default:"json"
Response format: “json”, “markdown”, or “html”
boolean
default:"true"
Include project metadata in response
Request Example
Response
string
required
Project identifier
string
required
Project display name
string
required
Original repository URL
string
required
ISO timestamp of wiki generation
array
required
Array of documentation pages
object
Project metadata (if include_metadata=true)
DELETE /wiki/
Delete a project’s cached wiki data and generated documentation.string
required
The unique project identifier to delete
Request Example
Response
boolean
required
Whether the deletion was successful
string
required
The deleted project identifier
string
required
Confirmation message
string
required
ISO timestamp of deletion
Response Example
POST /wiki/regenerate
Force regenerate wiki documentation for an existing project with updated configuration.string
required
The project identifier to regenerate
object
Updated generation configuration (same structure as /wiki/generate)
boolean
default:"false"
Force refresh from repository (ignore cache)
string
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.string
required
The task identifier returned from generation request
Request Example
Response
string
required
The task identifier
string
required
Associated project identifier
string
required
Current status: “queued”, “processing”, “completed”, “failed”
object
Progress information (when status is “processing”)
object
Results (when status is “completed”)
object
Error information (when status is “failed”)
string
required
ISO timestamp when task was created
string
required
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
Error Responses
All endpoints follow consistent error response format:HTTP Status Codes
Error Response Format
Common Error Codes
Webhooks
When providing awebhook_url in generation requests, DeepWikiOpen will send HTTP POST notifications when tasks complete:
Webhook Payload
Webhook Security
Webhooks include a signature header for verification:SDK Examples
Python SDK
Node.js SDK
Support
For API support and questions:- Documentation: docs.deepwikiopen.com
- Support Email: support@deepwikiopen.com
- Status Page: status.deepwikiopen.com
- Community Discord: discord.gg/deepwikiopen