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

# Get Hook Executions

> Retrieve execution history for a hook

Returns past execution results for a hook, ordered newest first.

## Path Parameters

<ParamField path="marketId" type="string" required>Market ID.</ParamField>
<ParamField path="hookId" type="string" required>Hook ID.</ParamField>

## Query Parameters

<ParamField query="limit" type="integer" default="50">
  Number of executions to return. Min 1, max 200.
</ParamField>

<RequestExample>
  ```bash cURL theme={null}
  curl "https://api.trusset.org/lending-stocks/api/hooks/{marketId}/{hookId}/executions?limit=10" \
    -H "X-API-Key: trusset_your_key_here"
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "success": true,
    "data": {
      "executions": [
        {
          "id": "exec_001",
          "hookId": "hook_002",
          "executionType": "monitorRisk",
          "result": true,
          "data": { "score": 72 },
          "error": null,
          "executedAt": "2025-06-15T11:55:00.000Z"
        },
        {
          "id": "exec_002",
          "hookId": "hook_002",
          "executionType": "monitorRisk",
          "result": false,
          "data": { "score": 38 },
          "error": null,
          "executedAt": "2025-06-15T11:50:00.000Z"
        }
      ]
    }
  }
  ```
</ResponseExample>
