AgenticRuntimeState
¶
Source code in docs_src/capo_workspaces/types/agentic_runtime_state.py
error_code
instance-attribute
¶
error_code: NotRequired[AgenticRuntimeErrorCode]
The check or operation that set the agent's health status. This field isn't returned when the health status is AVAILABLE, and might not be returned for other statuses. The service can add values, so make sure that your code handles values that aren't in the list of valid values.
error_message
instance-attribute
¶
error_message: NotRequired[AgenticRuntimeErrorMessage]
A description of the agent's health status. This field isn't returned when the health status is AVAILABLE. It's returned for every other status, even when ErrorCode isn't returned.
status
instance-attribute
¶
status: AgenticRuntimeStatus
The health of the agent. UNKNOWN indicates that the service couldn't determine the agent's health, for example, because the WorkSpace isn't running.