Skip to main content
Use the dashboard, Baseten CLI, or Management API to investigate a deployment or monitor an environment. For dashboard filtering and request correlation, see Logs. For dashboard graphs and their interpretation, see Metrics. To collect metrics continuously in an external monitoring system, use metrics export. For CLI examples, install and authenticate the Baseten CLI. For API examples, set BASETEN_API_KEY to a Baseten API key. Replace the model and deployment ID placeholders with your IDs.

Fetch and stream logs

Pull logs to debug an incident, filter for an error, or use the output in a script. Fetch a time window of up to 7 days:
To view logs:
  1. Sign in to your workspace at app.baseten.co and choose Dedicated Inference in the sidebar.
  2. Select your model.
  3. Choose Logs.
  4. Open the dropdown showing the current environment or deployment, then choose your deployment under Switch deployments.
Filter by level or replica, search, or follow live output with the controls at the top of the logs view.
For more information about filters like log level, search patterns, and request ID, see logs and the logs endpoint.

Fetch metrics

View or fetch a deployment’s replica count, request volume, and end-to-end latency quantiles to check its health.
To view metrics:
  1. Sign in to your workspace at app.baseten.co and choose Dedicated Inference in the sidebar.
  2. Select your model.
  3. Choose Metrics.
  4. Open the dropdown showing the current environment or deployment, then choose your deployment under Switch deployments.
The metrics view charts request rates by status code, latency percentiles, and replica counts. Set the window with the time-range selector at the top.
For more information about modes, windows, and metric selection, see metrics and the metrics endpoint (beta). For what each metric means, see Metrics.

Fetch environment logs and metrics

Use environment scope to follow logs and metrics across promotions. It includes the deployments serving that environment during the selected time window, so you can investigate a rollout without querying each deployment separately.
To view an environment’s logs and metrics:
  1. Sign in to your workspace at app.baseten.co and choose Dedicated Inference in the sidebar.
  2. Select your model.
  3. Choose Logs or Metrics.
  4. Open the dropdown showing the current environment or deployment, then choose your environment under Switch environments.
The view includes deployments that served that environment during the selected time window.
For more information, see environment logs and environment metrics, and the environment logs endpoint and environment metrics endpoint (beta).

Next steps

Check logs and metrics before and after a deployment change.