Skip to content
Talk to an Engineer Dashboard

Box

Connect to Box to manage files, folders, users, tasks, webhooks, collaborations, and more using OAuth 2.0.

Connect to Box to manage files, folders, users, groups, collaborations, tasks, comments, webhooks, search, and more using the Box REST API.

Box logo

Supports authentication: OAuth 2.0

Box connector shown in Scalekit's Create Connection search

Connect Box to Scalekit so your agent can manage files, folders, users, tasks, and more on behalf of your users. Box uses OAuth 2.0 — users authorize access through Box’s login flow, and Scalekit handles token storage and refresh automatically.

You will need:

  • A Box developer account (free at developer.box.com)
  • Your Box OAuth app’s Client ID and Client Secret
  • The redirect URI from Scalekit to paste into Box
  1. Create a Box OAuth app

    • Go to the Box Developer Console and click Create New App.

    • Select Custom App as the app type.

    • Under authentication method, choose User Authentication (OAuth 2.0). This lets your agent act on behalf of each user who authorizes access.

    • Enter an app name (e.g. “My Agent App”) and click Create App.

  2. Copy the redirect URI from Scalekit

    • In Scalekit dashboard, go to Agent AuthCreate Connection.
    • Find Box and click Create.
    • Click Use your own credentials and copy the redirect URI. It looks like: https://<env>.scalekit.cloud/sso/v1/oauth/<conn_id>/callback

  3. Add the redirect URI to Box

    • In the Box Developer Console, open your app and go to the Configuration tab.
    • Under OAuth 2.0 Redirect URI, paste the redirect URI from Scalekit and click Save Changes.

  4. Select scopes for your app

    Still on the Configuration tab in Box, scroll down to Application Scopes and enable the permissions your agent needs:

    ScopeRequired for
    root_readonlyReading files and folders
    root_readwriteCreating, updating, and deleting files/folders
    manage_groupsCreating and managing groups
    manage_webhookCreating and managing webhooks
    manage_managed_usersCreating and managing enterprise users
    manage_enterprise_propertiesAccessing enterprise events

    Click Save Changes after selecting scopes.

  5. Add credentials in Scalekit

    • In the Box Developer Console, open your app → Configuration tab.
    • Copy your Client ID and Client Secret.
    • In Scalekit dashboard, go to Agent AuthConnections, open the Box connection you created, and enter:
      • Client ID — from Box
      • Client Secret — from Box
      • Scopes — select the same scopes you enabled in Box (e.g. root_readonly, root_readwrite)

    • Click Save.
  6. Add a connected account for each user

    Each user who authorizes Box access becomes a connected account. During authorization, Box will show your app name and request the scopes you configured.

    Via dashboard (for testing)

    • In Scalekit dashboard, go to your Box connection → Connected AccountsAdd Account.
    • Enter a User ID (your internal identifier for this user, e.g. user_123).
    • Click Add — you will be redirected to Box’s OAuth consent screen to authorize.

    Via API (for production)

    In production, generate an authorization link and redirect your user to it:

    const { link } = await scalekit.actions.getAuthorizationLink({
    connectionName: 'box',
    identifier: 'user_123',
    });
    // Redirect your user to `link`

    After the user authorizes, Scalekit stores their tokens. Your agent can then call Box tools on their behalf without any further redirects.

Once a user has connected their Box account, your agent can call Box tools directly through Scalekit — no OAuth flow needed on subsequent calls. Scalekit manages token refresh automatically.

Proxy API calls

Use the proxy to call any Box REST API endpoint directly:

import { ScalekitClient } from '@scalekit-sdk/node';
const scalekit = new ScalekitClient(
process.env.SCALEKIT_ENV_URL,
process.env.SCALEKIT_CLIENT_ID,
process.env.SCALEKIT_CLIENT_SECRET
);
const actions = scalekit.actions;
// List files in the root folder
const result = await actions.request({
connectionName: 'box',
identifier: 'user_123',
path: '/2.0/folders/0/items',
method: 'GET',
});
console.log(result);

Use Scalekit tools

Call Box tools by name using execute_tool. Pass the tool name and the required input parameters.

List folder contents

Start here to discover file and folder IDs. Use "0" for the root folder.

const result = await actions.executeTool({
toolName: 'box_folder_items_list',
connectedAccountId: connectedAccount.id,
toolInput: {
folder_id: '0', // root folder
},
});
// result.entries[] contains files and folders with their IDs

