/developers
Developer docsAtom Files ↗
← API referenceFiles & delivery · API access unavailable
API REFERENCE / FILES

GET /v1/files/{file_id}

Read stable file identity, current version, size, media type, and availability. Provider credentials and Mac filesystem paths stay private.

Request fields

LocationFieldTypeRequiredDescription
HeaderAuthorizationstringYesCredential scoped to the authorized resource.
Pathfile_idstringYesStable Atom file ID.

Request example

Example request
GET /v1/files/file_789
Authorization: Bearer <scoped token>

HTTP status codes

StatusMeaning
200 OKSuccess response shown below.
401 UnauthorizedMissing, expired, or invalid credential.
403 ForbiddenCredential is valid but lacks the required scope or role.
404 Not FoundFile does not exist or is not visible to this caller.
429 Too Many RequestsRate limit reached; honor Retry-After when provided.
503 Service UnavailableService temporarily unavailable; retry safely.

Response fields

FieldTypeExample
idstringfile_789
parent_idstringfolder_123
namestringinvoice.pdf
media_typestringapplication/pdf
size_bytesinteger4194304
current_version_idstringver_012
availabilitystringavailable

Response example

Example response
200 OK
Content-Type: application/json

{
  "id": "file_789",
  "parent_id": "folder_123",
  "name": "invoice.pdf",
  "media_type": "application/pdf",
  "size_bytes": 4194304,
  "current_version_id": "ver_012",
  "availability": "available"
}