Skip to main content
Resend Docs

Search documentation

Type to search this documentation.

Retrieve a list of automation runs

GET/automations/{automation_id}/runsRetrieve a list of automation runs

Parameters

automation_idstring · uuidpathrequired

The ID of the automation.

statusstringquery

Filter runs by status. Comma-separated list of: running, completed, failed, cancelled.

limitintegerquery

Number of items to return.

maximum 100 · minimum 1

afterstringquery

Return items after this cursor.

beforestringquery

Return items before this cursor.

Responses

200OKapplication/json
objectListAutomationRunsResponse
dataarray of object

Array of automation runs.

Show child attributes
Show array items
completed_atnull | string

The date and time the run completed.

created_atstring

The date and time the run was created.

idstring

The ID of the automation run.

started_atnull | string

The date and time the run started.

statusstring

The current status of the automation run.

one of "running", "completed", "failed", "cancelled"

has_moreboolean

Indicates if there are more results available.

objectstring

Type of the response object.

Example response
{
  "data": [
    {
      "completed_at": "string",
      "created_at": "string",
      "id": "string",
      "started_at": "string",
      "status": "cancelled"
    }
  ],
  "has_more": true,
  "object": "list"
}
Documentation menu