Get file details

const file = await actions.executeTool({
toolName: 'box_file_get',
connectedAccountId: connectedAccount.id,
toolInput: { file_id: '12345678' },
});
const results = await actions.executeTool({
toolName: 'box_search',
connectedAccountId: connectedAccount.id,
toolInput: {
query: 'quarterly report',
type: 'file',
file_extensions: 'pdf,docx',
},
});

Create a task on a file

const task = await actions.executeTool({
toolName: 'box_task_create',
connectedAccountId: connectedAccount.id,
toolInput: {
file_id: '12345678',
message: 'Please review this document',
action: 'review',
due_at: '2025-12-31T00:00:00Z',
},
});
// task.id is the task ID — use it with box_task_assignment_create

Share a file

const link = await actions.executeTool({
toolName: 'box_shared_link_file_create',
connectedAccountId: connectedAccount.id,
toolInput: {
file_id: '12345678',
access: 'company', // open | company | collaborators
can_download: true,
},
});

Create a webhook

Webhooks require the manage_webhook scope. The triggers field is an array of event strings.

const webhook = await actions.executeTool({
toolName: 'box_webhook_create',
connectedAccountId: connectedAccount.id,
toolInput: {
target_id: '0',
target_type: 'folder',
address: 'https://your-app.com/webhooks/box',
triggers: ['FILE.UPLOADED', 'FILE.DELETED', 'FOLDER.CREATED'],
},
});

Add a collaborator to a folder

Collaborations grant a user or group access to a specific file or folder. You need the user’s Box ID or email login.

// First, get the user's Box ID using box_users_list or box_user_me_get
const collab = await actions.executeTool({
toolName: 'box_collaboration_create',
connectedAccountId: connectedAccount.id,
toolInput: {
item_id: 'FOLDER_ID',
item_type: 'folder',
accessible_by_id: 'USER_BOX_ID',
accessible_by_type: 'user',
role: 'editor',
},
});
// To find the collaboration ID later, use box_folder_collaborations_list

Scalekit Tools

Most Box tools require an ID for the resource they operate on. Here is where to find each ID:

ResourceTool to get IDResponse field
File IDbox_folder_items_list (folder_id: "0")entries[].id where entries[].type == "file"
Folder IDbox_folder_items_list (folder_id: "0")entries[].id where entries[].type == "folder"
Task IDbox_file_tasks_list or box_task_create responseid
Task assignment IDbox_task_assignments_listentries[].id
Comment IDbox_file_comments_listentries[].id
Collaboration IDbox_folder_collaborations_list or box_file_collaborations_listentries[].id
Collection IDbox_collections_listentries[].id (Favorites collection = type favorites)
Webhook IDbox_webhooks_listentries[].id
User IDbox_user_me_get (authenticated user) or box_users_listid
Group IDbox_groups_listentries[].id
Group membership IDbox_group_members_list or box_user_memberships_listentries[].id
Web link IDbox_folder_items_listentries[].id where entries[].type == "web_link"

Enable the corresponding Box app scopes before calling tools that need them:

ToolsRequired scope
All file/folder read toolsroot_readonly
File/folder create, update, deleteroot_readwrite
box_group_*, box_user_memberships_listmanage_groups
box_webhook_*, box_webhooks_listmanage_webhook
box_user_create, box_user_delete, box_users_list, box_user_updatemanage_managed_users
box_events_list (enterprise stream)manage_enterprise_properties

Retrieves detailed information about a file.

NameTypeRequiredDescription
file_idstringYesID of the file. Get it from box_folder_items_list on folder_id "0".
fieldsstringNoComma-separated list of fields to return.

Updates a file’s name, description, tags, or moves it to another folder.

NameTypeRequiredDescription
file_idstringYesID of the file to update.
namestringNoNew name for the file.
descriptionstringNoNew description for the file.
parent_idstringNoID of the folder to move the file into.
tagsstringNoComma-separated list of tags.

Moves a file to the trash.

NameTypeRequiredDescription
file_idstringYesID of the file to delete.

Creates a copy of a file in a specified folder.

NameTypeRequiredDescription
file_idstringYesID of the file to copy.
parent_idstringYesID of the destination folder.
namestringNoNew name for the copied file (optional).

Retrieves all previous versions of a file.

NameTypeRequiredDescription
file_idstringYesID of the file.

