# List the runs of one workflow (/api/listWorkflowExecutions)

Endpoint: GET /api/v1/workflows/{id}/executions
Full URL: https://app.sendkuy.com/api/v1/workflows/{id}/executions
- path parameter id (required): string — The prefixed id of the object.
- query parameter starting_after (optional): string — The `meta.next_cursor` from the previous page.
- query parameter limit (optional): integer, 1–100 — Rows per page. Defaults to 20, capped at 100.
Success status: 200

cURL:

```bash
curl -X GET https://app.sendkuy.com/api/v1/workflows/wfl_9cBe3A1H-SLhW5fONWZ32wb-IIio5Ts3/executions \
  -H "Authorization: Bearer sk_live_YOUR_API_KEY"
```

Node.js:

```ts
import { SendKuy } from 'sendkuy';

const sendkuy = new SendKuy('sk_live_YOUR_API_KEY');

const result = await sendkuy.workflows.listExecutions('wfl_9cBe3A1H-SLhW5fONWZ32wb-IIio5Ts3');
```

PHP:

```php
<?php

use SendKuy\SendKuy;

$sendkuy = new SendKuy('sk_live_YOUR_API_KEY');

$result = $sendkuy->workflows()->listExecutions('wfl_9cBe3A1H-SLhW5fONWZ32wb-IIio5Ts3');
```

Python:

```python
import requests

response = requests.request(
    "GET",
    "https://app.sendkuy.com/api/v1/workflows/wfl_9cBe3A1H-SLhW5fONWZ32wb-IIio5Ts3/executions",
    headers={"Authorization": "Bearer sk_live_YOUR_API_KEY"},
)

data = response.json()["data"]
```