List all checks for a project
GET
https://api.vercel.com/v2/projects/{projectIdOrName}/checksList all checks for a project, optionally filtered by target.
https://api.vercel.com/v2/projects/{projectIdOrName}/checks
const response = await fetch('https://api.vercel.com/v2/projects/projectIdOrName/checks?blocks=string&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
{ "checks": [ { "id": "icfg_1234567890", "name": "Example Name", "ownerId": "example_id", "projectId": "example_id", "isRerequestable": "false", "requires": "build-ready", "source": { "kind": "integration", "integrationId": "example_id", "integrationConfigurationId": "example_id", "resourceId": "example_id", "externalResourceId": "example_id" }, "blocks": "build-start", "targets": [], "sourceKind": "git-provider", "sourceIntegrationConfigurationId": "example_id", "timeout": "123", "createdAt": "123", "updatedAt": "123", "deletedAt": "123" } ]}AuthorizationbearerToken
Default authentication mechanism