% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/query.R
\name{cloudos.query_status}
\alias{cloudos.query_status}
\title{Check Async Query Status}
\usage{
cloudos.query_status(profilename = "", task_id = "")
}
\arguments{
\item{profilename}{Character. Name of the configured profile to use. If empty or NULL, uses the default profile.}

\item{task_id}{Character. Task ID returned from cloudos.query_submit_async().}
}
\value{
List with task status, count of results, and other metadata.
}
\description{
Returns the current status and metadata for a submitted async SQL task.
}
\examples{
\dontrun{
  status <- cloudos.query_status(
    profilename = "production",
    task_id = "69a5c58d626fe626da0025ce"
  )
  print(status$status)
  print(status$count_of_results)
}
}
