Materials
List materials for the current organization scoped to a project
Retrieve materials for the current organization scoped to a project.
Filter parameters support Supabase filter operators:
- Text fields (name, manufacturer, product_id): use ilike.%value% for a partial match, or a bare value for exact equality
- Date fields: use gte.value, lte.value, etc.
- Date range: use created_at_gt and created_at_lt for between queries
q is the search box's free-text param, applied in the repository independently of the name filter above.
get/materials
Query parameters
project_idstring required
Project to scope materials to
Project to scope materials to
limitinteger
offsetinteger
qstring nullable
Free-text search on material name (case-insensitive substring).
Free-text search on material name (case-insensitive substring).
namestring nullable
manufacturerstring nullable
product_idstring nullable
created_atstring nullable
created_at_gtstring nullable
created_at_ltstring nullable
updated_atstring nullable
updated_at_gtstring nullable
updated_at_ltstring nullable
order_by'name' | 'manufacturer' | 'created_at' | 'updated_at'
order'asc' | 'desc'
Response
Successful Response
Changes
No recorded changes to this endpoint across all 1 revision of this API.