Show examples in:
List all deploy events

Returns

Returns an array of build_event resource objects.

Examples

Example Basic example
import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const buildEvents = await client.buildEvents.list();
buildEvents.forEach((buildEvent) => {
console.log(buildEvent);
});
}
run();