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

# List Operations

List pending messages in operation queues. Returns current messages being processed by the relayer.

<ResponseField type="PendingOperation[]">
  Array of pending operations
</ResponseField>

<ResponseExample>
  ```json Response theme={null}
  [
    {
      "message_id": "0x123...",
      "status": "pending",
      "attempts": 1,
      "last_attempt": "2024-01-01T12:00:00Z"
    }
  ]
  ```
</ResponseExample>

<RequestExample>
  ```bash curl theme={null}
  curl "http://localhost:9090/list_operations"
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch('http://localhost:9090/list_operations');
  const operations = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.get('http://localhost:9090/list_operations')
  operations = response.json()
  ```
</RequestExample>
