Get Deployment History
sf_get_deployment_historyFetch Salesforce metadata deployment history, filter by status, and review status, component counts, test results, and errors. Monitor past deployments for troubleshooting or audit.
Instructions
Retrieves the history of recent metadata deployments using the Tooling API DeployRequest object. Shows deployment status, component counts, test results, and error messages.
limit: number of recent deployments to return (default: 20, max: 200) status: filter by status — 'Succeeded', 'Failed', 'Canceled', 'InProgress', 'Pending', or omit for all
Returns: deploy ID, status, start time, end time, component totals, test totals, and any errors.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum deployments to return | |
| status | No | Filter by deployment status | all |