list_sources
Retrieve all configured sources including event-stream sources and RETL sources with filtering options by type and definition. Use when you need to see available sources for connecting destinations, analyzing data flow, or managing source configurations. Returns source collections with event-stream sources containing sourceId, name, sourceType, writeKey, enabled status, and RETL sources containing sourceId, name, sourceType, query/table information, and optional configuration details.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| retl_type | No | Filter RETL (Reverse ETL) sources by data type. Options: 'all' (default, returns all RETL sources), 'none' (excludes RETL sources, shows only regular event sources), 'table' (warehouse table sources), 'model' (model sources), 'audience' (customer audience segments), 'audience-cohort' (audience cohort segments), 'profiles-table' (RudderStack profiles tables), 'profiles-audience' (RudderStack profiles audiences), 'data-graph-audience' (RudderStack data graph audiences), 'sql-audience' (SQL-defined audience sources). Examples: Use 'table' for warehouse sync sources, 'audience' for marketing campaigns. | all |
| workspace_id | Yes | ||
| sourceDefinitionName | No | Filter event-stream sources by platform type. Common examples: 'Klaviyo' (email marketing), 'Segment' (CDP), 'PostgreSQL' (database), 'Webhook' (custom HTTP), 'iOS' (mobile app), 'JavaScript' (web app), 'Android' (mobile app), 'Shopify' (e-commerce). Use exact display names from source definitions. |