Set a job callback
fastero_set_job_callbackMake a job call a registered destination when it fails, finishes, or its alert fires — for example, a Claude Code routine that starts when a scheduled Python project fails. destinationName is a name from fastero_list_callback_destinations, never an address. jobType is python_project (jobId from fastero_list_python_projects; entrypointId limits it to one entrypoint) or task_schedule (a scheduled dashboard email, notebook run or alert; jobId from fastero_list_schedules). events: failed and succeeded; for an alert, alert (it fires or recovers) and failed (its check could not run). Setting it again replaces the events; remove: true detaches the destination from the job. A Claude routine is started once per event at most, and at most 25 times an hour.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes | The job’s id: a Python project’s, from fastero_list_python_projects, or a schedule’s, from fastero_list_schedules. | |
| events | No | ||
| remove | No | true detaches the destination from the job. | |
| jobType | Yes | ||
| entrypointId | No | Python projects only: one entrypoint’s id, from the entrypoints in fastero_get_python_project. | |
| destinationName | Yes | A destination’s name, from fastero_list_callback_destinations. |