Worker Types

JFrog Workers fall into three categories that match the tiles in the Platform UI: Event-driven, HTTP-triggered, and Scheduled. All three use the same TypeScript runtime and can be created with any supported method: CLI, UI, REST API, MCP Server, or Terraform. See Create and Manage Workers.

Event-Driven Workers

An Event-driven Worker runs when a selected event occurs in the JFrog Platform. You bind custom TypeScript to a specific lifecycle hook (for example, before an artifact upload or before a token is created). The platform invokes your Worker as part of that flow and can use the Worker’s response to allow, modify, or stop the action (depending on the event).

Event-driven Workers are grouped by the service that owns the event:

  • Artifactory: Artifact, repository, build info, replication, and related download/upload flows
  • Access: Token create, revoke, and expiry flows
  • Runtime: Runtime workload state changes

For the full list of events, descriptions, and links to code samples, see Worker Event Types.

For how before/after events fit into a download (and similar) lifecycle, see Understand Worker Event Workflows.

HTTP-Triggered Workers

HTTP-triggered Workers (GENERIC_EVENT) run on demand. You invoke them with the REST API or the JFrog CLI. You can control whether admin or non-admin users may execute them. They are useful for on-demand automation, integrations, and workflows that should start when an external system (or webhook) calls the Worker.

In the API, CLI, MCP, and Terraform, this type uses the action GENERIC_EVENT.

Scheduled Workers

Scheduled Workers (SCHEDULED_EVENT) run at times you define with a cron expression (and timezone). Use them for periodic sync, cleanup, scanning, or other recurring tasks.

In the API, CLI, MCP, and Terraform, this type uses the action SCHEDULED_EVENT.

Same Types, Every Method

TypeHow you specify it (API / CLI / Terraform)Created with
Event-drivenAn Artifactory, Access, or Runtime action (for example, BEFORE_UPLOAD)CLI, UI, REST API, MCP, Terraform
HTTP-triggeredGENERIC_EVENTCLI, UI, REST API, MCP, Terraform
ScheduledSCHEDULED_EVENTCLI, UI, REST API, MCP, Terraform

Next: pick how you want to create and manage Workers in Create and Manage Workers, or browse Workers Code Samples.


Did this page help you?