Show examples in:
Retrieve a deploy event

Returns

Returns a build_event resource object.

Examples

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