Retrieves a thumbnail image for a file.

NameTypeRequiredDescription
file_idstringYesID of the file.
extensionstringYesThumbnail format: jpg or png.
min_widthintegerNoMinimum width of the thumbnail in pixels.
min_heightintegerNoMinimum height of the thumbnail in pixels.

Retrieves a folder’s details and its immediate items.

NameTypeRequiredDescription
folder_idstringYesID of the folder. Use "0" for the root folder.
fieldsstringNoComma-separated list of fields to return.
sortstringNoSort order: id, name, date, or size.
directionstringNoSort direction: ASC or DESC.
offsetintegerNoPagination offset.
limitintegerNoMax items to return (max 1000).

Retrieves a paginated list of items in a folder. Use folder_id "0" to start from the root.

NameTypeRequiredDescription
folder_idstringYesID of the folder. Use "0" for the root folder.
fieldsstringNoComma-separated list of fields to return.
sortstringNoSort field: id, name, date, or size.
directionstringNoASC or DESC.
offsetintegerNoPagination offset.
limitintegerNoMax items to return (max 1000).

Creates a new folder inside a parent folder.

NameTypeRequiredDescription
namestringYesName of the new folder.
parent_idstringYesID of the parent folder. Use "0" for root.
fieldsstringNoComma-separated list of fields to return.

Updates a folder’s name, description, or moves it.

NameTypeRequiredDescription
folder_idstringYesID of the folder to update.
namestringNoNew name for the folder.
descriptionstringNoNew description for the folder.
parent_idstringNoID of the new parent folder to move into.

Moves a folder to the trash.

NameTypeRequiredDescription
folder_idstringYesID of the folder to delete.
recursivestringNoMust be "true" to delete folders that contain files or subfolders.

Creates a copy of a folder and its contents.

NameTypeRequiredDescription
folder_idstringYesID of the folder to copy.
parent_idstringYesID of the destination folder.
namestringNoNew name for the copied folder (optional).

Searches files, folders, and web links in Box.

NameTypeRequiredDescription
querystringYesSearch query string.
typestringNoFilter by type: file, folder, or web_link.
ancestor_folder_idsstringNoComma-separated folder IDs to scope the search.
content_typesstringNoComma-separated content types: name, description, tag, comments, file_content.
file_extensionsstringNoComma-separated file extensions to filter (e.g. pdf,docx).
created_at_rangestringNoISO 8601 date range: 2024-01-01T00:00:00Z,2024-12-31T23:59:59Z.
updated_at_rangestringNoDate range for last updated.
owner_user_idsstringNoComma-separated user IDs to filter by owner.
scopestringNoSearch scope: user_content or enterprise_content.
limitintegerNoMax results (max 200).
offsetintegerNoPagination offset.
fieldsstringNoComma-separated list of fields to return.

Retrieves files and folders the user accessed recently.

NameTypeRequiredDescription
fieldsstringNoComma-separated list of fields to return.
limitintegerNoMax results.
markerstringNoPagination marker from a previous response.

Grants a user or group access to a file or folder.

NameTypeRequiredDescription
item_idstringYesID of the file or folder.
item_typestringYesType of item: file or folder.
accessible_by_idstringYesBox user or group ID to grant access to. Get user IDs from box_users_list.
accessible_by_typestringYesType: user or group.
rolestringYesCollaboration role: viewer, previewer, uploader, previewer_uploader, viewer_uploader, co-owner, or editor.
notifystringNoNotify collaborator via email (true/false).
can_view_pathstringNoAllow user to see path to item (true/false).
expires_atstringNoExpiry date in ISO 8601 format.

Retrieves details of a specific collaboration.

NameTypeRequiredDescription
collaboration_idstringYesID of the collaboration. Get it from box_folder_collaborations_list — this is not the user’s ID.
fieldsstringNoComma-separated list of fields to return.

Updates the role or status of a collaboration.

NameTypeRequiredDescription
collaboration_idstringYesID of the collaboration. Get it from box_folder_collaborations_list.
rolestringNoNew collaboration role.
statusstringNoCollaboration status: accepted or rejected.
expires_atstringNoNew expiry date in ISO 8601 format.
can_view_pathbooleanNoAllow user to see path to item.

Removes a collaboration, revoking user or group access.

NameTypeRequiredDescription
collaboration_idstringYesID of the collaboration to delete. Get it from box_folder_collaborations_list.

