CLI
Inspect deployments and logs
List and inspect Easel deployments, and query or follow request logs, from the CLI.
These commands use the linked project unless you pass a project. See Link a project.
List deployments
| Option | Description |
|---|---|
[project] | Project slug or ID (defaults to the linked project) |
--status | Comma-separated statuses, such as READY,BUILDING |
--environment | production or preview |
--prod | Shorthand for --environment production |
--limit | Maximum number of deployments to return |
--cursor | Pagination cursor from a previous response |
The output lists each deployment's ID, status, environment, branch, age, and URL.
Inspect a deployment
Inspect a deployment by ID or by its URL:
The output shows the deployment's status, target, source, URL, Git commit, aliases, and timestamps.
| Option | Description |
|---|---|
-l, --logs | Print build logs |
--wait | Wait until the deployment reaches READY, ERROR, CANCELLED, or SPUN_DOWN |
--timeout | How long --wait waits, such as 5m or 30s (default 3m) |
Query request logs
easel logs shows recent requests for the project. Pass a deployment ID or URL
to narrow it to one deployment. Without --since, it shows the last 24 hours.
| Option | Description |
|---|---|
[reference], --deployment | Deployment ID or URL |
--project | Project slug or ID (defaults to the linked project) |
-e, --environment | production or preview |
--status-code | Status code or family, such as 500 or 5xx |
--level | Function log level: warning, error, or fatal |
-q, --query | Filter query, such as path:"/api" method:GET |
--request-id | One request by its ID |
--since, --until | Time bounds, such as 1h, 30m, or an ISO 8601 timestamp |
--limit | Maximum number of requests to return |
-x, --expand | Print function log lines under each request |
-f, --follow | Keep polling for new requests |
--timeout | How long --follow runs, such as 10m |
Follow live traffic
For how far back you can query and how often --follow polls, see
Observability limits. To search and
filter requests in the dashboard, see Logs.