Viewing Execution Environment Runtimes
Problem
You want to view the Python, R, Quarto, and Node.js versions available in a given execution environment.
Solution
Use the GET /v1/environments endpoint to get details on all environments. Then, filter the resulting data for your image of interest.
from posit import connect
IMAGE_NAME = "ghcr.io/posit-dev/connect-content:R4.5.3-python3.13.13-ubuntu-24.04"
client = connect.Client()
environment = client.environments.find_by(name=IMAGE_NAME)>>> environment
{
"id": "3",
"guid": "3b957216-b5e8-429f-8199-29a45ab7e683",
"created_time": "2026-04-27T21:36:05Z",
"updated_time": "2026-05-25T12:16:03Z",
"title": "R 4.5.3 / Python 3.13.13 / Quarto 1.9.37",
"description": None,
"cluster_name": "Kubernetes",
"name": "ghcr.io/posit-dev/connect-content:R4.5.3-python3.13.13-ubuntu-24.04",
"environment_type": "Kubernetes",
"matching": "any",
"supervisor": None,
"managed_by": "config",
"python": {
"installations": [
{
"version": "3.13.13",
"path": "/opt/python/3.13.13/bin/python3"
}
]
},
"nodejs": {
"installations": []
},
"quarto": {
"installations": [
{
"version": "1.9.37",
"path": "/opt/quarto/1.9.37/bin/quarto"
}
]
},
"r": {
"installations": [
{
"version": "4.5.3",
"path": "/opt/R/4.5.3/bin/R"
}
]
},
"tensorflow": {
"installations": []
}
}library(connectapi)
library(purrr)
IMAGE_NAME <- "ghcr.io/posit-dev/connect-content:R4.5.3-python3.13.13-ubuntu-24.04"
client <- connect()
all_images <- client$GET("/v1/environments")
image_names <- map_chr(all_images, ~ .$name)
image <- all_images[[match(IMAGE_NAME, image_names)]]
image <- image[c("python", "quarto", "r")]> image
$python
$python$installations
$python$installations[[1]]
$python$installations[[1]]$version
[1] "3.13.13"
$python$installations[[1]]$path
[1] "/opt/python/3.13.13/bin/python3"
$quarto
$quarto$installations
$quarto$installations[[1]]
$quarto$installations[[1]]$version
[1] "1.9.37"
$quarto$installations[[1]]$path
[1] "/opt/quarto/1.9.37/bin/quarto"
$r
$r$installations
$r$installations[[1]]
$r$installations[[1]]$version
[1] "4.5.3"
$r$installations[[1]]$path
[1] "/opt/R/4.5.3/bin/R"See also
- Viewing Container Image Usage for viewing a list of image names in use and how many content items use each.