# ViewSet for documents providing list, retrieve, create and upload operations. - list: Get all documents for the company - retrieve: Get a specific document - create: Create new document and get upload URL - confirm_upload: Confirm file upload completion - download: Generate download URL for private document Endpoint: GET /documents Version: 1.0 Security: Bearer ## Query parameters: - `limit` (integer) Number of results to return per page. - `offset` (integer) The initial index from which to return the results. ## Response 200 fields (application/json): - `count` (integer, required) - `next` (string,null) - `previous` (string,null) - `results` (array, required) - `results.id` (integer) - `results.name` (string, required) - `results.description` (string,null) - `results.source` (string, required) - `results.file_path` (string, required) GCS path: gs://bucket/path - `results.file_size` (integer,null) File size in bytes - `results.content_type` (string,null) - `results.upload_status` (string) Enum: "pending", "uploading", "completed", "failed" - `results.uploaded_at` (string,null) - `results.created_at` (string) - `results.updated_at` (string) - `results.company_id` (integer) - `results.user_company_id` (integer)