# Render API Documentation > Documentation for Render API ## OpenAPI spec: Open API Spec - [OpenAPI Spec](https://api-docs.render.com/docs/api-spec.md): Use the Render OpenAPI spec with tools like Postman and Insomnia or generate your own Render clients ## API Reference: API Overview - [Introduction](https://api-docs.render.com/reference/introduction.md) - [Authentication](https://api-docs.render.com/reference/authentication.md) - [Pagination](https://api-docs.render.com/reference/pagination.md) - [Filtering Results](https://api-docs.render.com/reference/parameters.md) - [Rate Limiting](https://api-docs.render.com/reference/rate-limiting.md) - [PATCH Requests](https://api-docs.render.com/reference/requests.md) ## API Reference: Compute - Deploys - [List deploys](https://api-docs.render.com/reference/list-deploys.md): List deploys matching the provided filters. If no filters are provided, all deploys for the service are returned. - [Trigger deploy](https://api-docs.render.com/reference/create-deploy.md): Trigger a deploy for the service with the provided ID. - [Retrieve deploy](https://api-docs.render.com/reference/retrieve-deploy.md): Retrieve the details of a particular deploy for a particular service. - [Cancel deploy](https://api-docs.render.com/reference/cancel-deploy.md): Cancel an in-progress deploy for a service. Not supported for cron jobs. - [Roll back deploy](https://api-docs.render.com/reference/rollback-deploy.md): Trigger a rollback to a previous deploy of the specified service. Triggering a rollback with this endpoint does not disable autodeploys for the service. This means an autodeploy might restore… - Services - [List services](https://api-docs.render.com/reference/list-services.md): List services matching the provided filters. If no filters are provided, returns all services you have permissions to view. - [Create service](https://api-docs.render.com/reference/create-service.md): Creates a new Render service in the specified workspace with the specified configuration. 400 with `code: build_source_region_mismatch` if `buildSourceId` names a git-backed Build Source in a… - [Retrieve service](https://api-docs.render.com/reference/retrieve-service.md): Retrieve the service with the provided ID. - [Update service](https://api-docs.render.com/reference/update-service.md): Update the service with the provided ID. 400 with `code: build_source_region_mismatch` if `buildSourceId` names a git-backed Build Source in a different region than the service. - [Delete service](https://api-docs.render.com/reference/delete-service.md): Delete the service with the provided ID. - [Purge Web Service Cache](https://api-docs.render.com/reference/purge-cache.md): Trigger cache purge for the web service if caching is enabled. - [List events](https://api-docs.render.com/reference/list-events.md): List recent events that occurred for the service with the provided ID. - [Suspend service](https://api-docs.render.com/reference/suspend-service-1.md): Suspend the service with the provided ID. - [Resume service](https://api-docs.render.com/reference/resume-service-1.md): Resume the service with the provided ID (if it's currently suspended). - [Restart service](https://api-docs.render.com/reference/restart-service.md): Restart the service with the provided ID. Not supported for cron jobs. - [List instances](https://api-docs.render.com/reference/list-instances.md): List instances for the provided service. - [Retrieve service outbound IPs](https://api-docs.render.com/reference/retrieve-service-outbound-ips.md): Retrieve the IP addresses the service's outbound traffic originates from. A service uses either a dedicated IP set that applies to it, or the shared Render IPs for its region. - [Create service preview (image-backed)](https://api-docs.render.com/reference/preview-service.md): Create a preview instance for an image-backed service. The preview uses the settings of the base service (referenced by `serviceId`), except settings overridden via provided parameters. View all… - Scaling - [Scale instance count](https://api-docs.render.com/reference/scale-service.md): [Scale](https://render.com/docs/scaling#manual-scaling) the service with the provided ID to a fixed number of instances. Render ignores this value as long as autoscaling is enabled for the service. - [Update autoscaling config](https://api-docs.render.com/reference/autoscale-service.md): Update the [autoscaling](https://render.com/docs/scaling#autoscaling) config for the service with the provided ID. - [Delete autoscaling config](https://api-docs.render.com/reference/delete-autoscaling-config.md): Delete the autoscaling config for a service given the service id. - Workflows - [List workflows](https://api-docs.render.com/reference/listworkflows.md): List workflows that match the provided filters. If no filters are provided, all workflows accessible by the authenticated user are returned. - [Create a workflow](https://api-docs.render.com/reference/createworkflow.md): Create a new workflow service with the specified configuration. - [Retrieve workflow](https://api-docs.render.com/reference/getworkflow.md): Retrieve the workflow service with the provided ID. - [Update workflow](https://api-docs.render.com/reference/updateworkflow.md): Update the workflow service with the provided ID. - [Delete workflow](https://api-docs.render.com/reference/deleteworkflow.md): Delete the workflow service with the provided ID. - [List workflow versions](https://api-docs.render.com/reference/listworkflowversions.md): List known versions of the workflow service with the provided ID. - [Deploy a workflow version](https://api-docs.render.com/reference/createworkflowversion.md): Creates and deploys a new version of a workflow. - [Retrieve workflow version](https://api-docs.render.com/reference/getworkflowversion.md): Retrieve the specific workflow service version with the provided ID. - Tasks - [List tasks](https://api-docs.render.com/reference/listtasks.md): List workflow tasks that match the provided filters. If no filters are provided, all task definitions accessible by the authenticated user are returned. - [Retrieve task](https://api-docs.render.com/reference/gettask.md): Retrieve the workflow task with the provided ID. - [List task runs](https://api-docs.render.com/reference/listtaskruns.md): List task runs that match the provided filters. If no filters are provided, all task runs accessible by the authenticated user are returned. - [Run task](https://api-docs.render.com/reference/createtask.md): Kicks off a run of the workflow task with the provided ID, passing the provided input data. - [Retrieve task run](https://api-docs.render.com/reference/gettaskrun.md): Retrieve the workflow task run with the provided ID. - [Cancel task run](https://api-docs.render.com/reference/canceltaskrun.md): Cancel a running task run with the provided ID. - [Stream realtime events (SSE)](https://api-docs.render.com/reference/streamtaskrunsevents.md): Establishes a unidirectional event stream. The server sends events as lines formatted per the SSE spec. Clients should set `Accept: text/event-stream` and keep the connection open. The server sends… - Flows - [List flows](https://api-docs.render.com/reference/listflows.md): List workflow flows that match the provided filters. If no filters are provided, all flow definitions accessible by the authenticated user are returned. - [Retrieve flow](https://api-docs.render.com/reference/getflow.md): Retrieve the workflow flow with the provided ID. - [List flow runs](https://api-docs.render.com/reference/listflowruns.md): List flow runs that match the provided filters. If no filters are provided, all flow runs accessible by the authenticated user are returned. - [Start flow run](https://api-docs.render.com/reference/startflowrun.md): Starts a run of the workflow flow with the provided slug, passing the provided input data. - [Retrieve flow run](https://api-docs.render.com/reference/getflowrun.md): Retrieve the flow run with the provided ID, including its input and results. - [Cancel flow run](https://api-docs.render.com/reference/cancelflowrun.md): Cancel a running flow run with the provided ID. - [List flow run steps](https://api-docs.render.com/reference/listflowrunsteps.md): List the steps a flow run has recorded, in the order the flow started them. A page can hold fewer than `limit` steps and still have more after it, so page until `hasMore` is false. - [Retrieve flow run step](https://api-docs.render.com/reference/getflowrunstep.md): Retrieve a single step of a flow run, including its input, result and error. A sequence number can cover more than one step, so pass the `stepKey` the step listing reported to address one of those. - Cron Jobs - [Trigger cron job run](https://api-docs.render.com/reference/run-cron-job.md): Trigger a run for a cron job and cancel any active runs. - [Cancel running cron job](https://api-docs.render.com/reference/cancel-cron-job-run.md): Cancel a currently running cron job. - Env Vars / Secrets - [List environment variables](https://api-docs.render.com/reference/get-env-vars-for-service.md): List all environment variables for the service with the provided ID. - [Retrieve environment variable](https://api-docs.render.com/reference/retrieve-env-var.md): Retrieve a particular environment variable for a particular service. This only applies to environment variables set directly on the service, not to environment variables in a linked environment… - [Add or update environment variable](https://api-docs.render.com/reference/update-env-var.md): Add or update a particular environment variable for a particular service. This only applies to environment variables set directly on the service, not to environment variables in a linked environment… - [Update environment variables](https://api-docs.render.com/reference/update-env-vars-for-service.md): Replace all environment variables for a service with the provided list of environment variables. - [Delete environment variable](https://api-docs.render.com/reference/delete-env-var.md): Delete a particular environment variable from a particular service. This only applies to environment variables set directly on the service, not to environment variables in a linked environment group. - [List secret files](https://api-docs.render.com/reference/list-secret-files-for-service.md): List all secret files for the service with the provided ID. - [Retrieve secret file](https://api-docs.render.com/reference/retrieve-secret-file.md): Retrieve a particular secret file for a particular service. This only applies to secret files set directly on the service, not to secret files in a linked environment group. - [Add or update secret file](https://api-docs.render.com/reference/add-or-update-secret-file.md): Add or update a particular secret file for a particular service. This only applies to secret files set directly on the service, not to secret files in a linked environment group. - [Update secret files](https://api-docs.render.com/reference/update-secret-files-for-service.md): Replace all secret files for a service with the provided list of secret files. **Any of the service's existing secret files not included in this request will be deleted.** This only applies to… - [Delete secret file](https://api-docs.render.com/reference/delete-secret-file.md): Delete a particular secret file from a particular service. This only applies to secret files set directly on the service, not to secret files in a linked environment group. - Custom Domains - [List custom domains](https://api-docs.render.com/reference/list-custom-domains.md): List a particular service's custom domains that match the provided filters. If no filters are provided, all custom domains for the service are returned. - [Add custom domain](https://api-docs.render.com/reference/create-custom-domain.md): Add a custom domain to the service with the provided ID. - [Retrieve custom domain](https://api-docs.render.com/reference/retrieve-custom-domain.md): Retrieve a particular custom domain for a particular service. - [Delete custom domain](https://api-docs.render.com/reference/delete-custom-domain.md): Delete a custom domain for a service given the service id and custom domain id or name. - [Verify DNS configuration](https://api-docs.render.com/reference/refresh-custom-domain.md): Verify the DNS configuration for a custom domain. - One-Off Jobs - [List jobs](https://api-docs.render.com/reference/list-job.md): List jobs for the provided service that match the provided filters. If no filters are provided, all jobs for the service are returned. - [Create job](https://api-docs.render.com/reference/post-job.md): Create a one-off job using the provided service. For details, see [One-Off Jobs](https://render.com/docs/one-off-jobs). - [Retrieve job](https://api-docs.render.com/reference/retrieve-job.md): Retrieve the details of a particular one-off job for a particular service. - [Cancel running job](https://api-docs.render.com/reference/cancel-job.md): Cancel a particular one-off job for a particular service. ## API Reference: Static Sites - Response Headers - [List header rules](https://api-docs.render.com/reference/list-headers.md): List a particular service's response header rules that match the provided filters. If no filters are provided, all rules for the service are returned. - [Add header rule](https://api-docs.render.com/reference/add-headers.md): Add a response header rule to the service with the provided ID. - [Replace header rules](https://api-docs.render.com/reference/update-headers.md): Replace all header rules for a particular service with the provided list. **This deletes all existing header rules for the service that aren't included in the request.** - [Delete header rule](https://api-docs.render.com/reference/delete-header.md): Delete a particular response header rule for a particular service. - Redirects & Rewrites - [List redirect/rewrite rules](https://api-docs.render.com/reference/list-routes.md): List a particular service's redirect/rewrite rules that match the provided filters. If no filters are provided, all rules for the service are returned. - [Add redirect/rewrite rules](https://api-docs.render.com/reference/add-route.md): Add redirect/rewrite rules to the service with the provided ID. - [Update redirect/rewrite rule priority](https://api-docs.render.com/reference/patch-route.md): Update the priority for a particular redirect/rewrite rule. To apply redirect/rewrite rules to an incoming request, Render starts from the rule with priority `0` and applies the first encountered… - [Update redirect/rewrite rules](https://api-docs.render.com/reference/put-routes.md): Replace all redirect/rewrite rules for a particular service with the provided list. **This deletes all existing redirect/rewrite rules for the service that aren't included in the request.** Rule… - [Delete redirect/rewrite rule](https://api-docs.render.com/reference/delete-route.md): Delete a particular redirect/rewrite rule for a particular service. ## API Reference: Datastores - Postgres - [List Postgres instances](https://api-docs.render.com/reference/list-postgres.md): List Postgres instances matching the provided filters. If no filters are provided, all Postgres instances are returned. - [Create Postgres instance](https://api-docs.render.com/reference/create-postgres.md): Create a new Postgres instance. - [Retrieve Postgres instance](https://api-docs.render.com/reference/retrieve-postgres.md): Retrieve a Postgres instance by ID. - [Update Postgres instance](https://api-docs.render.com/reference/update-postgres.md): Update a Postgres instance by ID. - [Delete Postgres instance](https://api-docs.render.com/reference/delete-postgres.md): Delete a Postgres instance by ID. This operation is irreversible, and all data will be lost. - [Retrieve Postgres connection info](https://api-docs.render.com/reference/retrieve-postgres-connection-info.md): Retrieve connection info for a Postgres instance by ID. Connection info includes sensitive information. - [Retrieve point-in-time recovery status](https://api-docs.render.com/reference/retrieve-postgres-recovery-info.md): Retrieve information on the availability of Postgres point-in-time recovery for a Postgres instance by ID. - [Trigger point-in-time recovery](https://api-docs.render.com/reference/recover-postgres.md): Trigger [point-in-time recovery](https://render.com/docs/postgresql-backups) on the Postgres instance with the provided ID. - [Suspend Postgres instance](https://api-docs.render.com/reference/suspend-postgres.md): Suspend a Postgres instance by ID. - [Resume Postgres instance](https://api-docs.render.com/reference/resume-postgres.md): Resume a Postgres instance by ID. - [Restart Postgres instance](https://api-docs.render.com/reference/restart-postgres.md): Restart a Postgres instance by ID. - [Failover Postgres instance](https://api-docs.render.com/reference/failover-postgres.md): Failover a [highly available Postgres](https://render.com/docs/postgresql-high-availability) instance. - Database exports - [List Postgres exports](https://api-docs.render.com/reference/list-postgres-export.md): List [exports](https://render.com/docs/postgresql-backups#logical-backups) for a Postgres instance by ID. Returns a URL to download the export. - [Create Postgres export](https://api-docs.render.com/reference/create-postgres-export.md): Create an [export](https://render.com/docs/postgresql-backups#logical-backups) of a Postgres instance by ID. - Database metrics - [List live queries](https://api-docs.render.com/reference/list-postgres-processes.md): List currently running queries (from `pg_stat_activity`) on a Postgres instance by ID. - [List database, table, and index sizes](https://api-docs.render.com/reference/list-postgres-sizes.md): List the sizes of databases, tables, and indexes on a Postgres instance by ID. - [List table scans](https://api-docs.render.com/reference/list-postgres-table-scans.md): List the number of sequential scans performed against each table on a Postgres instance by ID. - [List top queries](https://api-docs.render.com/reference/list-postgres-top-queries.md): List the top 50 queries by total execution time (from `pg_stat_statements`) on a Postgres instance by ID. - PostgreSQL Users - [List PostgreSQL Users](https://api-docs.render.com/reference/list-postgres-users.md): List PostgreSQL users for the Render Postgres instance with the provided ID. - [Create PostgreSQL User](https://api-docs.render.com/reference/create-postgres-user.md): Create a new PostgreSQL user for the Render Postgres instance with the provided ID. This becomes the database's new "default" user. - [Delete PostgreSQL User](https://api-docs.render.com/reference/delete-postgres-user.md): Delete a PostgreSQL user from the Render Postgres instance with the provided ID. - Key Value - [List Key Value instances](https://api-docs.render.com/reference/list-key-value.md): List Key Value instances matching the provided filters. If no filters are provided, all Key Value instances are returned. - [Create Key Value instance](https://api-docs.render.com/reference/create-key-value.md): Create a new Key Value instance. - [Retrieve Key Value instance](https://api-docs.render.com/reference/retrieve-key-value.md): Retrieve a Key Value instance by ID. - [Retrieve Key Value connection info](https://api-docs.render.com/reference/retrieve-key-value-connection-info.md): Retrieve connection info for a Key Value instance by ID. Connection info includes sensitive information. - [Update Key Value instance](https://api-docs.render.com/reference/update-key-value.md): Update a Key Value instance by ID. Note that changing your plan, max memory policy, or persistence mode will restart your Key Value instance. - [Delete Key Value instance](https://api-docs.render.com/reference/delete-key-value.md): Delete a Key Value instance by ID. - [Suspend Key Value instance](https://api-docs.render.com/reference/suspend-key-value.md): Suspend a Key Value instance by ID. - [Resume Key Value instance](https://api-docs.render.com/reference/resume-key-value.md): Resume a Key Value instance by ID. - Disks - [List disks](https://api-docs.render.com/reference/list-disks.md): List persistent disks matching the provided filters. If no filters are provided, returns all disks you have permissions to view. - [Add disk](https://api-docs.render.com/reference/add-disk.md): Attach a persistent disk to a web service, private service, or background worker. The service must be redeployed for the disk to be attached. - [Retrieve disk](https://api-docs.render.com/reference/retrieve-disk.md): Retrieve the persistent disk with the provided ID. - [Update disk](https://api-docs.render.com/reference/update-disk.md): Update the persistent disk with the provided ID. The disk's associated service must be deployed and active for updates to take effect. When resizing a disk, the new size must be greater than the… - [Delete disk](https://api-docs.render.com/reference/delete-disk.md): Delete a persistent disk attached to a service. **All data on the disk will be lost.** The disk's associated service will immediately lose access to it. - [List snapshots](https://api-docs.render.com/reference/list-snapshots.md): List snapshots for the persistent disk with the provided ID. Each snapshot is a point-in-time copy of the disk's data. - [Restore snapshot](https://api-docs.render.com/reference/restore-snapshot.md): Restore a persistent disk to an available snapshot. **This operation is irreversible.** It will overwrite the current disk data. It might also trigger a service deploy. Snapshot keys returned from… ## API Reference: Infra Management - Blueprints - [List Blueprints](https://api-docs.render.com/reference/list-blueprints.md): List Blueprints for the specified workspaces. If no workspaces are provided, returns all Blueprints the API key has access to. - [Validate Blueprint](https://api-docs.render.com/reference/validate-blueprint.md): Validate a `render.yaml` Blueprint file without creating or modifying any resources. This endpoint checks the syntax and structure of the Blueprint, validates that all required fields are present,… - [Retrieve Blueprint](https://api-docs.render.com/reference/retrieve-blueprint.md): Retrieve the Blueprint with the provided ID. - [Update Blueprint](https://api-docs.render.com/reference/update-blueprint.md): Update the Blueprint with the provided ID. - [Disconnect Blueprint](https://api-docs.render.com/reference/disconnect-blueprint.md): Disconnect the Blueprint with the provided ID. Disconnecting a Blueprint stops automatic resource syncing via the associated `render.yaml` file. It does not _delete_ any services or other resources… - [List Blueprint syncs](https://api-docs.render.com/reference/list-blueprint-syncs.md): List syncs for the Blueprint with the provided ID. Syncs that are planned but not yet approved (in the `created` state) are not included. - Dedicated IPs - [List dedicated IPs](https://api-docs.render.com/reference/list-dedicated-ips.md): List dedicated IP sets for a workspace. - [Create dedicated IP set](https://api-docs.render.com/reference/create-dedicated-ip.md): Create a dedicated IP set. Provisioning an IP set is asynchronous. The response returns immediately with `status: CREATING` and `ips: []`. When provisioning completes, status changes to `RUNNING` and… - [Retrieve dedicated IP set](https://api-docs.render.com/reference/retrieve-dedicated-ip.md): Retrieve the dedicated IP set with the provided ID. - [Update dedicated IP set](https://api-docs.render.com/reference/update-dedicated-ip.md): Update the dedicated IP set with the provided ID. All fields are optional. Omitted fields are left unchanged. To switch from environment-scoped to workspace-scoped, provide `environmentIds: []`. - [Delete dedicated IP set](https://api-docs.render.com/reference/delete-dedicated-ip.md): Delete the dedicated IP set with the provided ID. - Environment Groups - [List environment groups](https://api-docs.render.com/reference/list-env-groups.md): List environment groups matching the provided filters. If no filters are provided, all environment groups are returned. - [Create environment group](https://api-docs.render.com/reference/create-env-group.md): Create a new environment group. - [Retrieve environment group](https://api-docs.render.com/reference/retrieve-env-group.md): Retrieve an environment group by ID. - [Update environment group](https://api-docs.render.com/reference/update-env-group.md): Update the attributes of an environment group. - [Delete environment group](https://api-docs.render.com/reference/delete-env-group.md): Delete the environment group with the provided ID, including all environment variables and secret files it contains. - [Link service](https://api-docs.render.com/reference/link-service-to-env-group.md): Link a particular service to a particular environment group. The linked service will have access to the environment variables and secret files in the group. - [Unlink service](https://api-docs.render.com/reference/unlink-service-from-env-group.md): Unlink a particular service from a particular environment group. The service will lose access to the environment variables and secret files in the group. - [Retrieve environment variable](https://api-docs.render.com/reference/retrieve-env-group-env-var.md): Retrieve a particular environment variable in a particular environment group. - [Add or update environment variable](https://api-docs.render.com/reference/update-env-group-env-var.md): Add or update a particular environment variable in a particular environment group. - [Remove environment variable](https://api-docs.render.com/reference/delete-env-group-env-var.md): Remove a particular environment variable from a particular environment group. - [Retrieve secret file](https://api-docs.render.com/reference/retrieve-env-group-secret-file.md): Retrieve a particular secret file in a particular environment group. - [Add or update secret file](https://api-docs.render.com/reference/update-env-group-secret-file.md): Add or update a particular secret file in an particular environment group. - [Remove secret file](https://api-docs.render.com/reference/delete-env-group-secret-file.md): Remove a particular secret file from a particular environment group. - Maintenance - [List maintenance runs](https://api-docs.render.com/reference/list-maintenance.md): List scheduled and/or recent maintenance runs for specified resources. - [Retrieve maintenance run](https://api-docs.render.com/reference/retrieve-maintenance.md): Retrieve the maintenance run with the provided ID. - [Update maintenance run](https://api-docs.render.com/reference/update-maintenance.md): Update the maintenance run with the provided ID. Updates from this endpoint are asynchronous. To check your update's status, use the [Retrieve maintenance… - [Trigger maintenance run](https://api-docs.render.com/reference/trigger-maintenance.md): Trigger the scheduled maintenance run with the provided ID. Triggering maintenance is asynchronous. To check whether maintenance has started, use the [Retrieve maintenance… - Projects & Environments - [List projects](https://api-docs.render.com/reference/list-projects.md): List projects matching the provided filters. If no filters are provided, all projects are returned. - [Create project](https://api-docs.render.com/reference/create-project.md): Create a new project. - [Retrieve Project](https://api-docs.render.com/reference/retrieve-project.md): Retrieve the project with the provided ID. - [Update project](https://api-docs.render.com/reference/update-project.md): Update the details of a project. To update the details of a particular _environment_ in the project, instead use the [Update environment](https://api-docs.render.com/reference/update-environment)… - [Delete project](https://api-docs.render.com/reference/delete-project.md): Delete the project with the provided ID. Requires _all_ of the project's environments to be empty (i.e., they must contain no services or other resources). Otherwise, deletion fails with a `409`… - [Create environment](https://api-docs.render.com/reference/create-environment.md): Create a new environment belonging to the project with the provided ID. - [List environments](https://api-docs.render.com/reference/list-environments.md): List a particular project's environments matching the provided filters. If no filters are provided, all environments are returned. - [Retrieve environment](https://api-docs.render.com/reference/retrieve-environment.md): Retrieve the environment with the provided ID. - [Update environment](https://api-docs.render.com/reference/update-environment.md): Update the details of the environment with the provided ID. - [Delete environment](https://api-docs.render.com/reference/delete-environment.md): Delete the environment with the provided ID. Requires the environment to be empty (i.e., it must contain no services or other resources). Otherwise, deletion fails with a `409` response. To delete… - [Add resources to environment](https://api-docs.render.com/reference/add-resources-to-environment.md): Add resources to the environment with the provided ID. - [Remove resources from environment](https://api-docs.render.com/reference/remove-resources-from-environment.md): Remove resources from the environment with the provided ID. - Registry Credentials - [List registry credentials](https://api-docs.render.com/reference/list-registry-credentials.md): List registry credentials matching the provided filters. If no filters are provided, returns all registry credentials you have permissions to view. - [Create registry credential](https://api-docs.render.com/reference/create-registry-credential.md): Create a new registry credential. - [Retrieve registry credential](https://api-docs.render.com/reference/retrieve-registry-credential.md): Retrieve the registry credential with the provided ID. - [Update registry credential](https://api-docs.render.com/reference/update-registry-credential.md): Update the registry credential with the provided ID. Services that use this credential must be redeployed to use updated values. - [Delete registry credential](https://api-docs.render.com/reference/delete-registry-credential.md): Delete the registry credential with the provided ID. ## API Reference: Monitoring - Logs - [List logs](https://api-docs.render.com/reference/list-logs.md): List logs matching the provided filters. Logs are paginated by start and end timestamps. There are more logs to fetch if `hasMore` is true in the response. Provide the `nextStartTime` and… - [Subscribe to new logs](https://api-docs.render.com/reference/subscribe-logs.md): Open a websocket connection to subscribe to logs matching the provided filters. Logs are streamed in real-time as they are generated. You can query for logs across multiple resources, but all… - [List log label values](https://api-docs.render.com/reference/list-logs-values.md): List all values for a given log label in the logs matching the provided filters. - [Retrieve log stream](https://api-docs.render.com/reference/get-owner-log-stream.md): Returns log stream information for the specified workspace. - [Update log stream](https://api-docs.render.com/reference/update-owner-log-stream.md): Updates log stream information for the specified workspace. All logs for resources owned by this workspace will be sent to this log stream unless overridden by individual resources. - [Delete log stream](https://api-docs.render.com/reference/delete-owner-log-stream.md): Removes the log stream for the specified workspace. - [List log stream overrides](https://api-docs.render.com/reference/list-resource-log-streams.md): Lists log stream overrides for the provided workspace that match the provided filters. These overrides take precedence over the workspace's default log stream. - [Retrieve log stream override](https://api-docs.render.com/reference/get-resource-log-stream.md): Returns log stream override information for the specified resource. A log stream override takes precedence over a workspace's default log stream. - [Update log stream override](https://api-docs.render.com/reference/update-resource-log-stream.md): Updates log stream override information for the specified resource. A log stream override takes precedence over a workspace's default log stream. - [Delete log stream override](https://api-docs.render.com/reference/delete-resource-log-stream.md): Removes the log stream override for the specified resource. After deletion, the resource will use the workspace's default log stream setting. - Metrics - [Retrieve metrics stream](https://api-docs.render.com/reference/getownermetricsstream.md): Returns metrics stream information for the specified workspace. - [Create or update metrics stream](https://api-docs.render.com/reference/upsertownermetricsstream.md): Creates or updates the metrics stream for the specified workspace. - [Delete metrics stream](https://api-docs.render.com/reference/deleteownermetricsstream.md): Deletes the metrics stream for the specified workspace. - [Get CPU usage](https://api-docs.render.com/reference/get-cpu.md): Get CPU usage for one or more resources. - [Get CPU limit](https://api-docs.render.com/reference/get-cpu-limit.md): Get the CPU limit for one or more resources. - [Get CPU target](https://api-docs.render.com/reference/get-cpu-target.md): Get CPU target for one or more resources. - [Get memory usage](https://api-docs.render.com/reference/get-memory.md): Get memory usage for one or more resources. - [Get memory limit](https://api-docs.render.com/reference/get-memory-limit.md): Get the memory limit for one or more resources. - [Get memory target](https://api-docs.render.com/reference/get-memory-target.md): Get memory target for one or more resources. - [Get HTTP request count](https://api-docs.render.com/reference/get-http-requests.md): Get the HTTP request count for one or more resources. - [Get HTTP latency](https://api-docs.render.com/reference/get-http-latency.md): Get HTTP latency metrics for one or more resources. - [Get bandwidth usage](https://api-docs.render.com/reference/get-bandwidth.md): Get bandwidth usage for one or more resources. - [Get disk usage](https://api-docs.render.com/reference/get-disk-usage.md): Get persistent disk usage for one or more resources. - [Get bandwidth usage breakdown by traffic source](https://api-docs.render.com/reference/get-bandwidth-sources.md): Get bandwidth usage for one or more resources broken down by traffic source (HTTP, WebSocket, NAT, PrivateLink). Returns hourly data points with traffic source breakdown. Traffic source data is… - [Get disk capacity](https://api-docs.render.com/reference/get-disk-capacity.md): Get persistent disk capacity for one or more resources. - [Get instance count](https://api-docs.render.com/reference/get-instance-count.md): Get the instance count for one or more resources. - [Get active connection count](https://api-docs.render.com/reference/get-active-connections.md): Get the number of active connections for one or more Postgres databases or Redis instances. - [Get replica lag](https://api-docs.render.com/reference/get-replication-lag.md): Get seconds of replica lag of a Postgres replica. - [List queryable instance values](https://api-docs.render.com/reference/list-application-filter-values.md): List instance values to filter by for one or more resources. - [List queryable status codes and host values](https://api-docs.render.com/reference/list-http-filter-values.md): List status codes and host values to filter by for one or more resources. - [List queryable paths](https://api-docs.render.com/reference/list-path-filter-values.md): The path suggestions are based on the most recent 5000 log lines as filtered by the provided filters - [Get task runs queued count](https://api-docs.render.com/reference/get-task-runs-queued.md): Get the total number of task runs queued for one or more tasks. - [Get task runs completed count](https://api-docs.render.com/reference/get-task-runs-completed.md): Get the total number of task runs completed for one or more tasks. Optionally filter by state (succeeded/failed) or aggregate by state. ## API Reference: Notifications - Events - [Retrieve event](https://api-docs.render.com/reference/retrieve-event.md): Retrieve the details of a particular event - Notification Settings - [Retrieve notification settings](https://api-docs.render.com/reference/retrieve-owner-notification-settings.md): Retrieve notification settings for the owner with the provided ID. Note that you provide an owner ID to this endpoint, not the ID for a particular resource. - [Update notification settings](https://api-docs.render.com/reference/patch-owner-notification-settings.md): Update notification settings for the owner with the provided ID. - [List notification overrides](https://api-docs.render.com/reference/list-notification-overrides.md): List notification overrides matching the provided filters. If no filters are provided, returns all notification overrides for all workspaces the user belongs to. - [Retrieve notification override](https://api-docs.render.com/reference/retrieve-service-notification-overrides.md): Retrieve the notification override for the service with the provided ID. Note that you provide a service ID to this endpoint, not the ID for a particular override. - [Update notification override](https://api-docs.render.com/reference/patch-service-notification-overrides.md): Update the notification override for the service with the provided ID. - Webhooks - [Create a webhook](https://api-docs.render.com/reference/create-webhook.md): Create a new webhook. - [List webhooks](https://api-docs.render.com/reference/list-webhooks.md): List webhooks - [Retrieve a webhook](https://api-docs.render.com/reference/retrieve-webhook.md): Retrieve the webhook with the provided ID - [Update a webhook](https://api-docs.render.com/reference/update-webhook.md): Update the webhook with the provided ID. - [Delete a webhook](https://api-docs.render.com/reference/delete-webhook.md): Delete the webhook with the provided ID. - [List webhook events](https://api-docs.render.com/reference/list-webhook-events.md): Retrieve a list of events that have been sent to this webhook, with optional filtering by timestamp. ## API Reference: Team & Identity - Audit Logs - [List workspace audit logs](https://api-docs.render.com/reference/list-owner-audit-logs.md): Retrieve audit logs for a specific workspace with optional filtering and pagination. - [List organization audit logs](https://api-docs.render.com/reference/list-organization-audit-logs.md): Retrieve audit logs for a specific organization with optional filtering and pagination. - Users - [Get the authenticated user](https://api-docs.render.com/reference/get-user.md): Retrieve the user associated with the provided API key. - Workspaces - [List workspaces](https://api-docs.render.com/reference/list-owners.md): List the workspaces that your API key has access to, optionally filtered by name or owner email address. - [Retrieve workspace](https://api-docs.render.com/reference/retrieve-owner.md): Retrieve the workspace with the provided ID. Workspace IDs start with `tea-`. If you provide a user ID (starts with `own-`), this endpoint returns the user's default workspace. - [List workspace members](https://api-docs.render.com/reference/retrieve-owner-members.md): Retrieves the list of users belonging to the workspace with the provided ID. - [Update workspace member role](https://api-docs.render.com/reference/update-workspace-member.md): Update the role of an existing workspace member. - [Remove workspace member](https://api-docs.render.com/reference/remove-workspace-member.md): Remove a user from the specified workspace. ## API Reference: Early Access & Beta - Build Sources - [Create a build source](https://api-docs.render.com/reference/create-build-source.md): Create a build source that can be linked to one or more services in the same workspace. Exactly one of `git` or `image` must be set: - `git`: the build source is git-backed. The code is built in… - [List build sources](https://api-docs.render.com/reference/list-build-sources.md): List build sources matching the provided filters. If `ownerId` is omitted, returns build sources across every workspace you can view. - [Retrieve a build source](https://api-docs.render.com/reference/get-build-source.md): Retrieve a shared build source by ID - [Update a build source](https://api-docs.render.com/reference/update-build-source.md): Update a shared build source. Each top-level field is a true patch, unset fields are left unchanged. Supplying `git` or `image` can change the build source's underlying identity: - `image` on a… - [Delete a build source](https://api-docs.render.com/reference/delete-build-source.md): Delete the build source with the provided ID. - [List builds in a build source](https://api-docs.render.com/reference/list-builds-in-build-source.md): List builds in a build source, newest first. Pass the last item's `cursor` as the `cursor` parameter to fetch the next page. - [Retrieve a build](https://api-docs.render.com/reference/retrieve-build-source-build.md): Retrieve a build of a build source, including its status. - [Trigger a build](https://api-docs.render.com/reference/trigger-build-source-build.md): Start a new build of the build source at the current HEAD of its branch, even if an up-to-date build already exists. Services linked to the build source with autodeploy enabled are deployed with the… - [List environment variables](https://api-docs.render.com/reference/get-env-vars-for-build-source.md): List all environment variables for the build source with the provided ID. - [Update environment variables](https://api-docs.render.com/reference/update-env-vars-for-build-source.md): Replace all environment variables for a build source with the provided list of environment variables. - [Retrieve environment variable](https://api-docs.render.com/reference/retrieve-build-source-env-var.md): Retrieve a particular environment variable for a particular build source. This only applies to environment variables set directly on the build source, not to environment variables in a linked… - [Add or update environment variable](https://api-docs.render.com/reference/update-build-source-env-var.md): Add or update a particular environment variable for a particular build source. This only applies to environment variables set directly on the build source, not to environment variables in a linked… - [Delete environment variable](https://api-docs.render.com/reference/delete-build-source-env-var.md): Delete a particular environment variable from a particular build source. This only applies to environment variables set directly on the build source, not to environment variables in a linked… - [List secret files](https://api-docs.render.com/reference/list-secret-files-for-build-source.md): List all secret files for the build source with the provided ID. - [Update secret files](https://api-docs.render.com/reference/update-secret-files-for-build-source.md): Replace all secret files for a build source with the provided list of secret files. **Any of the build source's existing secret files not included in this request will be deleted.** This only… - [Retrieve secret file](https://api-docs.render.com/reference/retrieve-build-source-secret-file.md): Retrieve a particular secret file for a particular build source. This only applies to secret files set directly on the build source, not to secret files in a linked environment group. - [Add or update secret file](https://api-docs.render.com/reference/add-or-update-build-source-secret-file.md): Add or update a particular secret file for a particular build source. This only applies to secret files set directly on the build source, not to secret files in a linked environment group. - [Delete secret file](https://api-docs.render.com/reference/delete-build-source-secret-file.md): Delete a particular secret file from a particular build source. This only applies to secret files set directly on the build source, not to secret files in a linked environment group. - [Link environment group](https://api-docs.render.com/reference/link-env-group-to-build-source.md): Link a particular environment group to a particular build source. The build source will have access to the environment variables and secret files in the group at build time. - [Unlink environment group](https://api-docs.render.com/reference/unlink-env-group-from-build-source.md): Unlink a particular environment group from a particular build source. The build source will lose access to the environment variables and secret files in the group. - Sandboxes - [Create sandbox](https://api-docs.render.com/reference/create-sandbox.md): Create a sandbox. Returns the initial sandbox snapshot synchronously. With `snapshotId`: 404 with `code: snapshot_not_found` if the snapshot does not exist; 409 with `code: snapshot_not_available`… - [List sandboxes](https://api-docs.render.com/reference/list-sandboxes.md): List sandboxes for a single workspace. Sandboxes are scoped to the region of their workspace's sandbox group, so one workspace must be named per request. - [Create sandbox group](https://api-docs.render.com/reference/create-sandbox-group.md): Create a sandbox group. The workspace's first group becomes its default. Returns 409 if the `name` is taken. - [List sandbox groups](https://api-docs.render.com/reference/list-sandbox-groups.md): List sandbox groups for a single workspace, newest first. The default page size is 20 and the maximum is 100. Use the last item's cursor to fetch the next page, until it is empty. - [Retrieve sandbox](https://api-docs.render.com/reference/retrieve-sandbox.md): Retrieve the sandbox with the provided ID. - [List executions](https://api-docs.render.com/reference/list-sandbox-executions.md): List execution records for the sandbox, ordered by start time, newest first. - [Retrieve execution](https://api-docs.render.com/reference/retrieve-sandbox-execution.md): Retrieve one execution record for the sandbox. - [Terminate sandbox](https://api-docs.render.com/reference/terminate-sandbox.md): Terminate the sandbox with the provided ID. Idempotent: returns 204 from any state, including `terminated`. Terminating a `creating` sandbox cancels boot/setup immediately. - [Create sandbox snapshot](https://api-docs.render.com/reference/create-sandbox-snapshot.md): Capture a snapshot of a running sandbox. Returns 202 with the snapshot in `creating`. Poll until it is `available` or `failed`. The sandbox keeps running; a runtime capture pauses it briefly. 400… - [Retrieve sandbox group](https://api-docs.render.com/reference/retrieve-sandbox-group.md): Retrieve a sandbox group. 400 `invalid_sandbox_group_id` for a malformed ID. - [Update sandbox group](https://api-docs.render.com/reference/update-sandbox-group.md): Update a sandbox group's concurrency limit. Returns 400 for a malformed ID (`invalid_sandbox_group_id`), missing `concurrencyLimit`, or a value below 1. The response returns the effective limit after… - [List sandbox snapshots](https://api-docs.render.com/reference/list-sandbox-snapshots.md): Snapshots in a sandbox group, newest first. Expired and deleted snapshots are omitted. 400 with `code: invalid_sandbox_group_id` if `sandboxGroupId` is not a well-formed `sbg-` ID, `code:… - [Retrieve sandbox snapshot](https://api-docs.render.com/reference/retrieve-sandbox-snapshot.md): One snapshot by ID. Deleted and expired snapshots return 404. A snapshot that belongs to another sandbox group returns 404. 400 with `code: invalid_sandbox_group_id` if `sandboxGroupId` is not a… - [Delete sandbox snapshot](https://api-docs.render.com/reference/delete-sandbox-snapshot.md): Idempotent: returns 204 if the snapshot is already deleted or expired. Sandboxes created from the snapshot are not affected. A snapshot that belongs to another sandbox group returns 404. 400 with… - [Create a connect token for a sandbox run](https://api-docs.render.com/reference/connect-sandbox-run.md): Mint a short-lived, capability-scoped connect token that authorizes a single run operation against the specified sandbox. The response contains the sandbox URI where the caller sends the command with… - [Mint a connect token for a sandbox file transfer](https://api-docs.render.com/reference/connect-sandbox-files.md): Mint a short-lived, capability-scoped connect token that authorizes a single file upload or download against the sandbox, and return the sandbox-proxy endpoint to invoke with it. The caller streams… ## API Reference: Deprecated Endpoints - Redis (use Key Value) - [List Redis instances](https://api-docs.render.com/reference/list-redis.md): List Redis instances matching the provided filters. If no filters are provided, all Redis instances are returned. This API is deprecated in favor of the Key Value API. - [Create Redis instance](https://api-docs.render.com/reference/create-redis.md): Create a new Redis instance. This API is deprecated in favor of the Key Value API. - [Retrieve Redis instance](https://api-docs.render.com/reference/retrieve-redis.md): Retrieve a Redis instance by ID. This API is deprecated in favor of the Key Value API. - [Update Redis instance](https://api-docs.render.com/reference/update-redis.md): Update a Redis instance by ID. This API is deprecated in favor of the Key Value API. - [Delete Redis instance](https://api-docs.render.com/reference/delete-redis.md): Delete a Redis instance by ID. This API is deprecated in favor of the Key Value API. - [Retrieve Redis connection info](https://api-docs.render.com/reference/retrieve-redis-connection-info.md): Retrieve connection info for a Redis instance by ID. Connection info includes sensitive information. This API is deprecated in favor of the Key Value API. - [Suspend Redis instance](https://api-docs.render.com/reference/suspend-redis.md): Suspend a Redis instance by ID. This API is deprecated in favor of the Key Value API. - [Resume Redis instance](https://api-docs.render.com/reference/resume-redis.md): Resume a Redis instance by ID. This API is deprecated in favor of the Key Value API. ## API Reference: Render Public API - Sandboxes - [List sandbox builds](https://api-docs.render.com/reference/list-sandbox-builds.md): Builds in a sandbox group, newest first. 400 with `code: invalid_sandbox_group_id` if `sandboxGroupId` is not a well-formed `sbg-` ID, `code: invalid_status` for a status outside the build status… - [Create sandbox build](https://api-docs.render.com/reference/create-sandbox-build.md): Starts converting an OCI image into a sandbox image, and returns the build without waiting for it. Poll the build until it `succeeded` or `failed`, then pass its ID as `buildId` to create a sandbox.… - [Retrieve sandbox build](https://api-docs.render.com/reference/retrieve-sandbox-build.md): One build by ID. 404 with `code: build_not_found` if the build doesn't exist or belongs to another sandbox group. 400 with `code: invalid_sandbox_group_id` if `sandboxGroupId` is not a well-formed…