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

\item{cohort_id}{Character. ID of the cohort to query schemas for.}
}
\value{
List with schema information including databases, tables, and columns.
}
\description{
Retrieves the list of available database schemas and tables for a cohort.
}
\examples{
\dontrun{
  # Get available schemas for a cohort
  schemas <- cloudos.cohort_tables(
    profilename = "production",
    cohort_id = "your-cohort-id"
  )
  
  # Display databases
  cat("Available databases:\n")
  for (db in schemas) {
    cat("  -", db$database, "\n")
  }
}
}
