Skip to main content
GET
/
api
/
v1
/
files
List uploaded files
curl --request GET \
  --url https://handauncle-backend-prod-205012263523.asia-south1.run.app/api/v1/files \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "files": [
      {
        "fileId": "<string>",
        "filename": "<string>",
        "mimeType": "<string>",
        "size": 123,
        "url": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "conversationId": "<string>"
      }
    ],
    "total": 123,
    "limit": 123,
    "offset": 123
  },
  "meta": {
    "timestamp": "2023-11-07T05:31:56Z",
    "requestId": "<string>"
  }
}
Lists the caller’s uploads with optional limit, offset, and conversationId filters. Each entry includes the stored filename, MIME type, size, URL, and timestamps.

Authorizations

Authorization
string
header
required

Auth0 access token for registered users.

Query Parameters

limit
integer
default:20
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: x >= 0
conversationId
string

Limit uploads to a specific conversation.

Response

Files returned.

success
enum<boolean>
required
Available options:
true
data
object
required
meta
object
required