Consumables

10 endpoints

List consumables

Get a paginated list of consumables with optional filtering

Parameters
page
integerPage number
page_size
integerPage size
category
stringFilter by category
storage_location
stringFilter by storage location
search
stringSearch in code/name/description
Responses
200Successfully retrieved consumables
401Authentication required
500Internal server error
Code Examples
example.ts
typescript
1import { Limbos } from '@limbos/sdk';
2
3const client = new Limbos({
4 apiKey: process.env.LIMBOS_API_KEY,
5});
6
7const result = await client.consumables.list({
8 page: 1,
9 page_size: 1,
10 category: 'example',
11 storage_location: 'example',
12 search: 'example',
13});
14
15console.log(result);