Retrieves all collaborations on a file.

NameTypeRequiredDescription
file_idstringYesID of the file.
fieldsstringNoComma-separated list of fields to return.

Retrieves all collaborations on a folder.

NameTypeRequiredDescription
folder_idstringYesID of the folder.
fieldsstringNoComma-separated list of fields to return.

Adds a comment to a file.

NameTypeRequiredDescription
item_idstringYesID of the file to comment on.
item_typestringYesType of item: file or comment (for replies).
messagestringYesText of the comment.
tagged_messagestringNoComment text with @[user_id:user_name] mentions.

Retrieves a comment.

NameTypeRequiredDescription
comment_idstringYesID of the comment. Get it from box_file_comments_list.
fieldsstringNoComma-separated list of fields to return.

Updates the text of a comment.

NameTypeRequiredDescription
comment_idstringYesID of the comment to update.
messagestringYesNew text for the comment.

Removes a comment.

NameTypeRequiredDescription
comment_idstringYesID of the comment to delete.

Retrieves all comments on a file.

NameTypeRequiredDescription
file_idstringYesID of the file.
fieldsstringNoComma-separated list of fields to return.

Creates a task on a file.

NameTypeRequiredDescription
file_idstringYesID of the file to attach the task to. Get it from box_folder_items_list.
messagestringNoTask message/description.
actionstringNoAction: review or complete.
due_atstringNoDue date in ISO 8601 format (e.g. 2025-12-31T00:00:00Z).
completion_rulestringNoCompletion rule: all_assignees or any_assignee.

Retrieves a task’s details.

NameTypeRequiredDescription
task_idstringYesID of the task. Get it from box_file_tasks_list.

Updates a task’s message, due date, or completion rule.

NameTypeRequiredDescription
task_idstringYesID of the task to update.
messagestringNoNew message for the task.
due_atstringNoNew due date in ISO 8601 format.
actionstringNoNew action: review or complete.
completion_rulestringNoNew completion rule: all_assignees or any_assignee.

Removes a task from a file.

NameTypeRequiredDescription
task_idstringYesID of the task to delete.

Retrieves all tasks associated with a file.

NameTypeRequiredDescription
file_idstringYesID of the file.

Assigns a task to a user.

NameTypeRequiredDescription
task_idstringYesID of the task to assign. Get it from box_file_tasks_list.
user_idstringNoID of the user to assign the task to. Get it from box_users_list.
user_loginstringNoEmail login of the user (alternative to user_id).

Retrieves a specific task assignment.

NameTypeRequiredDescription
task_assignment_idstringYesID of the task assignment. Get it from box_task_assignments_list.

Updates a task assignment (complete, approve, or reject).

NameTypeRequiredDescription
task_assignment_idstringYesID of the task assignment.
messagestringNoOptional message/comment for the resolution.
resolution_statestringNoResolution state: completed, incomplete, approved, or rejected.

Removes a task assignment from a user.

NameTypeRequiredDescription
task_assignment_idstringYesID of the task assignment to remove.

Retrieves all assignments for a task.

NameTypeRequiredDescription
task_idstringYesID of the task.

Creates or updates a shared link for a file.

NameTypeRequiredDescription
file_idstringYesID of the file.
accessstringNoShared link access level: open, company, or collaborators.
unshared_atstringNoExpiry date in ISO 8601 format.
passwordstringNoPassword to protect the shared link.
can_downloadbooleanNoAllow download (true/false).
can_previewbooleanNoAllow preview (true/false).

Creates or updates a shared link for a folder.

NameTypeRequiredDescription
folder_idstringYesID of the folder.
accessstringNoShared link access level: open, company, or collaborators.
unshared_atstringNoExpiry date in ISO 8601 format.
passwordstringNoPassword to protect the shared link.
can_downloadbooleanNoAllow download (true/false).

Retrieves all collections for the user (e.g. Favorites).

NameTypeRequiredDescription
fieldsstringNoComma-separated list of fields to return.
offsetintegerNoPagination offset.
limitintegerNoMax results.

Retrieves the items in a collection. Use box_collections_list first to get the collection ID.

NameTypeRequiredDescription
collection_idstringYesID of the collection. Get it from box_collections_list.
fieldsstringNoComma-separated list of fields to return.
offsetintegerNoPagination offset.
limitintegerNoMax results.

