data.youtube.channel.list
List YouTube channel identities cached on a connection by connection.youtube.sync-assets. Pure DB read — never calls the Data API.
List the YouTube channels a connection has already synced.
Overview
| Property | Value |
|---|---|
| Workflow type | Atomic |
| Library | App-youtube |
| Version | 1.0 |
Input Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | Yes | — | — |
connection_uuid | string | Yes | — | CloudConnection UUID (youtube) |
Output Schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
organization_uuid | string | No | — | — |
connection_uuid | string | No | — | — |
channels | json | No | — | channel_ref, title, handle, thumbnail_url, is_default |
count | integer | No | — | — |
stale | boolean | No | — | True when no channels are cached — run connection.youtube.sync-assets |
synced_at | string | No | — | When the connection record was last written |
failure_reason | string | No | — | — |
error | string | No | — | — |
error_type | string | No | — | — |
States
| State | Initial | Terminal | Success | Auto-advance | Description |
|---|---|---|---|---|---|
done | Yes | Yes | Yes | — | — |
Outcomes
| Outcome | Type | Description | State Data Keys |
|---|---|---|---|
completed | SUCCESS | Cached YouTube channels listed | channels, count |
failed | FAILURE | Could not list cached YouTube channels | failure_reason |
API Usage
bash
POST /api/workflows/start
Content-Type: application/json
{
"workflow_type": "data.youtube.channel.list",
"initial_data": {
"organization_uuid": "value",
"connection_uuid": "value"
}
}