> ## Documentation Index
> Fetch the complete documentation index at: https://www.seam.co/docs/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.

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

***

## Properties

**action\_attempt\_id** `String (UUID)`

ID of the action attempt.

**status** `Enum (String)`

Status of the action attempt.

> [accordion] Enum values
>
> * `pending`
> * `success`
> * `error`

**action\_type** `Enum (String)`

Type of the action attempt.

> [accordion] 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`
> * `ACTIVATE_WEEKLY_PROGRAM`
> * `SIMULATE_KEYPAD_CODE_ENTRY`
> * `SIMULATE_MANUAL_LOCK_VIA_KEYPAD`
> * `PUSH_THERMOSTAT_PROGRAMS`
> * `CONFIGURE_AUTO_LOCK`
> * `CONVERT_ACCESS_CODE_TO_MANAGED`

**error** `Object`

Error associated with the action attempt. Null for pending and successful action attempts.

**result** `Object`

Result of the action attempt. Null for pending and errored action attempts.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.