<< All versions

Skill v1.0.1

currentAutomated scan100/100
files-com/files-cli/filescom-event-targets

+1 new

──Details
PublishedNovember 8, 2026 at 12:46 PM
Content Hashsha256:7f973d832378cabd...
Git SHAe329b2ef8ce7
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 3.4 KB)
SKILL.md3.4 KBactive
SKILL.md · 70 lines · 3.4 KB

name: filescom-event-targets description: | An EventTarget is a delivery destination for EventRecords. metadata: version: "1.0.1"


filescom-event-targets

An EventTarget is a delivery destination for EventRecords.

All subcommands also accept the flags documented in `CONTEXT.md` (--api-key, --format, --workspace-id, --debug, and the pagination flags --cursor / --per-page / --max-pages on list). Those are not repeated below.

Commands

files-cli event-targets list

List Event Targets.

FlagTypeDescription
--sort-byobjectIf set, sort records by the specified field in either asc or desc direction. Valid fields are name, enabled or workspace_id.
--filterobjectIf set, return records where the specified field is equal to the supplied value. Valid fields are enabled, target_type or workspace_id. Valid field combinations are [ enabled, target_type ], [ workspace_id, enabled ] or [ workspace_id, enabled, target_type ].

files-cli event-targets find

Show Event Target.

FlagTypeDescription
--idint64Event Target ID. Required.

files-cli event-targets create

Create Event Target.

FlagTypeDescription
--namestringEvent Target name. Required.
--workspace-idint64Workspace ID. 0 means the default workspace or site-wide.
--apply-to-all-workspacesboolIf true, this default-workspace target can receive events from all workspaces.
--enabledboolWhether this Event Target can receive events.
--configobjectEvent Target configuration. Fields depend on target_type. Required.
--delivery-policyobjectEvent Target delivery policy. Email and folder targets support batch_interval in seconds, between 600 and 86400. Slack and Teams support delivery_mode (immediate or subfolder_summary), summary_path (empty string means root), and summary_delay (15–300 seconds, default 60). The summary applies to matching file activity under summary_path; other matching events retain immediate delivery.
--target-typeenumEvent Target type. One of: email, webhook, slack_webhook, teams_webhook, amazon_sns, google_pubsub, folder. Required.

files-cli event-targets update

Update Event Target.

FlagTypeDescription
--idint64Event Target ID. Required.
--namestringEvent Target name.
--workspace-idint64Workspace ID. 0 means the default workspace or site-wide.
--apply-to-all-workspacesboolIf true, this default-workspace target can receive events from all workspaces.
--enabledboolWhether this Event Target can receive events.
--configobjectEvent Target configuration. Fields depend on target_type.
--delivery-policyobjectEvent Target delivery policy. Email and folder targets support batch_interval in seconds, between 600 and 86400. Slack and Teams support delivery_mode (immediate or subfolder_summary), summary_path (empty string means root), and summary_delay (15–300 seconds, default 60). The summary applies to matching file activity under summary_path; other matching events retain immediate delivery.

files-cli event-targets delete

Delete Event Target.

FlagTypeDescription
--idint64Event Target ID. Required.
← v1.0.0All versions