Docs

Get File Activity

GET /drives/{eventId}/file/{fileId}/activity

GET/drives/{eventId}/file/{fileId}/activity

Required Tokens

FieldTypeRequiredDescription
BearerAuthorization: Bearer <api-key>OptionalYour API key. Pass it as the Bearer token on every request.
Event tokenx-Event-TokenOptionalRun **Get Tokens** in the Authorization folder, or call `GET /Events/{eventId}/authorize` manually.

Returns the activity log for a specific file — a chronological record of all actions taken on the file (uploads, edits, comments, reviews, sharing, etc.).

Path Parameters

FieldTypeRequiredDescription
driveIdGuidRequiredThe event ID.
fileIdGuidRequiredThe file ID.

Response Fields

FieldTypeDescription
idGuidActivity log record ID.
logStringstringHuman-readable description of the action (e.g., `"Jane Smith uploaded Version 2"`).
previewstringShort preview of the content (e.g., comment text).
timeStampDateTimeWhen the action occurred (UTC).
targetobjectThe file, version, or format the action was performed on.
target.fileIdGuidTarget file ID.
target.versionIdGuidTarget version ID (`Guid.Empty` if not version-specific).
target.formatIdGuidTarget format ID (`Guid.Empty` if not format-specific).
target.namestringDisplay name of the target at time of action.
principleobjectThe user who performed the action.
principle.userIdGuidUser ID.
principle.userNamestringUser display name.

Error Codes

CodeHTTP StatusDescription
UNAUTHORIZED401Missing or invalid token, or insufficient permissions on this file.
NOT_FOUND404File not found in this drive.