List Action Attempts
Returns a list of the action attempts that you specify as an array of action_attempt_id
s.
Returns a list of the action attempts that you specify as an array of action_attempt_id
s.
Code:
await seam.actionAttempts.list({
action_attempt_ids: [
"5f4e3d2c-1b0a-9f8e-7d6c-5b4a3c2d1e0f",
"3f2b1c8d-1b5e-4f8c-9c7d-9a8b7c6d5e4f",
],
});
Output:
[
{
"action_attempt_id": "5f4e3d2c-1b0a-9f8e-7d6c-5b4a3c2d1e0f",
"action_type": "UNLOCK_DOOR",
"error": null,
"result": {},
"status": "success"
},
{
"action_attempt_id": "3f2b1c8d-1b5e-4f8c-9c7d-9a8b7c6d5e4f",
"action_type": "LOCK_DOOR",
"error": null,
"result": {},
"status": "success"
}
]
Request Parameters
action_attempt_ids
Array of UUIDs (Required)
IDs of the action attempts that you want to retrieve.
Response
Array of action_attempts
Last updated
Was this helpful?