Skip to main content
GET
Get an agentic automation run

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

The ID of the run.

Response

The run

object
enum<string>
required

The object type, always 'agentic_automation_run'.

Available options:
agentic_automation_run
id
string
required

Unique identifier for the run.

automation_id
string
required

The ID of the automation this run belongs to.

agent_id
string
required

The ID of the agent that ran.

agent_name
string
required

Name of the agent that ran.

automation_name
string
required

Name of the automation this run belongs to.

invocation
enum<string>
required

How the run started. automatic for a schedule or app event, manual for a person running it, test for a test run.

Available options:
automatic,
manual,
test
status
enum<string>
required

Where the run is in its life.

Available options:
queued,
running,
succeeded,
failed,
cancelling,
cancelled,
awaiting_approval,
needs_attention,
timed_out
failure_reason
enum<string> | null
required

Why the run did not succeed. Null when it has not failed.

Available options:
exception,
agent_error,
no_response,
resource_unavailable,
user_unavailable,
unauthorized,
out_of_credits,
timed_out
triggered_by_user_id
string | null
required

The user who started the run. Null for an automatic run.

created_at
string<date-time>
required

ISO 8601 timestamp of when the run was created.

started_at
string<date-time> | null
required

ISO 8601 timestamp of when the run started. Null until it starts.

ended_at
string<date-time> | null
required

ISO 8601 timestamp of when the run ended. Null while it is open.

cancelled_at
string<date-time> | null
required

ISO 8601 timestamp of when the run was cancelled. Null if it was not.

output_conversation_id
string | null
required

The conversation the run wrote to. Null when the run has none.

type
enum<string>
required

What starts the automation: a schedule or an app event.

Available options:
scheduled,
app_event
resource_type
string | null
required

The kind of record an app event run was started for, for example Submittals. Null for a scheduled run.

resource_id
string | null
required

The id of that record, as a string. Null for a scheduled run.

result
string | null
required

What the agent answered, as text. Null unless status is succeeded, and null once the answer has been deleted.

Prose, not a rendering: an embedded chart reads as [Chart: ...] and a table as [Table: ...].

structured_result
object | null
required

Whatever the agent stored for the record, as opaque JSON. Datagrid does not name or validate its keys, so they are an agreement between the agent and its reader, and you cannot sort or filter on one.

Null when the agent stored nothing, and null when result is empty.