---
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`](Interface.ActionDetails.md) \| `undefined`
