data.telegram.bot.list ​
List TelegramBot rows for an organization (UUID-only)
List TelegramBot rows for an organization (UUID-only).
Inputs:
- organization_uuid: Organization UUID (required; resolved from request context)
- enabled_only: Restrict to enabled bots (optional)
- limit / offset: pagination (clamped by the engine)
Outputs (terminal state_data):
- items / count / total / limit / offset
- error: str | None (only on failure)
Overview ​
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-telegram |
| Version | 1.0 |
Input Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | uuid | Yes | — | Organization UUID |
enabled_only | boolean | No | — | Restrict to enabled bots |
limit | integer | No | 50 | Page size — hard-capped by the engine |
offset | integer | No | 0 | Pagination offset |
Output Schema ​
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
items | list | Yes | — | — |
count | integer | Yes | — | — |
total | integer | Yes | — | — |
limit | integer | Yes | — | — |
offset | integer | Yes | — | — |
error | string | No | — | — |
error_type | string | No | — | Error-as-field envelope populated when query() raises. |
States ​
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
done | Yes | Yes | Yes | — | — |
API Usage ​
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "data.telegram.bot.list",
"initial_data": {
"organization_uuid": "value"
}
}