Get automation run by ID
curl --request GET \
--url https://api.stardex.ai/v1/automations/runs/{runId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.stardex.ai/v1/automations/runs/{runId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.stardex.ai/v1/automations/runs/{runId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.stardex.ai/v1/automations/runs/{runId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.stardex.ai/v1/automations/runs/{runId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.stardex.ai/v1/automations/runs/{runId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stardex.ai/v1/automations/runs/{runId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "bbb22222-cccc-dddd-eeee-ffffffffffff0011",
"automation_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3333",
"status": "waiting",
"attempts": 0,
"error_message": null,
"trigger_type": "schedule",
"trigger_payload": {
"scheduled_for": "2026-08-31T12:00:00Z"
},
"change_source": null,
"candidate_id": null,
"person_id": null,
"job_id": null,
"deal_id": null,
"started_at": "2026-08-31T12:00:01Z",
"finished_at": null,
"resume_at": "2026-08-31T12:31:02Z",
"created_at": "2026-08-31T12:00:00Z",
"updated_at": "2026-08-31T12:30:02Z",
"steps": [
{
"id": "bbb22222-cccc-dddd-eeee-ffffffffffff0012",
"position": 1,
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3334",
"action_type": "agent_instructions",
"action_config": {
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3334",
"position": 1,
"action_type": "agent_instructions",
"recipient_type": null,
"team_member_id": null,
"payload": {
"instructions": "Find candidates who have been in Offer for more than 7 days on open searches, move each to Follow up and add a note saying why. Example row: | Priya Raman | Senior Controller | 9 days |",
"allow_update_records": true,
"allow_delete_records": false,
"output_format": {
"kind": "custom",
"text": "One table row per candidate, longest wait first"
}
}
},
"status": "completed",
"attempt": 1,
"error_message": null,
"result": {
"code": "agent_completed",
"agent_output": "Checked 14 candidates in Offer on open searches; 1 has waited more than 7 days.\n\n| Candidate | Search | Days in Offer |\n|---|---|---|\n| [Priya Raman](/projects/456e7890-e12b-34d5-a678-901234567890?personId=456e7890-e12b-34d5-a678-901234567890) | Senior Controller | 9 |",
"agent_thread_id": "ccc33333-dddd-eeee-ffff-000000000001",
"agent_changes": [
{
"tool": "update-candidate-stage",
"record": {
"type": "candidate",
"id": "345e6789-e01b-23c4-d567-890123456789"
},
"fields": [
{
"name": "stage_id",
"value": "123e4567-e89b-12d3-a456-426614174000"
}
],
"status": "succeeded"
},
{
"tool": "create-person-activity",
"record": null,
"fields": [
{
"name": "activity_type",
"value": "note"
},
{
"name": "content_text",
"value": "In Offer for 9 days with no reply; nudged the client."
}
],
"status": "failed",
"reason": "Person not found"
}
],
"agent_change_totals": [
{
"tool": "update-candidate-stage",
"succeeded": 1,
"failed": 0
},
{
"tool": "create-person-activity",
"succeeded": 0,
"failed": 1
}
]
},
"started_at": "2026-08-31T12:00:01Z",
"finished_at": "2026-08-31T12:01:12Z",
"created_at": "2026-08-31T12:00:00Z",
"updated_at": "2026-08-31T12:01:12Z"
},
{
"id": "bbb22222-cccc-dddd-eeee-ffffffffffff0013",
"position": 2,
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3335",
"action_type": "send_email",
"action_config": {
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3335",
"position": 2,
"action_type": "send_email",
"recipient_type": "team_members",
"team_member_id": null,
"payload": {
"subject": "Offers waiting for a follow-up",
"body": "These offers need a follow-up this week:\n\n{{agent_output}}",
"team_member_ids": [
"567e8901-e23c-45d6-e789-012345678901"
],
"include_signature": false
}
},
"status": "completed",
"attempt": 1,
"error_message": null,
"result": {
"code": "email_sent",
"message": "Sent to 1 of 2",
"deliveries": [
{
"to_email": "maya@kestrelpartners.com",
"status": "sent"
},
{
"to_email": "sam@kestrelpartners.com",
"status": "skipped",
"reason": "An earlier attempt may already have sent this email, so it was not sent again."
}
]
},
"started_at": "2026-08-31T12:00:01Z",
"finished_at": "2026-08-31T12:01:14Z",
"created_at": "2026-08-31T12:00:00Z",
"updated_at": "2026-08-31T12:01:14Z"
},
{
"id": "bbb22222-cccc-dddd-eeee-ffffffffffff0014",
"position": 3,
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3336",
"action_type": "create_task",
"action_config": {
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3336",
"position": 3,
"action_type": "create_task",
"recipient_type": null,
"team_member_id": "567e8901-e23c-45d6-e789-012345678901",
"payload": {
"content": "Review the offers waiting for a follow-up",
"task_type": "other",
"due_in_days": 1
}
},
"status": "completed",
"attempt": 1,
"error_message": null,
"result": {
"code": "task_created",
"due_at": "2026-09-01T12:01:15Z"
},
"started_at": "2026-08-31T12:00:01Z",
"finished_at": "2026-08-31T12:01:15Z",
"created_at": "2026-08-31T12:00:00Z",
"updated_at": "2026-08-31T12:01:15Z"
},
{
"id": "bbb22222-cccc-dddd-eeee-ffffffffffff0015",
"position": 4,
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3337",
"action_type": "agent_instructions",
"action_config": {
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3337",
"position": 4,
"action_type": "agent_instructions",
"recipient_type": null,
"team_member_id": null,
"payload": {
"instructions": "Archive deals with no activity for 90 days.",
"allow_update_records": true,
"allow_delete_records": true,
"output_format": {
"kind": "bullet_list"
}
}
},
"status": "skipped",
"attempt": 1,
"error_message": "This automation has no creator for the agent to act as, because it was created with an API key. Create it in the app instead.",
"result": {
"code": "agent_skipped"
},
"started_at": "2026-08-31T12:00:01Z",
"finished_at": "2026-08-31T12:01:15Z",
"created_at": "2026-08-31T12:00:00Z",
"updated_at": "2026-08-31T12:01:15Z"
},
{
"id": "bbb22222-cccc-dddd-eeee-ffffffffffff0016",
"position": 5,
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3338",
"action_type": "agent_instructions",
"action_config": {
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3338",
"position": 5,
"action_type": "agent_instructions",
"recipient_type": null,
"team_member_id": null,
"payload": {
"instructions": "List the five candidates added this week with the strongest sales background.",
"allow_update_records": false,
"allow_delete_records": false,
"output_format": {
"kind": "short_summary"
}
}
},
"status": "skipped",
"attempt": 1,
"error_message": null,
"result": {
"code": "not_implemented",
"message": "Agent steps are not turned on for this workspace."
},
"started_at": "2026-08-31T12:00:01Z",
"finished_at": "2026-08-31T12:01:15Z",
"created_at": "2026-08-31T12:00:00Z",
"updated_at": "2026-08-31T12:01:15Z"
},
{
"id": "bbb22222-cccc-dddd-eeee-ffffffffffff0017",
"position": 6,
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3339",
"action_type": "agent_instructions",
"action_config": {
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3339",
"position": 6,
"action_type": "agent_instructions",
"recipient_type": null,
"team_member_id": null,
"payload": {
"instructions": "Add a task for every open search without a task due this week.",
"allow_update_records": true,
"allow_delete_records": false,
"output_format": {
"kind": "table"
}
}
},
"status": "failed",
"attempt": 1,
"error_message": "The agent ran into a problem or ran out of time before it finished.",
"result": {
"agent_thread_id": "ccc33333-dddd-eeee-ffff-000000000003",
"agent_changes": [
{
"tool": "create-task",
"record": {
"type": "task",
"id": "ddd44444-eeee-ffff-0000-111111114444"
},
"fields": [
{
"name": "content_text",
"value": "Call Priya about her offer"
},
{
"name": "task_type",
"value": "text"
},
{
"name": "due_date",
"value": "2026-09-01"
},
{
"name": "owner_ids",
"value": [
"567e8901-e23c-45d6-e789-012345678901"
]
}
],
"status": "succeeded"
}
],
"agent_change_totals": [
{
"tool": "create-task",
"succeeded": 1,
"failed": 0
}
]
},
"started_at": "2026-08-31T12:00:01Z",
"finished_at": "2026-08-31T12:02:58Z",
"created_at": "2026-08-31T12:00:00Z",
"updated_at": "2026-08-31T12:02:58Z"
},
{
"id": "bbb22222-cccc-dddd-eeee-ffffffffffff0018",
"position": 7,
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3340",
"action_type": "agent_instructions",
"action_config": {
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3340",
"position": 7,
"action_type": "agent_instructions",
"recipient_type": null,
"team_member_id": null,
"payload": {
"instructions": "Summarize this week's new client contacts by company.",
"allow_update_records": false,
"allow_delete_records": false,
"output_format": null
}
},
"status": "waiting",
"attempt": 1,
"error_message": null,
"result": {
"code": "agent_running",
"message": "The agent is working on it.",
"resume_at": "2026-08-31T12:31:02Z",
"agent_thread_id": "ccc33333-dddd-eeee-ffff-000000000002"
},
"started_at": "2026-08-31T12:00:01Z",
"finished_at": null,
"created_at": "2026-08-31T12:00:00Z",
"updated_at": "2026-08-31T12:30:02Z"
},
{
"id": "bbb22222-cccc-dddd-eeee-ffffffffffff0019",
"position": 8,
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3341",
"action_type": "agent_instructions",
"action_config": {
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3341",
"position": 8,
"action_type": "agent_instructions",
"recipient_type": null,
"team_member_id": null,
"payload": {
"instructions": "List open searches with no candidate added in the last 14 days.",
"allow_update_records": false,
"allow_delete_records": false,
"output_format": {
"kind": "bullet_list"
}
}
},
"status": "failed",
"attempt": 1,
"error_message": "The agent did not start within 30 minutes.",
"result": {
"agent_thread_id": "ccc33333-dddd-eeee-ffff-000000000004"
},
"started_at": "2026-08-31T12:00:01Z",
"finished_at": "2026-08-31T12:30:02Z",
"created_at": "2026-08-31T12:00:00Z",
"updated_at": "2026-08-31T12:30:02Z"
}
]
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}Automations
Get automation run by ID
Retrieve one run and its per-action steps. Only organization admins, API keys and the automation’s creator can see its runs.
GET
/
v1
/
automations
/
runs
/
{runId}
Get automation run by ID
curl --request GET \
--url https://api.stardex.ai/v1/automations/runs/{runId} \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.stardex.ai/v1/automations/runs/{runId}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.stardex.ai/v1/automations/runs/{runId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.stardex.ai/v1/automations/runs/{runId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.stardex.ai/v1/automations/runs/{runId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.stardex.ai/v1/automations/runs/{runId}")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.stardex.ai/v1/automations/runs/{runId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": "bbb22222-cccc-dddd-eeee-ffffffffffff0011",
"automation_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3333",
"status": "waiting",
"attempts": 0,
"error_message": null,
"trigger_type": "schedule",
"trigger_payload": {
"scheduled_for": "2026-08-31T12:00:00Z"
},
"change_source": null,
"candidate_id": null,
"person_id": null,
"job_id": null,
"deal_id": null,
"started_at": "2026-08-31T12:00:01Z",
"finished_at": null,
"resume_at": "2026-08-31T12:31:02Z",
"created_at": "2026-08-31T12:00:00Z",
"updated_at": "2026-08-31T12:30:02Z",
"steps": [
{
"id": "bbb22222-cccc-dddd-eeee-ffffffffffff0012",
"position": 1,
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3334",
"action_type": "agent_instructions",
"action_config": {
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3334",
"position": 1,
"action_type": "agent_instructions",
"recipient_type": null,
"team_member_id": null,
"payload": {
"instructions": "Find candidates who have been in Offer for more than 7 days on open searches, move each to Follow up and add a note saying why. Example row: | Priya Raman | Senior Controller | 9 days |",
"allow_update_records": true,
"allow_delete_records": false,
"output_format": {
"kind": "custom",
"text": "One table row per candidate, longest wait first"
}
}
},
"status": "completed",
"attempt": 1,
"error_message": null,
"result": {
"code": "agent_completed",
"agent_output": "Checked 14 candidates in Offer on open searches; 1 has waited more than 7 days.\n\n| Candidate | Search | Days in Offer |\n|---|---|---|\n| [Priya Raman](/projects/456e7890-e12b-34d5-a678-901234567890?personId=456e7890-e12b-34d5-a678-901234567890) | Senior Controller | 9 |",
"agent_thread_id": "ccc33333-dddd-eeee-ffff-000000000001",
"agent_changes": [
{
"tool": "update-candidate-stage",
"record": {
"type": "candidate",
"id": "345e6789-e01b-23c4-d567-890123456789"
},
"fields": [
{
"name": "stage_id",
"value": "123e4567-e89b-12d3-a456-426614174000"
}
],
"status": "succeeded"
},
{
"tool": "create-person-activity",
"record": null,
"fields": [
{
"name": "activity_type",
"value": "note"
},
{
"name": "content_text",
"value": "In Offer for 9 days with no reply; nudged the client."
}
],
"status": "failed",
"reason": "Person not found"
}
],
"agent_change_totals": [
{
"tool": "update-candidate-stage",
"succeeded": 1,
"failed": 0
},
{
"tool": "create-person-activity",
"succeeded": 0,
"failed": 1
}
]
},
"started_at": "2026-08-31T12:00:01Z",
"finished_at": "2026-08-31T12:01:12Z",
"created_at": "2026-08-31T12:00:00Z",
"updated_at": "2026-08-31T12:01:12Z"
},
{
"id": "bbb22222-cccc-dddd-eeee-ffffffffffff0013",
"position": 2,
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3335",
"action_type": "send_email",
"action_config": {
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3335",
"position": 2,
"action_type": "send_email",
"recipient_type": "team_members",
"team_member_id": null,
"payload": {
"subject": "Offers waiting for a follow-up",
"body": "These offers need a follow-up this week:\n\n{{agent_output}}",
"team_member_ids": [
"567e8901-e23c-45d6-e789-012345678901"
],
"include_signature": false
}
},
"status": "completed",
"attempt": 1,
"error_message": null,
"result": {
"code": "email_sent",
"message": "Sent to 1 of 2",
"deliveries": [
{
"to_email": "maya@kestrelpartners.com",
"status": "sent"
},
{
"to_email": "sam@kestrelpartners.com",
"status": "skipped",
"reason": "An earlier attempt may already have sent this email, so it was not sent again."
}
]
},
"started_at": "2026-08-31T12:00:01Z",
"finished_at": "2026-08-31T12:01:14Z",
"created_at": "2026-08-31T12:00:00Z",
"updated_at": "2026-08-31T12:01:14Z"
},
{
"id": "bbb22222-cccc-dddd-eeee-ffffffffffff0014",
"position": 3,
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3336",
"action_type": "create_task",
"action_config": {
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3336",
"position": 3,
"action_type": "create_task",
"recipient_type": null,
"team_member_id": "567e8901-e23c-45d6-e789-012345678901",
"payload": {
"content": "Review the offers waiting for a follow-up",
"task_type": "other",
"due_in_days": 1
}
},
"status": "completed",
"attempt": 1,
"error_message": null,
"result": {
"code": "task_created",
"due_at": "2026-09-01T12:01:15Z"
},
"started_at": "2026-08-31T12:00:01Z",
"finished_at": "2026-08-31T12:01:15Z",
"created_at": "2026-08-31T12:00:00Z",
"updated_at": "2026-08-31T12:01:15Z"
},
{
"id": "bbb22222-cccc-dddd-eeee-ffffffffffff0015",
"position": 4,
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3337",
"action_type": "agent_instructions",
"action_config": {
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3337",
"position": 4,
"action_type": "agent_instructions",
"recipient_type": null,
"team_member_id": null,
"payload": {
"instructions": "Archive deals with no activity for 90 days.",
"allow_update_records": true,
"allow_delete_records": true,
"output_format": {
"kind": "bullet_list"
}
}
},
"status": "skipped",
"attempt": 1,
"error_message": "This automation has no creator for the agent to act as, because it was created with an API key. Create it in the app instead.",
"result": {
"code": "agent_skipped"
},
"started_at": "2026-08-31T12:00:01Z",
"finished_at": "2026-08-31T12:01:15Z",
"created_at": "2026-08-31T12:00:00Z",
"updated_at": "2026-08-31T12:01:15Z"
},
{
"id": "bbb22222-cccc-dddd-eeee-ffffffffffff0016",
"position": 5,
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3338",
"action_type": "agent_instructions",
"action_config": {
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3338",
"position": 5,
"action_type": "agent_instructions",
"recipient_type": null,
"team_member_id": null,
"payload": {
"instructions": "List the five candidates added this week with the strongest sales background.",
"allow_update_records": false,
"allow_delete_records": false,
"output_format": {
"kind": "short_summary"
}
}
},
"status": "skipped",
"attempt": 1,
"error_message": null,
"result": {
"code": "not_implemented",
"message": "Agent steps are not turned on for this workspace."
},
"started_at": "2026-08-31T12:00:01Z",
"finished_at": "2026-08-31T12:01:15Z",
"created_at": "2026-08-31T12:00:00Z",
"updated_at": "2026-08-31T12:01:15Z"
},
{
"id": "bbb22222-cccc-dddd-eeee-ffffffffffff0017",
"position": 6,
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3339",
"action_type": "agent_instructions",
"action_config": {
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3339",
"position": 6,
"action_type": "agent_instructions",
"recipient_type": null,
"team_member_id": null,
"payload": {
"instructions": "Add a task for every open search without a task due this week.",
"allow_update_records": true,
"allow_delete_records": false,
"output_format": {
"kind": "table"
}
}
},
"status": "failed",
"attempt": 1,
"error_message": "The agent ran into a problem or ran out of time before it finished.",
"result": {
"agent_thread_id": "ccc33333-dddd-eeee-ffff-000000000003",
"agent_changes": [
{
"tool": "create-task",
"record": {
"type": "task",
"id": "ddd44444-eeee-ffff-0000-111111114444"
},
"fields": [
{
"name": "content_text",
"value": "Call Priya about her offer"
},
{
"name": "task_type",
"value": "text"
},
{
"name": "due_date",
"value": "2026-09-01"
},
{
"name": "owner_ids",
"value": [
"567e8901-e23c-45d6-e789-012345678901"
]
}
],
"status": "succeeded"
}
],
"agent_change_totals": [
{
"tool": "create-task",
"succeeded": 1,
"failed": 0
}
]
},
"started_at": "2026-08-31T12:00:01Z",
"finished_at": "2026-08-31T12:02:58Z",
"created_at": "2026-08-31T12:00:00Z",
"updated_at": "2026-08-31T12:02:58Z"
},
{
"id": "bbb22222-cccc-dddd-eeee-ffffffffffff0018",
"position": 7,
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3340",
"action_type": "agent_instructions",
"action_config": {
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3340",
"position": 7,
"action_type": "agent_instructions",
"recipient_type": null,
"team_member_id": null,
"payload": {
"instructions": "Summarize this week's new client contacts by company.",
"allow_update_records": false,
"allow_delete_records": false,
"output_format": null
}
},
"status": "waiting",
"attempt": 1,
"error_message": null,
"result": {
"code": "agent_running",
"message": "The agent is working on it.",
"resume_at": "2026-08-31T12:31:02Z",
"agent_thread_id": "ccc33333-dddd-eeee-ffff-000000000002"
},
"started_at": "2026-08-31T12:00:01Z",
"finished_at": null,
"created_at": "2026-08-31T12:00:00Z",
"updated_at": "2026-08-31T12:30:02Z"
},
{
"id": "bbb22222-cccc-dddd-eeee-ffffffffffff0019",
"position": 8,
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3341",
"action_type": "agent_instructions",
"action_config": {
"action_id": "aaa11111-bbbb-cccc-dddd-eeeeeeee3341",
"position": 8,
"action_type": "agent_instructions",
"recipient_type": null,
"team_member_id": null,
"payload": {
"instructions": "List open searches with no candidate added in the last 14 days.",
"allow_update_records": false,
"allow_delete_records": false,
"output_format": {
"kind": "bullet_list"
}
}
},
"status": "failed",
"attempt": 1,
"error_message": "The agent did not start within 30 minutes.",
"result": {
"agent_thread_id": "ccc33333-dddd-eeee-ffff-000000000004"
},
"started_at": "2026-08-31T12:00:01Z",
"finished_at": "2026-08-31T12:30:02Z",
"created_at": "2026-08-31T12:00:00Z",
"updated_at": "2026-08-31T12:30:02Z"
}
]
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}Was this page helpful?