Files
List user's files with cursor-based pagination
Errors
Returns an error if database operations fail.
get/api/files
Query parameters
offsetstring uuid nullable
UUID offset for cursor-based pagination
limitinteger nullable
Maximum number of files to return (default: 50, max: 100)
Response
User files retrieved with pagination support
Example response
[
{
"created_at": "2023-01-01T00:00:00Z",
"file_hash": "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
"file_size": 1048576,
"filename": "document.pdf",
"id": "d290f1ee-6c54-4b01-90e6-d701748f0851",
"metadata": {
"description": "Important document"
},
"mime_type": "application/pdf",
"original_filename": "My Important Document.pdf",
"status": "uploaded",
"updated_at": "2023-01-01T00:00:00Z",
"user_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}
]