Skip to content
dimmiDocs

AI agent

Get an AI action call

GET/api/v1/ai/action-calls/{call}

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the ai:read ability

Path parameters

callstringrequired

Id of the action call, starting with aax_, such as aax_01jx2m8k4t. Find it with GET /ai/action-calls.

Response 200

OK
dataobjectrequired
Show child attributes
action_idstringrequired

Id of the action that was called, such as aac_... Send it wherever an action is asked for.

action_version_idstring | nullrequired

Id of the published version of the action that ran, such as aacv_... Null when no version is recorded.

approvalstringrequired

Who on the team had to approve the call: none, teammate or admin.

cancel_reasonstring | nullrequired

Why the call was canceled: customer (the customer declined to confirm) or superseded (the agent proposed a newer write). Null when not canceled.

completed_atstring | nullrequired

When the call finished or was canceled. Null while it still waits or runs.

Format: date-time

confirmationstringrequired

Whether the customer had to confirm the call: none or customer.

confirmed_atstring | nullrequired

When the customer confirmed the call. Null when no confirmation was asked or it has not been given.

Format: date-time

connection_idstringrequired

Id of the connection the call went through, such as acn_...

conversation_idstring | nullrequired

Id of the conversation the call was made in, such as conv_... Null for a call made outside a conversation, such as a test.

created_atstringrequired

When it was created, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

customer_messagestring | nullrequired

The message the agent passes on to the customer after a teammate declined the call. Null when none was written.

decided_atstring | nullrequired

When a teammate approved or declined the call. Null when no approval was needed or none has been given.

Format: date-time

decided_by_member_idstring | nullrequired

Id of the teammate who approved or declined the call, such as mem_... Null when nobody decided.

decision_reasonstring | nullrequired

The teammate's internal reason for approving or declining, never shown to the customer. Null when none was given.

error_codestring | nullrequired

Why the call failed, such as auth_failed, not_found, upstream_rejected, rate_limited, unavailable, host_blocked or response_too_large. Null when it did not fail.

expires_atstring | nullrequired

When a call waiting for verification, confirmation or approval lapses. Null once it no longer waits.

Format: date-time

http_statusinteger | nullrequired

HTTP status the workspace's API answered with, such as 200 or 404. Null when no answer was received.

Format: int32

idstringrequired

The id of this record. Send it wherever an endpoint asks for this record; never use its name or title in its place.

inputany

The arguments the model gave, frozen when the call was proposed. Left out unless the caller may read payloads.

latency_msinteger | nullrequired

How long the request took, in milliseconds. Null when nothing was sent.

Format: int32

message_idstring | nullrequired

Id of the agent's message that told the customer about the call, such as msg_... Null when there is none.

modestringrequired

Whether the call was real or a trial: live for a call in a conversation, test for a test of the action.

objectstringrequired

The kind of record this is, the same for every record of its kind, such as article.

reported_atstring | nullrequired

When the customer was told how the call ended, or it was settled that nobody needs to be told. Null until then.

Format: date-time

requestany

The request that was sent, as JSON. Left out unless the caller may read payloads.

requested_atstringrequired

When the agent asked for the call.

Format: date-time

responseany

What the workspace's API or MCP server answered, as JSON. Left out unless the caller may read payloads.

resultany

The shaped result the model read: only the mapped response fields, or an error and message. Left out unless the caller may read payloads.

run_idstring | nullrequired

Id of the agent run that asked for the call, such as air_... Null when there is none.

sent_atstring | nullrequired

When the request was sent. Null when nothing has been sent yet.

Format: date-time

side_effectstringrequired

Whether the call only reads data (read) or changes something (write).

statestringrequired

Where the call stands: awaiting_verification, awaiting_confirmation, pending_approval, approved, declined, expired, canceled, running, succeeded or failed.

summarystringrequired

Plain sentence of what the call will do, built from the checked arguments. This is what a customer confirms or a teammate approves.

titlestringrequired

The action's short name at the time of the call, such as Refund an order.

updated_atstringrequired

When it last changed, as an RFC 3339 time, such as 2026-01-31T09:00:00Z.

Format: date-time

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.