# Action Attempts

You can perform actions against a device. However, devices exist in the physical world. The physical world is intrinsically asynchronous.

This means that certain actions can take seconds, minutes, or even days to complete. Furthermore, an action can fail, and you may also not find out until later.

This situation is challenging because the world of APIs is generally synchronous (request-response). APIs must answer instantly, but an instant response would imply instant completion of a long-lived physical process. Clearly, in this case, an instant response is not possible.

To solve this issue, we created action attempts.

When you request for a device to perform an action, the Seam API immediately returns an action attempt object. In the background, the Seam API performs the action.

This action attempt enables you to keep track of the progress of your action.

Our client libraries do this automatically for you. However, you can also choose not to wait and to check on the action at a later time.

For more information, see [Action Attempts](https://docs.seam.co/latest/api/action_attempts/) in the Seam API reference.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.seam.co/latest/core-concepts/action-attempts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
