Tasks

Check the health of your automations

Changed on

One verdict per active scheduled or event task you can see, from its real runs in the window: delete (its last 5 runs all failed or went undelivered), consolidate (same instructions and trigger as an earlier task, named in duplicate_of), add_condition (runs more than 6 times a day and at least 70% of runs find nothing), run_less_often (runs more than daily and at least half find nothing), switch_model (a quality-tier task that mostly finds nothing), or keep. Each carries the monthly credits it is projected to spend, what the verdict would save, and how many of its latest runs failed in a row with the last error, plus the integrations that need reconnecting and their reconnect links. Read-only: nothing is changed. Report the verdicts and let the owner decide.

get/tasks/health

Request

  • Base URL
    https://api.crevio.co/v1
  • Auth
    API key in header Authorization

Query parameters

window_days, integer

How many days of runs to judge from, 7 to 90. Defaults to 30.

Response

The checkup report.

object required
object, 'task_health' required
window_days, integer required
generated_at, string date-time required
tasks, object[] required
totals, object required
broken_integrations, object[] required

Connections that stopped working; every task using them fails until they are reconnected.

Changes

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    • warning

      added the new idempotency_error enum value to the error/type response property for the response status

    2 more changes in this revision