API Endpoints
SDD Classification: L3-Technical
Authority: Engineering Team
Review Cycle: Quarterly
Base URL
Document Endpoints
Create Document
Creates a new document in a workspace.
Response:
201 Created
Get Document
Retrieves a document by ID.
Query Parameters:
Response:
200 OK
Update Document
Partially updates a document.
Response:
200 OK
Delete Document
Soft-deletes a document (recoverable for 30 days).204 No Content
Errors:
List Documents
Lists documents with pagination and filtering.
Response:
200 OK
Search Documents
Full-text search across documents.
Response:
200 OK
Workspace Endpoints
Create Workspace
201 Created
Get Workspace
200 OK
List Workspace Members
200 OK
Invite Member
201 Created
AI Endpoints
Generate Content
Generates content using AI with streaming response.
Request Body:
Streaming Response:
200 OK (text/event-stream)
200 OK (application/json)
Get AI Usage
Response:
200 OK
File Endpoints
Upload File
Get a pre-signed URL for file upload.200 OK
Get File
200 OK
Authentication Endpoints
Refresh Token
200 OK
Logout
204 No Content
Health Endpoints
Health Check
200 OK
Readiness Check
200 OK
503 Service Unavailable (if dependencies unhealthy)
Metrics
200 OK (text/plain, Prometheus format)
Error Response Format
All errors follow a consistent format:Common Error Codes
Related Documentation
- Overview - Service overview
- Authentication - Auth flows
- Rate Limiting - Request limits
- Architecture - System design
Document Status: Complete Version: 2.0