Retention Policies

7 endpoints

List retention policies

List all retention policies with optional filtering

Parameters
page
integerPage number
page_size
integerPage size
is_active
booleanFilter by active status
specimen_type_code
stringFilter by specimen type code
test_category
stringFilter by test category
Responses
200Retention policies list
401Unauthorized
403Module not enabled
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.retention-policies.list({
8 page: 1,
9 page_size: 1,
10 is_active: true,
11 specimen_type_code: 'example',
12 test_category: 'example',
13});
14
15console.log(result);