List all checks for a project
GET
/__remote/api.vercel.com/v2/projects/{projectIdOrName}/checksList all checks for a project, optionally filtered by target.
Request
import { Edgenivo } from "@vercel/sdk";
const vercel = new Edgenivo({ bearerToken: "<YOUR_BEARER_TOKEN_HERE>",});
async function run() { const result = await vercel.checksV2.listProjectChecks({ projectIdOrName: "<value>", teamId: "team_1a2b3c4d5e6f7g8h9i0j1k2l", slug: "my-team-url-slug", });
console.log(result);}
run();Response
{ "availableNativeChecks": [], "checks": [ { "blocks": "build-start", "createdAt": "123", "deletedAt": "123", "id": "icfg_1234567890", "isRerequestable": "false", "name": "Example Name", "ownerId": "example_id", "projectId": "example_id", "requires": "build-ready", "source": { "externalResourceId": "example_id", "integrationConfigurationId": "example_id", "integrationId": "example_id", "kind": "integration", "resourceId": "example_id" }, "sourceIntegrationConfigurationId": "example_id", "sourceKind": "git-provider", "targets": [], "timeout": "123", "updatedAt": "123" } ]}AuthorizationbearerToken
Default authentication mechanism