---
title: "Get Table Log"
method: GET
path: "/table-log"
tags: ["table_log"]
---

# Get Table Log

`GET /table-log`

✅ LiveTableFeed.jsx COMPATIBILITY:
Returns:
  {
    "branch": "<resolved_branch>",
    "count": <n>,
    "logs": [ {table,time,hostess,waiter,contacts,...}, ... ]
  }

✅ Reads from:
  DATA_ROOT/branches/<branch>/table_log.txt

✅ Security:
  - Must be in allowed_branches()
  - Must be user_allows_branch(user, branch)

## Query parameters

- `branch` string, nullable — Target branch to read logs from
- `limit` integer
- `max_kb` integer
- `include_raw_lines` boolean — If true, includes raw_lines per entry

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/bamboome/apis/contact-sync-api.md) · [All operations](https://skmtc.dev/bamboome/apis/contact-sync-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bamboome/contact-sync-api/revisions/56beadb81ad2/schema)
