List recipes

GET /api/v1/inventory/production/recipes

List production recipes for the business.

Operation ID: list_recipes_api_v1_inventory_production_recipes_get · View as markdown · OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Query

cursor string

Cursor for pagination

limit integer

Pagination limit

direction string default: next

Pagination direction: 'next' or 'prev'

include_total_count boolean default: False

Whether to include total count (expensive - avoid if possible)

sort_by string

Column name to sort by (e.g. 'created_at', 'amount', 'name'). When changing sort, reset cursor to None.

descending boolean default: True

Sort direction: true for descending (newest/largest first), false for ascending

Responses

200 Successful Response

items array · RecipeResponse requiredRecipeResponse
13 fields
id string required
business_id string required
name string required
description string
output_unit_name string required
output_unit_weight number required
output_unit_weight_unit string required
conversion_params object
materials array · RecipeMaterialResponse
output_variants array · RecipeOutputVariantResponse
processing_steps array · RecipeProcessingStepResponse
created_at string required
updated_at string required
total integer

Total number of items (null when not calculated for performance)

limit integer

Pagination limit

next_cursor string

Cursor for next page

prev_cursor string

Cursor for previous page

has_next boolean required

Whether there are more items

has_prev boolean required

Whether there are previous items

422 Validation Error

detail array · ValidationError ValidationError
5 fields
loc array · string | integer required
msg string required
type string required
input object
ctx object