create_datasources
Create multiple datasources in one API call. Supports REST, GraphQL, and database plugins with automatic template filling for missing configuration.
Instructions
Create multiple datasources in one tool call via Appsmith's REST API. Each entry is
{"name", "plugin_id", "url"?, "datasource_config"?, "workspace_id"?}. If
datasource_config is omitted, a per-plugin template is filled in (REST/GraphQL,
Postgres/MySQL/Mongo) per entry's pluginPackageName. For REST you can pass just url.
DB templates have empty host/port/credentials — populate them via datasource_config
for a working connection. workspace_id defaults to the currently selected workspace.
The Redux list is refetched once at the end.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| datasources | Yes |