example-data.com

files / #151

ownerUserId
140
name
data-UyTJOV.csv
mimeType
text/csv
sizeBytes
48858970
url
https://files.example.com/objects/151/data-UyTJOV.csv
parentFolderId
25
isFolder
false
createdAt
updatedAt

Component variants

curl -sS \
  "https://example-data.com/api/v1/files/151" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/files/151"
);
const file = await res.json();
import type { File } from "https://example-data.com/types/files.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/files/151"
);
const file = (await res.json()) as File;
import requests

res = requests.get(
    "https://example-data.com/api/v1/files/151"
)
file = res.json()
{
  "id": 151,
  "ownerUserId": 140,
  "name": "data-UyTJOV.csv",
  "mimeType": "text/csv",
  "sizeBytes": 48858970,
  "url": "https://files.example.com/objects/151/data-UyTJOV.csv",
  "parentFolderId": 25,
  "isFolder": false,
  "createdAt": "2026-03-13T16:42:59.236Z",
  "updatedAt": "2026-03-20T15:43:15.845Z"
}
Draftbit