# Function: automationsFor()

```ts
function automationsFor(
   node, 
   space, 
   account, 
   access?
): Promise<readonly ActiveAutomation[]>;
```

Defined in: [packages/core/src/schemas/automations.ts:592](https://github.com/leifriksheim/minca/blob/main/core/src/schemas/automations.ts#L592)

The automations in a space that `account` runs, none paused and none whose
current version an agent wrote: those it made without `by`, and those
naming it in `by` whose maker may instruct it here (`std.automation/instruct`).

## Parameters

| Parameter | Type |
| ------ | ------ |
| `node` | [`P2PNode`](https://minca.dev/api/core/interfaces/P2PNode.md) |
| `space` | `string` |
| `account` | `string` |
| `access?` | [`SpaceAccess`](https://minca.dev/api/core/interfaces/SpaceAccess.md) |

## Returns

`Promise`\<readonly [`ActiveAutomation`](https://minca.dev/api/schemas/interfaces/ActiveAutomation.md)[]\>
