Filter API
Create and manage saved table filters.
All paths are relative to https://www.labii.dev and require bearer authentication unless noted otherwise. Replace each placeholder with an identifier from your Labii environment.
Endpoints
| Operation | Method | Path |
|---|---|---|
| Get filter list | GET | /tables/filter/list/organization/{{organization_sid}}/list/?table__sid={{table_sid}} |
| Create filter | POST | /tables/filter/list/organization/{{organization_sid}}/list/?table__sid={{table_sid}} |
| Get filter detail | GET | /tables/filter/detail/{{filter_sid}}/ |
| Update filter | PATCH | /tables/filter/detail/{{filter_sid}}/ |
| Delete filter | DELETE | /tables/filter/detail/{{filter_sid}}/ |
| Get filter templates | GET | /tables/filter/templates/ |
The final URL segment on list endpoints selects the response serializer. The examples use list; supported endpoints can also expose representations such as name or detail.
Serializer fields
List response item: icon, name, ref, sid, description, owners, teams, show_in_menu, digest_frequency, is_archived, order, table, change_permission, verbose_name
Detail response: sid, table, name, description, ref, icon, color, order, query, query_exclude, owners, teams, digest_frequency, should_send_digest_email_if_empty, ics, show_in_menu, is_default, is_archived, date_updated, date_created, updated_by, change_permission, help_text, verbose_name
Write serializer: sid, table, name, description, ref, icon, color, order, query, query_exclude, owners, teams, show_in_menu, digest_frequency, should_send_digest_email_if_empty, is_default, is_archived, updated_by, date_updated, date_created
The write serializer is the backend validation schema. The view may populate identity, parent, and audit fields from the URL or authenticated user, and may disallow fields for a particular operation.
List response JSON
The values below are placeholders that show the exact keys returned by the current list serializer. They do not indicate that every field is nullable.
{
"page_size": 10,
"page_number": 1,
"page_count": 1,
"count": 1,
"next": null,
"previous": null,
"add_permission": false,
"results": [
{
"icon": null,
"name": null,
"ref": null,
"sid": null,
"description": null,
"owners": null,
"teams": null,
"show_in_menu": null,
"digest_frequency": null,
"is_archived": null,
"order": null,
"table": null,
"change_permission": null,
"verbose_name": null
}
]
}
Detail response JSON
The values below are placeholders that show the exact keys returned by the current detail serializer. Nested relationship and metadata values depend on the resource.
{
"sid": null,
"table": null,
"name": null,
"description": null,
"ref": null,
"icon": null,
"color": null,
"order": null,
"query": null,
"query_exclude": null,
"owners": null,
"teams": null,
"digest_frequency": null,
"should_send_digest_email_if_empty": null,
"ics": null,
"show_in_menu": null,
"is_default": null,
"is_archived": null,
"date_updated": null,
"date_created": null,
"updated_by": null,
"change_permission": null,
"help_text": null,
"verbose_name": null
}
Example request
curl --request GET \
--url 'https://www.labii.dev/tables/filter/list/organization/{{organization_sid}}/list/?table__sid={{table_sid}}' \
--header 'Authorization: Bearer <api_key>'