uuidUUIDRequiredidintegerRequiredsite_namestringRequiredsubpathstringNullablestable_domainstringRequiredssgstringNullablelast_syncedstring (date-time)NullableWhen this Site's files were last exchanged with its source. This moves only when a sync actually transferred something, so it does not change when a sync succeeds but finds nothing new, and it is also set when a Site is created by copying another Site, before it has contacted a storage provider at all. A push that committed locally and then failed to reach the provider moves it too. It is therefore not a measure of health: use last_sync_failed_at and sync_error for that.
last_sync_failed_atstring (date-time)NullableWhen this Site's most recent sync attempt failed, or null if no failure is currently recorded. CloudCannon clears it once the Site syncs successfully again. Null does not on its own mean the Site is healthy, because a Site halted by sync_error stops attempting to sync at all, so check both fields. Syncing paused by unsaved changes, and a push that raced a change on the remote, are not failures: they are not recorded here and do not clear an existing value.
last_outputstring (date-time)Nullablelast_compiledstring (date-time)Nullablelast_compressedstring (date-time)Nullablelast_internationalisedstring (date-time)Nullablelast_publishedstring (date-time)Nullablelast_cleanedstring (date-time)Nullablestorage_providerstringNullableclient_author_namestringNullableDeprecated. Use guest_author_name instead.
client_author_emailstringNullableDeprecated. Use guest_author_email instead.
create_sourcestringNullablehosting_choicestringbuilding_lockedbooleanNullableediting_lockedbooleanNullableuploads_lockedbooleanbrowsing_lockedbooleanlast_compiled_successstring (date-time)NullableWhen this Site last built successfully. Unlike last_synced, its counterpart last_compiled records every build attempt, so a Site has a failed build when the two differ.
preview_urlstringNullabledocumentation_urlstringNullablesupport_urlstringNullableclient_editor_routestringactive_queststringNullablecreated_atstring (date-time)Nullableupdated_atstring (date-time)NullablemodestringNullableproject_idintegerNullableproject_uuidstringNullablepr_numberintegerNullablepr_external_urlstringNullablecloudcannon_config_pathstringNullableoutput_storage_providerstringNullabledomain_namestringNullablesite_icon_statestringsync_errorstringNullableAn identifier for a syncing error that has halted this Site, or null. While it is set, CloudCannon refuses to pull from the storage provider and keeps pushes local, so the two stop exchanging changes until the provider is reconnected or disconnected. Only errors that need intervention halt a Site: a sync can fail without setting this, which last_sync_failed_at records instead.
output_errorstringNullableAn identifier for an error that has halted this Site's Build Deploys, or null. While it is set, CloudCannon stops deploying build output to the output storage provider until that provider is updated or disconnected. There is no separate record of a deploy that failed without halting, so unlike syncing there is no last_output_failed_at.
has_open_editing_sessionbooleanNullablesync_blockedbooleanNullableWhether syncing is paused for this Site, or null when not computed. CloudCannon pauses syncing when files with unsaved changes also changed on the storage provider, and resumes once those changes are saved or discarded. A Site halted by sync_error reports false here.
storage_provider_detailsobjectNullableoutput_storage_provider_dataobjecthas_site_passwordbooleanhas_client_passwordbooleanDeprecated. Use has_guest_password instead.
has_guest_passwordbooleanguest_author_namestringNullableguest_author_emailstringNullablehas_main_source_dambooleanbuild_configurationobject