provider Fleet Automation POST
/api/unstable/fleet/schedules/{id}/trigger @utdk/datadog
/api/unstable/fleet/schedules/{id}/trigger Trigger a schedule deployment
Manually trigger a schedule to immediately create and start a deployment.
This endpoint allows you to manually initiate a deployment using the schedule's
configuration, without waiting for the next scheduled maintenance window. This is
useful for:
- Testing a schedule before it runs automatically
- Performing an emergency update outside the regular maintenance window
- Creating an ad-hoc deployment with the same settings as a schedule
The deployment is created immediately with:
- The same filter query as the schedule
- The package version determined by the schedule's version strategy
- All matching hosts as targets
The manually triggered deployment is independent of the schedule and does not
affect the schedule's normal recurrence pattern.
- id path required
- The unique identifier of the schedule to trigger.
- string
Try it
Authentication
Configure credentials for Datadog API V2 Collection
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import datadog from '@utdk/datadog';
await datadog.triggerfleetschedule()