Applies metadata to a file using a metadata template. Requires an enterprise metadata template.

NameTypeRequiredDescription
file_idstringYesID of the file.
scopestringYesTemplate scope: global or enterprise.
template_keystringYesKey of the metadata template. Get it from box_metadata_templates_list.
data_jsonstringYesJSON string of metadata fields and values, e.g. "{\"department\": \"Finance\"}".

Retrieves a specific metadata instance on a file.

NameTypeRequiredDescription
file_idstringYesID of the file.
scopestringYesTemplate scope: global or enterprise.
template_keystringYesKey of the metadata template.

Retrieves all metadata instances attached to a file.

NameTypeRequiredDescription
file_idstringYesID of the file.

Removes a metadata instance from a file.

NameTypeRequiredDescription
file_idstringYesID of the file.
scopestringYesTemplate scope: global or enterprise.
template_keystringYesKey of the metadata template.

Retrieves all metadata instances on a folder.

NameTypeRequiredDescription
folder_idstringYesID of the folder.

Retrieves a metadata template schema. Returns 404 if no enterprise templates exist.

NameTypeRequiredDescription
scopestringYesScope of the template: global or enterprise.
template_keystringYesKey of the metadata template.

Retrieves all metadata templates for the enterprise.

NameTypeRequiredDescription
markerstringNoPagination marker.
limitintegerNoMax results.

Creates a web link (bookmark) inside a folder.

NameTypeRequiredDescription
urlstringYesURL of the web link.
parent_idstringYesID of the parent folder. Use "0" for root.
namestringNoName for the web link.
descriptionstringNoDescription of the web link.

Retrieves a web link’s details.

NameTypeRequiredDescription
web_link_idstringYesID of the web link. Get it from box_folder_items_list (type: web_link).
fieldsstringNoComma-separated list of fields to return.

Updates a web link’s URL, name, or description.

NameTypeRequiredDescription
web_link_idstringYesID of the web link to update.
urlstringNoNew URL.
namestringNoNew name.
descriptionstringNoNew description.
parent_idstringNoNew parent folder ID.

Removes a web link.

NameTypeRequiredDescription
web_link_idstringYesID of the web link to delete.

Retrieves items in the user’s trash.

NameTypeRequiredDescription
fieldsstringNoComma-separated list of fields to return.
limitintegerNoMax results.
offsetintegerNoPagination offset.
sortstringNoSort field: name, date, or size.
directionstringNoSort direction: ASC or DESC.

Restores a file from the trash.

NameTypeRequiredDescription
file_idstringYesID of the trashed file.
namestringNoNew name if the original name is already taken.
parent_idstringNoParent folder ID if the original location is unavailable.

Permanently deletes a trashed file. This action cannot be undone.

NameTypeRequiredDescription
file_idstringYesID of the trashed file.

Restores a folder from the trash.

NameTypeRequiredDescription
folder_idstringYesID of the trashed folder.
namestringNoNew name if the original is already taken.
parent_idstringNoNew parent folder ID if the original is unavailable.

Permanently deletes a trashed folder. This action cannot be undone.

NameTypeRequiredDescription
folder_idstringYesID of the trashed folder.

Webhooks require the manage_webhook scope.

Creates a webhook to receive event notifications when something changes in a file or folder.

NameTypeRequiredDescription
target_idstringYesID of the file or folder to watch.
target_typestringYesType of target: file or folder.
addressstringYesHTTPS URL to receive webhook notifications. Must be publicly accessible.
triggersarrayYesArray of event strings, e.g. ["FILE.UPLOADED","FILE.DELETED"]. See Box webhook triggers for the full list.

Retrieves a webhook’s details.

NameTypeRequiredDescription
webhook_idstringYesID of the webhook. Get it from box_webhooks_list.

Updates a webhook’s address or triggers.

NameTypeRequiredDescription
webhook_idstringYesID of the webhook to update.
addressstringNoNew HTTPS URL for notifications.
triggersarrayNoNew array of event strings.
target_idstringNoNew target ID.
target_typestringNoNew target type: file or folder.

Removes a webhook.

NameTypeRequiredDescription
webhook_idstringYesID of the webhook to delete.

Retrieves all webhooks for the application.

NameTypeRequiredDescription
markerstringNoPagination marker.
limitintegerNoMax results.

User management tools require the manage_managed_users scope. Users created with Box must use an email address within the enterprise’s verified domain.

