Create and connect
Sign in at app.usestatemachines.com and select the workspace.- Open Environments.
- Choose Create environment and select the apps your task needs. For each app, choose who it acts as in Act as. Choose a Time limit.
- Give the environment a name that identifies the task, then create it.
- Open the environment and wait for Running.
- To change the actor after creation, use Acts as in the app list.
- Choose Copy prompt. If the environment has several apps, choose the app to hand to your agent.
- Paste the prompt into the agent session that uses this environment.
connect() helper described in credentials and actors.
An environment in Starting is accepted but not ready for app requests. If startup fails, read the failure shown for the affected app before you create another environment.
Inspect a run
Open Requests to inspect calls to the app. Select the time range, app, method, or status to narrow the list. Enter a search and press Enter to search recorded paths, query parameters, and text bodies. Clear the filters when a known call is missing. Open a request to inspect its status, query parameters, recorded headers, and body content. Omitted means the recorder did not store that body. A binary body has no text preview. Recording is best effort, so an empty request list does not prove that your client sent nothing. Open Audit events to see environment actions such as creation, pause, resume, and deletion. Audit events record lifecycle changes. They do not list app requests. See requests and audit events for the difference.Keep data or finish the task
To take a break and keep the data, open More actions and choose Pause. Pausing releases compute and stops the time limit. Choose Resume to start it again before the next app request. Paused environments still expire, so check the deletion deadline on the page. To save reusable starting data from a running environment, open More actions and choose Create snapshot. Wait for Ready before you create an environment from the snapshot. When the task is complete, open More actions and choose Delete. Deleting removes the environment’s app data. A saved snapshot is a separate resource and stays. Environment lifecycle explains pause, deletion, and automatic expiry. If an action is missing or disabled, check the status and your permissions first. Copy prompt requires a running environment andenvironments:connect. Pause, Resume, and Delete require environments:write. Create snapshot requires snapshots:write and an active workspace. See access troubleshooting.