import { Resend } from 'resend';
const resend = new Resend('re_xxxxxxxxx');
const { data, error } = await resend.automations.runs.get({
automationId: 'c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd',
runId: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
});
$resend = Resend::client('re_xxxxxxxxx');
$resend->automations->runs->get(
'c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd',
'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
);
import resend
resend.api_key = "re_xxxxxxxxx"
resend.Automations.Runs.get(
"c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd",
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
)
require "resend"
Resend.api_key = "re_xxxxxxxxx"
Resend::Automations::Runs.get(
"c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd",
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
)
package main
import "github.com/resend/resend-go/v3"
func main() {
client := resend.NewClient("re_xxxxxxxxx")
client.Automations.GetRun(
"c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd",
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
)
}
use resend_rs::{Resend, Result};
#[tokio::main]
async fn main() -> Result<()> {
let resend = Resend::new("re_xxxxxxxxx");
let _automation = resend
.automations
.get_run(
"c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd",
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
)
.await?;
Ok(())
}
import com.resend.*;
public class Main {
public static void main(String[] args) {
Resend resend = new Resend("re_xxxxxxxxx");
AutomationRun data = resend.automations().getRun(
GetAutomationRunOptions.builder()
.automationId("c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd")
.runId("a1b2c3d4-e5f6-7890-abcd-ef1234567890")
.build()
);
}
}
using Resend;
IResend resend = ResendClient.Create( "re_xxxxxxxxx" );
var resp = await resend.AutomationRunRetrieveAsync(
new Guid( "c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd" ),
new Guid( "a1b2c3d4-e5f6-7890-abcd-ef1234567890" )
);
Console.WriteLine( "Status={0}", resp.Content.Status );
curl -X GET 'https://api.resend.com/automations/c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd/runs/a1b2c3d4-e5f6-7890-abcd-ef1234567890' \
-H 'Authorization: Bearer re_xxxxxxxxx'
resend automations runs get --automation-id c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd --run-id a1b2c3d4-e5f6-7890-abcd-ef1234567890
{
"object": "automation_run",
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "completed",
"started_at": "2026-10-01 12:00:00.000000+00",
"completed_at": "2026-10-01 12:05:00.000000+00",
"created_at": "2026-10-01 12:00:00.000000+00",
"steps": [
{
"key": "start",
"type": "trigger",
"status": "completed",
"started_at": "2026-10-01 12:00:00.000000+00",
"completed_at": "2026-10-01 12:00:01.000000+00",
"output": null,
"error": null,
"created_at": "2026-10-01 12:00:00.000000+00"
},
{
"key": "welcome",
"type": "send_email",
"status": "completed",
"started_at": "2026-10-01 12:00:01.000000+00",
"completed_at": "2026-10-01 12:00:02.000000+00",
"output": null,
"error": null,
"created_at": "2026-10-01 12:00:01.000000+00"
}
]
}
Retrieve Automation Run
Retrieve a single automation run.
GET
/
automations
/
:automation_id
/
runs
/
:run_id
import { Resend } from 'resend';
const resend = new Resend('re_xxxxxxxxx');
const { data, error } = await resend.automations.runs.get({
automationId: 'c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd',
runId: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
});
$resend = Resend::client('re_xxxxxxxxx');
$resend->automations->runs->get(
'c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd',
'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
);
import resend
resend.api_key = "re_xxxxxxxxx"
resend.Automations.Runs.get(
"c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd",
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
)
require "resend"
Resend.api_key = "re_xxxxxxxxx"
Resend::Automations::Runs.get(
"c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd",
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
)
package main
import "github.com/resend/resend-go/v3"
func main() {
client := resend.NewClient("re_xxxxxxxxx")
client.Automations.GetRun(
"c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd",
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
)
}
use resend_rs::{Resend, Result};
#[tokio::main]
async fn main() -> Result<()> {
let resend = Resend::new("re_xxxxxxxxx");
let _automation = resend
.automations
.get_run(
"c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd",
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
)
.await?;
Ok(())
}
import com.resend.*;
public class Main {
public static void main(String[] args) {
Resend resend = new Resend("re_xxxxxxxxx");
AutomationRun data = resend.automations().getRun(
GetAutomationRunOptions.builder()
.automationId("c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd")
.runId("a1b2c3d4-e5f6-7890-abcd-ef1234567890")
.build()
);
}
}
using Resend;
IResend resend = ResendClient.Create( "re_xxxxxxxxx" );
var resp = await resend.AutomationRunRetrieveAsync(
new Guid( "c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd" ),
new Guid( "a1b2c3d4-e5f6-7890-abcd-ef1234567890" )
);
Console.WriteLine( "Status={0}", resp.Content.Status );
curl -X GET 'https://api.resend.com/automations/c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd/runs/a1b2c3d4-e5f6-7890-abcd-ef1234567890' \
-H 'Authorization: Bearer re_xxxxxxxxx'
resend automations runs get --automation-id c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd --run-id a1b2c3d4-e5f6-7890-abcd-ef1234567890
{
"object": "automation_run",
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "completed",
"started_at": "2026-10-01 12:00:00.000000+00",
"completed_at": "2026-10-01 12:05:00.000000+00",
"created_at": "2026-10-01 12:00:00.000000+00",
"steps": [
{
"key": "start",
"type": "trigger",
"status": "completed",
"started_at": "2026-10-01 12:00:00.000000+00",
"completed_at": "2026-10-01 12:00:01.000000+00",
"output": null,
"error": null,
"created_at": "2026-10-01 12:00:00.000000+00"
},
{
"key": "welcome",
"type": "send_email",
"status": "completed",
"started_at": "2026-10-01 12:00:01.000000+00",
"completed_at": "2026-10-01 12:00:02.000000+00",
"output": null,
"error": null,
"created_at": "2026-10-01 12:00:01.000000+00"
}
]
}
Path Parameters
import { Resend } from 'resend';
const resend = new Resend('re_xxxxxxxxx');
const { data, error } = await resend.automations.runs.get({
automationId: 'c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd',
runId: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
});
$resend = Resend::client('re_xxxxxxxxx');
$resend->automations->runs->get(
'c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd',
'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
);
import resend
resend.api_key = "re_xxxxxxxxx"
resend.Automations.Runs.get(
"c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd",
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
)
require "resend"
Resend.api_key = "re_xxxxxxxxx"
Resend::Automations::Runs.get(
"c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd",
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
)
package main
import "github.com/resend/resend-go/v3"
func main() {
client := resend.NewClient("re_xxxxxxxxx")
client.Automations.GetRun(
"c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd",
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
)
}
use resend_rs::{Resend, Result};
#[tokio::main]
async fn main() -> Result<()> {
let resend = Resend::new("re_xxxxxxxxx");
let _automation = resend
.automations
.get_run(
"c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd",
"a1b2c3d4-e5f6-7890-abcd-ef1234567890",
)
.await?;
Ok(())
}
import com.resend.*;
public class Main {
public static void main(String[] args) {
Resend resend = new Resend("re_xxxxxxxxx");
AutomationRun data = resend.automations().getRun(
GetAutomationRunOptions.builder()
.automationId("c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd")
.runId("a1b2c3d4-e5f6-7890-abcd-ef1234567890")
.build()
);
}
}
using Resend;
IResend resend = ResendClient.Create( "re_xxxxxxxxx" );
var resp = await resend.AutomationRunRetrieveAsync(
new Guid( "c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd" ),
new Guid( "a1b2c3d4-e5f6-7890-abcd-ef1234567890" )
);
Console.WriteLine( "Status={0}", resp.Content.Status );
curl -X GET 'https://api.resend.com/automations/c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd/runs/a1b2c3d4-e5f6-7890-abcd-ef1234567890' \
-H 'Authorization: Bearer re_xxxxxxxxx'
resend automations runs get --automation-id c9b16d4f-ba6c-4e2e-b044-6bf4404e57fd --run-id a1b2c3d4-e5f6-7890-abcd-ef1234567890
{
"object": "automation_run",
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "completed",
"started_at": "2026-10-01 12:00:00.000000+00",
"completed_at": "2026-10-01 12:05:00.000000+00",
"created_at": "2026-10-01 12:00:00.000000+00",
"steps": [
{
"key": "start",
"type": "trigger",
"status": "completed",
"started_at": "2026-10-01 12:00:00.000000+00",
"completed_at": "2026-10-01 12:00:01.000000+00",
"output": null,
"error": null,
"created_at": "2026-10-01 12:00:00.000000+00"
},
{
"key": "welcome",
"type": "send_email",
"status": "completed",
"started_at": "2026-10-01 12:00:01.000000+00",
"completed_at": "2026-10-01 12:00:02.000000+00",
"output": null,
"error": null,
"created_at": "2026-10-01 12:00:01.000000+00"
}
]
}
Was this page helpful?
⌘I