> This page is for Developer.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.bigcommerce.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.bigcommerce.com/_mcp/server.

## Query historical logs with `catalyst logs query`

The Catalyst CLI adds a `logs query` command that retrieves historical logs from your deployed application over a time window of up to 7 days.

* **Flexible time windows** — use `--since` for a relative window or `--start`/`--end` for absolute UTC timestamps
* **Targeted filtering** — narrow results by `--method`, `--status-code`, `--url-like`, and `--level-min`
* **Output controls** — set `--limit` (up to 500) and pick a `--format` (`json`, `pretty`, `default`, `short`, `request`)

For details, see the [Catalyst CLI reference](/developer/docs/storefront/catalyst/reference/cli#logs-query).