Get a deployment by ID or URL
Changed onRetrieves 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.
Request
- Base URLhttps://api.vercel.com
- URLhttps://api.vercel.com/v13/deployments/{idOrUrl}
- AuthHTTP bearer
Path parameters
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.
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 reduced deployment view for anonymous (vcn_) callers. Pool-team details are withheld.
Example response
{
"id": "dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ",
"readyState": "READY"
}Changes
- breaking
added
subschema #1subschema #2to the//response propertyoneOflist for the response status - info
removed
subschema #1subschema #2from the//response propertyoneOflist for the response status
- breaking
- breaking
added
subschema #1subschema #2to the//response propertyoneOflist for the response status - info
removed
subschema #1subschema #2from the//response propertyoneOflist for the response status
- breaking