Automations

Create an automation

Create an automation that runs an agent of this key's Cloud project on a schedule or on signed webhook requests. Each firing is a run of the agent, paid from credits.

post/v1/automations

Request

  • Base URL
    https://api.dexto.ai
  • URL
    https://api.dexto.ai/v1/automations
  • Auth
    HTTP bearer

Request body

namestring required

Display name.

Response

Created.

created_atstring date-time required
idstring uuid required
last_fired_atstring date-time nullable required
namestring required
object'automation' required
paused_reason'requested' | 'repeated_failures' | 'target_unavailable' nullable required

Why a paused automation is paused: requested, repeated_failures (five failed or refused firings in a row) or target_unavailable (its agent, project or session is gone).

status'active' | 'paused' | 'completed' required

active, paused, or completed for a one-time schedule that fired.

updated_atstring date-time required
webhook_secretstring nullable required

A webhook automation's signing secret, returned only in this response; null for a schedule.

Changes

No recorded changes to this operation across all 1 revision of this API.