Skip to main content
Retrieve all files accessible to the authenticated user.

Query Parameters

file_type
string
Filter by file type: document, image, video, audio, archive, code, data, other
status
string
Filter by status: uploading, active, archived, deleted, error
Search files by filename
tags
array
Filter by tags (can specify multiple)
include_deleted
boolean
Include deleted files in results (default: false)
curl -X GET "https://api-be.atthene.com/api/v1/files/?file_type=document&status=active" \
  -H "x-api-key: YOUR_API_KEY"

Response

[
  {
    "id": "file_123",
    "original_filename": "product_manual.pdf",
    "file_type": "document",
    "size_bytes": 2048576,
    "status": "active",
    "tags": ["manual", "product"],
    "created_at": "2025-01-15T10:30:00Z",
    "updated_at": "2025-01-15T10:30:00Z"
  }
]