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
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
Response Example
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
Pagination information
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
Project identifier
Project display name
Original repository URL
ISO timestamp of wiki generation
Array of documentation pages
Project metadata (if include_metadata=true)
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
Confirmation message
ISO timestamp of deletion
Response Example
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
The task identifier
Associated project identifier
Current status: “queued”, “processing”, “completed”, “failed”
Progress information (when status is “processing”)
Results (when status is “completed”)
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
Error Responses
All endpoints follow consistent error response format:HTTP Status Codes
Code | Description |
---|---|
200 | Success |
201 | Created |
400 | Bad Request |
401 | Unauthorized |
403 | Forbidden |
404 | Not Found |
429 | Rate Limited |
500 | Internal Server Error |
503 | Service Unavailable |
Error Response Format
Common Error Codes
Code | Description |
---|---|
INVALID_API_KEY | API key is missing or invalid |
PROJECT_NOT_FOUND | Specified project doesn’t exist |
TASK_NOT_FOUND | Specified task doesn’t exist |
INVALID_REPOSITORY_URL | Repository URL is malformed or inaccessible |
GENERATION_FAILED | Wiki generation failed due to processing error |
RATE_LIMIT_EXCEEDED | Too many requests within time window |
INSUFFICIENT_CREDITS | Not enough API credits remaining |
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