Skip to content
Docs

Get a single check

GEThttps://api.vercel.com/v1/deployments/{deploymentId}/checks/{checkId}
Return a detailed response for a single check.

This endpoint is deprecated

https://api.vercel.com/v1/deployments/{deploymentId}/checks/{checkId}
const response = await fetch('https://api.vercel.com/v1/deployments/deploymentId/checks/checkId?teamId=string&slug=string', {
method: 'GET',
headers: {
'Authorization': 'Bearer YOUR_ACCESS_TOKEN',
'Content-Type': 'application/json',
},
});
const data = await response.json();
console.log(data);
Response
{
"blocking": "false",
"completedAt": "123",
"conclusion": "canceled",
"createdAt": "123",
"deploymentId": "example_id",
"detailsUrl": "https://example.com",
"externalId": "example_id",
"id": "icfg_1234567890",
"integrationId": "example_id",
"name": "Example Name",
"output": {
"metrics": {
"CLS": {
"previousValue": "123",
"source": "web-vitals",
"value": "123"
},
"FCP": {
"previousValue": "123",
"source": "web-vitals",
"value": "123"
},
"LCP": {
"previousValue": "123",
"source": "web-vitals",
"value": "123"
},
"TBT": {
"previousValue": "123",
"source": "web-vitals",
"value": "123"
},
"virtualExperienceScore": {
"previousValue": "123",
"source": "web-vitals",
"value": "123"
}
}
},
"path": "string",
"rerequestable": "false",
"startedAt": "123",
"status": "completed",
"updatedAt": "123"
}
AuthorizationbearerToken

Default authentication mechanism

deploymentIdstringRequired
The deployment to get the check for.
checkIdstringRequired
The check to fetch
teamIdstringOptional
The Team identifier to perform the request on behalf of.
slugstringOptional
The Team slug to perform the request on behalf of.
200Success
blockingbooleanRequired
completedAtnumberOptional
conclusionstringOptional
createdAtnumberRequired
deploymentIdstringRequired
detailsUrlstringOptional
externalIdstringOptional
idstringRequired
integrationIdstringRequired
namestringRequired
outputobjectOptional
pathstringOptional
rerequestablebooleanOptional
startedAtnumberOptional
statusstringRequired
updatedAtnumberRequired
400One of the provided values in the request query is invalid.
401The request is not authorized.
403You do not have permission to access this resource. The provided token is not from an OAuth2 Client that created the Check
404Check was not found The deployment was not found
410Error