files
files
Page 3 of 25.
Overview
Request
curl example
curl -sS \ "https://example-data.com/api/v1/files?limit=25"
JavaScript example
const res = await fetch(
"https://example-data.com/api/v1/files?limit=25"
);
const { data, meta } = await res.json(); TypeScript example
// Download once: mkdir -p types && curl -o types/files.d.ts https://example-data.com/types/files.d.ts
import type { File, ListEnvelope } from "./types/files";
const res = await fetch(
"https://example-data.com/api/v1/files?limit=25"
);
const { data, meta } = (await res.json()) as ListEnvelope<File>; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/files",
params={"limit": 25},
)
data = res.json() Response
{
"data": [
{
"id": 49,
"ownerUserId": 127,
"name": "Projects",
"mimeType": "application/x-directory",
"sizeBytes": 0,
"url": "https://files.example.com/folders/49",
"parentFolderId": 10,
"isFolder": true,
"createdAt": "2025-06-18T22:30:10.260Z",
"updatedAt": "2025-12-27T08:28:41.274Z"
},
{
"id": 50,
"ownerUserId": 72,
"name": "Imports",
"mimeType": "application/x-directory",
"sizeBytes": 0,
"url": "https://files.example.com/folders/50",
"parentFolderId": null,
"isFolder": true,
"createdAt": "2024-11-18T02:10:55.103Z",
"updatedAt": "2025-09-25T07:50:32.136Z"
},
{
"id": 51,
"ownerUserId": 102,
"name": "Images",
"mimeType": "application/x-directory",
"sizeBytes": 0,
"url": "https://files.example.com/folders/51",
"parentFolderId": 47,
"isFolder": true,
"createdAt": "2025-11-28T13:45:37.641Z",
"updatedAt": "2025-12-21T20:44:57.638Z"
}
],
"meta": {
"page": 3,
"limit": 24,
"total": 600,
"totalPages": 25
},
"links": {
"self": "/api/v1/files?page=3&limit=24",
"first": "/api/v1/files?page=1&limit=24",
"last": "/api/v1/files?page=25&limit=24",
"next": "/api/v1/files?page=4&limit=24",
"prev": "/api/v1/files?page=2&limit=24"
}
}