Base URL
https://api.docengine.dev/api/v1
Authentication
All API requests require a Bearer token in the Authorization header. Obtain a token by authenticating through the /auth/login endpoint.
Authorization: Bearer <your-access-token>
Authentication
/auth/login
Authenticate and receive an access token.
/auth/register
Create a new user account.
/auth/refresh-token
Refresh an expired access token.
Organizations
/organizations
List all organizations for the authenticated user.
/organizations
Create a new organization.
/organizations/{id}
Get organization details by ID.
Workspaces
/workspaces
List workspaces in the current organization.
/workspaces
Create a new workspace.
Projects
/projects
List projects in the current workspace.
/projects
Create a new project.
/projects/{id}
Get project details including documents and tasks.
Documents
/documents
List documents in a project.
/documents/generate
Generate a new BRD from plain-text requirements using AI.
/documents/{id}/derive
Derive a child document (SRD, FRS, Epics, Stories) from an existing BRD.
/documents/{id}/export
Export a document as PDF, Word, Excel, or Markdown.
/documents/{id}/share
Generate a secure share link for the document.
Quality
/documents/{id}/quality-score
Run quality analysis on a document and receive a score with per-section breakdown.
Knowledge Graph
/projects/{id}/knowledge-graph
Retrieve the knowledge graph for a project including entities and relationships.
/projects/{id}/impact-analysis
Run impact analysis to understand the effect of changes across documents and tasks.