Retrieves information about the currently authenticated user. No parameters required — use this to get your own user ID.

NameTypeRequiredDescription
fieldsstringNoComma-separated list of fields to return.

Retrieves information about a specific user.

NameTypeRequiredDescription
user_idstringYesID of the user. Get it from box_users_list or box_user_me_get.
fieldsstringNoComma-separated list of fields to return.

Retrieves all users in the enterprise.

NameTypeRequiredDescription
filter_termstringNoFilter users by name or login.
user_typestringNoFilter by type: all, managed, or external.
fieldsstringNoComma-separated list of fields to return.
limitintegerNoMax users to return.
offsetintegerNoPagination offset.

Creates a new managed user in the enterprise.

NameTypeRequiredDescription
namestringYesFull name of the user.
loginstringNoEmail address (login) for managed users. Must be within the enterprise domain.
rolestringNoUser role: user or coadmin.
space_amountintegerNoStorage quota in bytes (-1 for unlimited).
is_platform_access_onlybooleanNoSet true for app users (no login required).

Updates a user’s properties in the enterprise.

NameTypeRequiredDescription
user_idstringYesID of the user to update.
namestringNoNew full name.
rolestringNoNew role: user or coadmin.
statusstringNoNew status: active, inactive, or cannot_delete_edit.
space_amountintegerNoStorage quota in bytes.
tracking_codesstringNoTracking codes as a JSON array string.

Removes a user from the enterprise.

NameTypeRequiredDescription
user_idstringYesID of the user to delete.
notifystringNoNotify user via email (true/false).
forcestringNoForce deletion even if user owns content (true/false).

Retrieves all group memberships for a user.

NameTypeRequiredDescription
user_idstringYesID of the user.
limitintegerNoMax results.
offsetintegerNoPagination offset.

Group tools require the manage_groups scope.

Retrieves all groups in the enterprise.

NameTypeRequiredDescription
filter_termstringNoFilter groups by name.
fieldsstringNoComma-separated list of fields to return.
limitintegerNoMax results.
offsetintegerNoPagination offset.

Creates a new group in the enterprise.

NameTypeRequiredDescription
namestringYesName of the group.
descriptionstringNoDescription of the group.
provenancestringNoIdentifier to distinguish manually created vs synced groups.
invitability_levelstringNoWho can invite to group: admins_only, admins_and_members, or all_managed_users.
member_viewability_levelstringNoWho can view group members: admins_only, admins_and_members, or all_managed_users.

Retrieves information about a group.

NameTypeRequiredDescription
group_idstringYesID of the group. Get it from box_groups_list.
fieldsstringNoComma-separated list of fields to return.

Updates a group’s properties.

NameTypeRequiredDescription
group_idstringYesID of the group to update.
namestringNoNew name for the group.
descriptionstringNoNew description.
invitability_levelstringNoWho can invite: admins_only, admins_and_members, or all_managed_users.
member_viewability_levelstringNoWho can view members.

Permanently deletes a group.

NameTypeRequiredDescription
group_idstringYesID of the group to delete.

Retrieves all members of a group.

NameTypeRequiredDescription
group_idstringYesID of the group.
limitintegerNoMax results.
offsetintegerNoPagination offset.

Adds a user to a group.

NameTypeRequiredDescription
user_idstringYesID of the user to add. Get it from box_users_list.
group_idstringYesID of the group.
rolestringNoRole in the group: member or admin.

Retrieves a specific group membership.

NameTypeRequiredDescription
group_membership_idstringYesID of the group membership. Get it from box_group_members_list.
fieldsstringNoComma-separated list of fields to return.

Updates a user’s role in a group.

NameTypeRequiredDescription
group_membership_idstringYesID of the membership to update.
rolestringNoNew role: member or admin.

Removes a user from a group.

NameTypeRequiredDescription
group_membership_idstringYesID of the group membership to remove. Get it from box_group_members_list.

Retrieves events from the Box event stream. Use admin_logs for enterprise-wide events (requires manage_enterprise_properties scope).

NameTypeRequiredDescription
stream_typestringNoEvent stream type: all, changes, sync, or admin_logs.
stream_positionstringNoPagination position from a previous response.
limitintegerNoMax events to return.
event_typestringNoComma-separated list of event types to filter.
created_afterstringNoReturn events after this date (ISO 8601).
created_beforestringNoReturn events before this date (ISO 8601).