Retrieve, Update, or Delete RAG Document
Retrieve detailed information about a specific document, update its content, or delete it. All operations are restricted to the document owner.
Path parameters
document_id
Document ID
Request
This endpoint expects a multipart form.
document_name
document_url
content
config
document_file
Response
Document details
document_id
created_at
updated_at
file_type
file_size
user
upload_status
* `importing` - Importing
* `vectorizing` - Vectorizing
* `summarizing` - Summarizing
* `uploaded` - Uploaded
* `failed` - Failed
Allowed values:
has_file
status_message
Human-readable status / failure message for ingestion
description
owner
Simple user serializer with profile picture from associated IAMUserDetail.
Fields:
- id, email, full_name, username, is_verified (from IAMUser)
- profile_picture (from first related IAMUserDetail if present)
progress
Processing progress as percentage (0-100)
document_name
document_type
* `file` - File
* `url` - URL
* `user` - User
* `text` - Text
* `youtube` - YouTube
* `gdrive` - Google Drive
* `email` - Email
* `rss` - RSS Feed
content
config
Errors
401
Unauthorized Error
404
Not Found Error

