> ## Documentation Index
> Fetch the complete documentation index at: https://docs.seam.co/llms.txt
> Use this file to discover all available pages before exploring further.

# The Action Attempt Object

> Learn how the action_attempt object tracks an attempt to perform an action against a device, letting you monitor its status and final result.

## The action\_attempt Object

Represents an attempt to perform an action against a device.

<ResponseExample>
  ```json Action Attempt theme={null}
  {
    "action_attempt_id": "3f2b1c8d-1b5e-4f8c-9c7d-9a8b7c6d5e4f",
    "action_type": "LOCK_DOOR",
    "error": null,
    "result": {},
    "status": "success"
  }
  ```
</ResponseExample>

***

## Properties

<ResponseField name="action_attempt_id" type="String (UUID)">
  ID of the action attempt.
</ResponseField>

<ResponseField name="status" type="Enum (String)">
  Status of the action attempt.

  <Accordion title="Enum values">
    * `pending`
    * `success`
    * `error`
  </Accordion>
</ResponseField>

<ResponseField name="action_type" type="Enum (String)">
  Type of the action attempt.

  <Accordion title="Enum values">
    * `LOCK_DOOR`
    * `UNLOCK_DOOR`
    * `SCAN_CREDENTIAL`
    * `ENCODE_CREDENTIAL`
    * `SCAN_TO_ASSIGN_CREDENTIAL`
    * `ASSIGN_CREDENTIAL`
    * `RESET_SANDBOX_WORKSPACE`
    * `SET_FAN_MODE`
    * `SET_HVAC_MODE`
    * `ACTIVATE_CLIMATE_PRESET`
    * `SIMULATE_KEYPAD_CODE_ENTRY`
    * `SIMULATE_MANUAL_LOCK_VIA_KEYPAD`
    * `PUSH_THERMOSTAT_PROGRAMS`
    * `CONFIGURE_AUTO_LOCK`
  </Accordion>
</ResponseField>

<ResponseField name="error" type="Object">
  Error associated with the action attempt. Null for pending and successful action attempts.
</ResponseField>

<ResponseField name="result" type="Object">
  Result of the action attempt. Null for pending and errored action attempts.
</ResponseField>
