v14
latestOpenAPI 3.0.32026-08-04377889.4 MBGet a deployment by ID or URL
Retrieves information for a deployment either by supplying its ID (id property) or Hostname (url property). Additional details will be included when the authenticated user or team is an owner of the deployment.
Path parameters
The unique identifier or hostname of the deployment.
The unique identifier or hostname of the deployment.
Query parameters
When true, the response includes the gitSource object with the commit SHA, branch name, and connected repository metadata. Defaults to false.
When true, the response includes the gitSource object with the commit SHA, branch name, and connected repository metadata. Defaults to false.
The Team identifier to perform the request on behalf of.
The Team slug to perform the request on behalf of.
Response
Returns a reduced view of the deployment with public information only. Private fields are omitted when the requester is not the deployment owner. Returns the deployment object for the authenticated owner, including private fields such as environment variables, build log URLs, and internal metadata. Returns the reduced deployment view for anonymous (vcn_) callers. Pool-team details are withheld.
Example response
{
"id": "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ",
"readyState": "READY"
}