Register a recipe document
register_recipeRegisters the JSON recipe that says where the data comes from, how it is shaped and what must be true of it. The server canonicalizes the document and computes its digest — you cannot and must not state one. Identical bytes register once: a repeat returns the same ids. Example: {"recipe": { …the whole recipe document… }}. Read the mostlyright://recipe-reference resource before writing one, and mostlyright://recipes/examples for working documents. Returns {recipe_id, recipe_digest, dataset_id, table_id, source_ids}. source_ids has one id per declared source, in order — a source that gathers a whole collection of pages is ONE source with ONE id however many pages it covers, so never count pages as sources. A malformed document comes back as recipe_invalid with the exact pointers that failed — fix those and register again. Registering builds nothing and costs nothing. Next: start_run with recipe_id and recipe_digest.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| recipe | Yes |