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

GET /v1/files/{file_id}/versions

List versions visible to the caller so an app can present history or resolve an expected-version conflict without silently overwriting another edit.

Request fields

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

Request example

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

HTTP status codes

StatusMeaning
200 OKSuccess response shown below.
400 Bad RequestInvalid pagination cursor.
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
itemsobject[][1 shown]
items[].idstringver_012
items[].file_idstringfile_789
items[].size_bytesinteger4194304
items[].created_atstring (date-time)2026-10-20T18:00:00Z
next_cursorstring | nullnull

Response example

Example response
200 OK
Content-Type: application/json

{
  "items": [
    {
      "id": "ver_012",
      "file_id": "file_789",
      "size_bytes": 4194304,
      "created_at": "2026-10-20T18:00:00Z"
    }
  ],
  "next_cursor": null
}

How it works

Path parameterfile_idStable Atom file identifier.
AuthorizationResults are limited to versions the caller may read; knowing an ID is not access.
PaginationRequired for a public release; cursor semantics have not been specified.