[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-07-26。"],[[["\u003cp\u003eGoogle automatically monitors deployed Actions to ensure they are available and responding to user requests.\u003c/p\u003e\n"],["\u003cp\u003eActions are considered unhealthy if they fail to respond with a 200 response code to health check requests.\u003c/p\u003e\n"],["\u003cp\u003eUnhealthy Actions may be suspended, preventing users from accessing them.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers receive email notifications when their Actions are marked as unhealthy and can check the health status in the developer console.\u003c/p\u003e\n"],["\u003cp\u003eActions that use account linking have a 7-day grace period to fix issues before being taken down.\u003c/p\u003e\n"]]],["Google routinely monitors Actions by sending health check requests, which resemble standard user requests and require a 200 response. Health checks are identifiable by specific identifiers in requests. Unhealthy Actions are suspended, and developers receive email notifications. Actions with account linking have a 7-day grace period before suspension. Developers can check the Action's health status in the developer console. Actions automatically return to \"deployed\" status upon successful health check responses.\n"],null,["# Health Checks\n\nGoogle monitors deployed Actions to verify they're available and responding to\nuser requests.\n\nEach Action's endpoint is required to respond to a default, no parameter\ninvocation. This supports the scenario where the user asks to talk to an Action\nwithout providing any additional information (for example,\n*\"I want to talk to **invocation name**\"*).\n\nCommon questions\n----------------\n\n**Do I need to implement anything specific to support the health checks?**\n\nNo. Action health checks will function like a standard request to talk to an Action.\n\n**How often is my Action's health checked?**\n\nYour Action may be monitored throughout the day.\n\n**How can I detect that a request is a health check?**\n\nIf you're using Actions Builder as your development platform, you receive a\nhealth check request similar to the snippet below:\n| **Note:** With Actions Builder, if you are using the client library in your webhook, health checks are handled for you.\n\n\u003cbr /\u003e\n\n```scdoc\n{\n \"handler\": {\n \"name\": \"actions.handler.HEALTH_CHECK\"\n },\n \"intent\": {\n \"name\": \"actions.intent.HEALTH_CHECK\"\n },\n \"session\": {\n \"id\": \"actions.session.HEALTH_CHECK\"\n },\n \"user\": {\n \"locale\":\"en-US\"\n },\n \"device\": {\n \"capabilities\": []\n }\n}\n \n```\n\n\u003cbr /\u003e\n\nWhen you receive this request, you should respond with a 200 response code;\notherwise, your Action is considered unhealthy. The following snippet is\nan example of a properly formatted response: \n\n {\"prompt\":{\"override\":true,\"firstSimple\":{\"speech\":\"ok\",\"text\":\"\"}}}\n\nIf you're using Dialogflow as your development platform, Google adds an\n`\"is_health_check\"` argument and passes this to the intent. This argument is\nfound in the [Input](/assistant/conversational/df-asdk/reference/webhook/rest/Shared.Types/AppRequest#input)\nobject of the webhook request:\n\n\u003cbr /\u003e\n\n```gdscript\n{\n ...\n \"originalDetectIntentRequest\": {\n ...\n \"payload\": {\n ...\n \"inputs\": [{\n ...\n \"arguments\": [{\n \"name\": \"is_health_check\",\n \"boolValue\": true,\n \"textValue\": \"1\"\n }]\n }],\n ...\n }\n }\n}\n \n```\n\n\u003cbr /\u003e\n\n**What happens if Google detects an unhealthy Action?**\nIf Google detects that the Action is experiencing an outage, the Action is\nsuspended. Users requesting the unhealthy Action will hear \"ACTION_NAME is\nnot available\".\n\n**How will I be notified if an Action is marked as unhealthy?**\nWhen Google detects an unhealthy Action, we send a notification email to the\nprimary developer associated with the Actions project.\n\n**What happens if my Action that uses account linking is marked as unhealthy?**\nUnlike other Actions, Actions that use account linking are not suspended after\nGoogle declares them unhealthy. Users can still access your Action for 7 days\nafter you receive the notification email. However, if you have not fixed the\naccount linking issue after 7 days, your Action will be taken down.\n\n**How can I check my Action's health status?**\nYou can check your developer console and see the status of your Action. Unhealthy\nActions will have a status of **Unhealthy** . Healthy Actions will be marked\nas **Deployed**.\n\n**What's the process for returning an Action to the deployed state?**\nYou should review your deployment and address any issues that might be causing\nthe Action to fail to respond to a launch intent.\n\nGoogle will continue to periodically monitor the Action's health while it is\nunhealthy. When Google detects that the Action is responding as expected, the\nAction will return to the deployed state."]]