Column API
Create, retrieve, and update table columns.
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 column list | GET | /tables/column/list/organization/{{organization_sid}}/list/?table__sid={{table_sid}} |
| Create column | POST | /tables/column/list/organization/{{organization_sid}}/list/?table__sid={{table_sid}} |
| Get column detail | GET | /tables/column/detail/{{column_sid}}/ |
| Update column | PATCH | /tables/column/detail/{{column_sid}}/ |
| Get column templates | GET | /tables/column/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: name, ref, sid, description, widget, is_required, should_hide_in_form_view, should_hide_in_list_view, is_archived, order, table, change_permission, verbose_name
Detail response: name, name_system, ref, sid, description, table, widget, configuration, ai_configuration, permission, default_data, order, is_required, should_hide_in_form_view, should_hide_in_list_view, should_disable_copying, should_mask_data, max_width, metadata, is_archived, date_created, date_updated, updated_by, change_permission, help_text, verbose_name
Write serializer: sid, table, name, ref, description, widget, configuration, ai_configuration, permission, default_data, order, is_required, should_hide_in_form_view, should_hide_in_list_view, should_disable_copying, should_mask_data, max_width, metadata, 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": [
{
"name": null,
"ref": null,
"sid": null,
"description": null,
"widget": null,
"is_required": null,
"should_hide_in_form_view": null,
"should_hide_in_list_view": 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.
{
"name": null,
"name_system": null,
"ref": null,
"sid": null,
"description": null,
"table": null,
"widget": null,
"configuration": null,
"ai_configuration": null,
"permission": null,
"default_data": null,
"order": null,
"is_required": null,
"should_hide_in_form_view": null,
"should_hide_in_list_view": null,
"should_disable_copying": null,
"should_mask_data": null,
"max_width": null,
"metadata": null,
"is_archived": null,
"date_created": null,
"date_updated": null,
"updated_by": null,
"change_permission": null,
"help_text": null,
"verbose_name": null
}
Example request
curl --request GET \
--url 'https://www.labii.dev/tables/column/list/organization/{{organization_sid}}/list/?table__sid={{table_sid}}' \
--header 'Authorization: Bearer <api_key>'