> ## Documentation Index
> Fetch the complete documentation index at: https://yieldxyz.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Action by ID

> Get details of a trading action

## Get Action

Returns details of a specific trading action.

<RequestExample>
  ```bash cURL theme={null}
  curl https://api.yield.xyz/v1/perps/actions/action_123 \
    -H "x-api-key: your_api_key"
  ```
</RequestExample>

## Response

```json theme={null}
{
  "id": "action_123",
  "status": "completed",
  "type": "OPEN_POSITION",
  "transactions": [
    {
      "id": "tx_456",
      "status": "confirmed",
      "hash": "0xabc..."
    }
  ]
}
```
