When you retrieve a service's details with the Render API, many of the returned object's fields are the same regardless of the service's type (static site, web service, etc.). However, certain fields are returned only for certain service types. See the table below for details.
Legend
Symbol | Meaning |
---|---|
🟢 | Field is present |
❌ | Field is not present |
🟨 | Field is conditionally present (details vary by field) |
Field Name /
| Static Site | Web Service | Private Service | Background Worker | Cron Job |
---|---|---|---|---|---|
id
| 🟢 | 🟢 | 🟢 | 🟢 | 🟢 |
type | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 |
repo | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 |
name | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 |
autoDeploy | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 |
branch | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 |
createdAt | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 |
notifyOnFail | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 |
ownerId | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 |
slug | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 |
suspended | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 |
suspenders | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 |
updatedAt | 🟢 | 🟢 | 🟢 | 🟢 | 🟢 |
buildCommand | 🟢 | 🟨 | 🟨 | 🟨 | 🟨 |
dockerCommand | ❌ | 🟨 | 🟨 | 🟨 | 🟨 |
dockerContext | ❌ | 🟨 | 🟨 | 🟨 | 🟨 |
dockerfilePath | ❌ | 🟨 | 🟨 | 🟨 | 🟨 |
env | ❌ | 🟢 | 🟢 | 🟢 | 🟢 |
plan | ❌ | 🟢 | 🟢 | 🟢 | 🟢 |
region | ❌ | 🟢 | 🟢 | 🟢 | 🟢 |
healthCheckPath | ❌ | 🟢 | ❌ | ❌ | ❌ |
publishPath | 🟢 | ❌ | ❌ | ❌ | ❌ |
numInstances | ❌ | 🟨 | 🟨 | 🟨 | ❌ |
pullRequestPreviewsEnabled | 🟢 | 🟢 | 🟢 | 🟢 | ❌ |
openPorts | ❌ | 🟢 | 🟢 | ❌ | ❌ |
parentServer | 🟨 | 🟨 | 🟨 | 🟨 | ❌ |
url | 🟢 | 🟢 | 🟢 | ❌ | ❌ |
disk | ❌ | 🟢 | 🟢 | 🟢 | ❌ |
schedule | ❌ | ❌ | ❌ | ❌ | 🟢 |
lastSuccessfulRunAt | ❌ | ❌ | ❌ | ❌ | 🟢 |