You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The build task ID, used with the `Get website build task` tool
state
str
The build state. `TASK_STATE_SUBMITTED` and `TASK_STATE_WORKING` mean the build is still running. `TASK_STATE_COMPLETED` means it finished. `TASK_STATE_FAILED` means it broke, and `TASK_STATE_REJECTED` means it never started: the website does not contain the requested changes. `TASK_STATE_CANCELED` means the user stopped it; changes made before that may be kept.
updated_at
datetime
When the build last changed state
[optional]
reason_code
str
Why the build stopped, or null. `insufficient_credits`: the user has no credits left; `execution_error` or `missing_result`: the build broke; `iteration_limit`: the build stopped early and kept the work done so far.
[optional]
message
str
Guidance to tell the user about the build outcome, or null
[optional]
summary
str
An internal changelog entry describing what the build changed, or null until the build ends. Rewrite it in plain language before showing it to the user.
[optional]
Example
fromhostinger_api.models.horizons_v1_websites_build_task_resourceimportHorizonsV1WebsitesBuildTaskResource# TODO update the JSON string belowjson="{}"# create an instance of HorizonsV1WebsitesBuildTaskResource from a JSON stringhorizons_v1_websites_build_task_resource_instance=HorizonsV1WebsitesBuildTaskResource.from_json(json)
# print the JSON string representation of the objectprint(HorizonsV1WebsitesBuildTaskResource.to_json())
# convert the object into a dicthorizons_v1_websites_build_task_resource_dict=horizons_v1_websites_build_task_resource_instance.to_dict()
# create an instance of HorizonsV1WebsitesBuildTaskResource from a dicthorizons_v1_websites_build_task_resource_from_dict=HorizonsV1WebsitesBuildTaskResource.from_dict(horizons_v1_websites_build_task_resource_dict)