Modulify

Read the steps of a publish

get_publish_timeline

Reads a publish step by step, with when each step started and finished and how long it took.

The steps are provisioning, creating and starting the build machine, compiling, uploading, then creating the deploy machine, downloading, the health check and the switch. Each carries its status and, where it ran, its start and finish times and its length in durationMs, so this answers why a publish was slow rather than only whether it worked.

Leave out deploymentId for the most recent publish. A publish that finished before step tracking existed comes back with synthesised true, meaning the steps were inferred from the final status rather than recorded as they happened. See Watch a publish as it happens.

Inputs

Input Type Required Description
projectId string Yes The site id.
deploymentId string No A specific publish, from list_deployments. Leave it out for the most recent one.