% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/serve.R
\name{lms_server_status}
\alias{lms_server_status}
\title{Check the status of the LM Studio server}
\usage{
lms_server_status(
  json = FALSE,
  verbose = FALSE,
  quiet = FALSE,
  log_level = NULL
)
}
\arguments{
\item{json}{Logical. Output the status in machine-readable JSON format.}

\item{verbose}{Logical. Enable detailed logging output.}

\item{quiet}{Logical. Suppress all logging output.}

\item{log_level}{Character. The level of logging to use (e.g., "info",
"debug").}
}
\value{
By default, returns a character vector containing the raw CLI output.
If \code{json = TRUE} and the \code{jsonlite} package is available, it
returns a parsed list or \code{data.frame} of the status configuration.
}
\description{
Displays the current status of the LM Studio local server via the CLI,
including whether it is running and its configuration.
}
\details{
You can only use one logging control flag at a time (\code{verbose},
\code{quiet}, or \code{log_level}).
}
\examples{
\dontrun{
lms_server_start()

# Get basic status string
lms_server_status()

# Get status as a parsed JSON data frame
lms_server_status(json = TRUE)
}
}
\seealso{
\href{https://lmstudio.ai/docs/cli/serve/server-status}{LM Studio CLI Server Status Documentation}
}
