---
jsApi: true
title: "[F] getActionDetails"

---
```ts
getActionDetails(program, operation): ActionDetails | undefined
```

Gets the ActionDetails for the specified operation if it has previously been marked with @action.

## Parameters

| Parameter | Type |
| :------ | :------ |
| `program` | `Program` |
| `operation` | `Operation` |

## Returns

[`ActionDetails`](../interfaces/ActionDetails.md) \| `undefined`
