Create a recipe
Creates a recipe from a template in the workspace the request is authenticated for. The recipe is created empty - no data sources, no connections, no accounts - so the next call has to be PUT /api/v3.1/automated-recipes/{recipe_id}/. Starting a build before that answers 409 recipe_not_configured.
One recipe per template per workspace. A second create from the same template answers 409 recipe_already_exists and names the recipes that already exist. Do not create recipes from one template in one workspace in parallel: the second call loses the race and gets the same answer.
title names the recipe and nothing else. It is optional and at most 255 characters; if it is missing, null, empty or only spaces, the template supplies the default name. The name of the output table is derived from the title of the template at the moment the recipe is created, never from title in this body, and the recipe keeps that name for good: renaming the template later changes the table name only for recipes deployed after the rename. To read the physical name, take datatable_id from this response and call GET /api/v3/data-tables/{data_table_id}, then read sql_name.
Request
- Base URLhttps://embedded.improvado.io
- Auth
- HTTP bearer
- or API key in cookie dts_session_id
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
The recipe was created. It holds no configuration yet, so data_sources, connections and sources are empty and last_build_at is null.
Changes
No recorded changes to this operation across all 1 revision of this API.