Get the event ID of the incident that you want to check for an incident
report. You can get a list of closed incidents and find
the ID of the incident.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Get incident reports\n\n| **Preview**\n|\n|\n| This product or feature is subject to the \"Pre-GA Offerings Terms\" in the General Service Terms section\n| of the [Service Specific Terms](/terms/service-terms#1).\n|\n| Pre-GA products and features are available \"as is\" and might have limited support.\n|\n| For more information, see the\n| [launch stage descriptions](/products#product-launch-stages).\n\nThis document explains how to get the incident report for a Google Cloud\nincident using the Service Health API.\n\nIncident reports are available for incidents that meet the following conditions:\n\n- The incident has global impact or is affecting a significant percentage of customer projects across one or more regions.\n- One or more products are unavailable or severely degraded.\n- Twenty four hours before the start of the incident, you have [enabled the Service Health API](/service-health/docs/manage-access#enable-service-health-api-single-project).\n\nBefore you begin\n----------------\n\n- Set [permissions to access the Service Health API](/service-health/docs/manage-access#access-service-health-api-dashboard).\n- Get the event ID of the incident that you want to check for an incident report. You can [get a list of closed incidents](/service-health/docs/list-events) and find the ID of the incident.\n\nGet the ID for the incident report\n----------------------------------\n\nTo get the incident report for an incident:\n\n1. [Get the details](/service-health/docs/project-events#get_incident_details) for the incident.\n2. Look for the following line in the JSON response:\n\n \"artifact\": \"projects/\u003cvar scope=\"PROJECT_ID\" translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/locations/global/artifacts/\u003cvar scope=\"readonly\" translate=\"no\"\u003eARTIFACT_ID\u003c/var\u003e\",\n\n3. Take note of the \u003cvar scope=\"readonly\" translate=\"no\"\u003eARTIFACT_ID\u003c/var\u003e.\n\nGet the content of the incident report\n--------------------------------------\n\nYou can use the Get API to get the content of the incident report.\n\n\nBefore using any of the request data,\nmake the following replacements:\n\n- \u003cvar class=\"edit\" scope=\"PROJECT_ID\" translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e: your Google Cloud project ID.\n- \u003cvar class=\"edit\" scope=\"ARTIFACT_ID\" translate=\"no\"\u003eARTIFACT_ID\u003c/var\u003e: the ID of the incident report.\n\n\nHTTP method and URL:\n\n```\nGET https://servicehealth.googleapis.com/v1beta/projects/PROJECT_ID/locations/global/artifacts/ARTIFACT_ID\n```\n\nTo send your request, expand one of these options:\n\n#### curl (Linux, macOS, or Cloud Shell)\n\n| **Note:** The following command assumes that you have logged in to the `gcloud` CLI with your user account by running [`gcloud init`](/sdk/gcloud/reference/init) or [`gcloud auth login`](/sdk/gcloud/reference/auth/login) , or by using [Cloud Shell](/shell/docs), which automatically logs you into the `gcloud` CLI . You can check the currently active account by running [`gcloud auth list`](/sdk/gcloud/reference/auth/list).\n\n\nExecute the following command:\n\n```\ncurl -X GET \\\n -H \"Authorization: Bearer $(gcloud auth print-access-token)\" \\\n \"https://servicehealth.googleapis.com/v1beta/projects/PROJECT_ID/locations/global/artifacts/ARTIFACT_ID\"\n```\n\n#### PowerShell (Windows)\n\n| **Note:** The following command assumes that you have logged in to the `gcloud` CLI with your user account by running [`gcloud init`](/sdk/gcloud/reference/init) or [`gcloud auth login`](/sdk/gcloud/reference/auth/login) . You can check the currently active account by running [`gcloud auth list`](/sdk/gcloud/reference/auth/list).\n\n\nExecute the following command:\n\n```\n$cred = gcloud auth print-access-token\n$headers = @{ \"Authorization\" = \"Bearer $cred\" }\n\nInvoke-WebRequest `\n -Method GET `\n -Headers $headers `\n -Uri \"https://servicehealth.googleapis.com/v1beta/projects/PROJECT_ID/locations/global/artifacts/ARTIFACT_ID\" | Select-Object -Expand Content\n```\n\nYou should receive a JSON response similar to the following:\n\n```\n{\n \"name\": \"projects/PROJECT_ID/locations/global/artifacts/ARTIFACT_ID\",\n \"content\": {\n \"markdown\": \"Content of the incident report.\",\n },\n \"category\": \"ARTIFACT_CATEGORY_INCIDENT_REPORT\",\n \"createTime\": \"2022-10-18T18:00:05.690761Z\",\n \"updateTime\": \"2022-10-18T17:41:20.112287Z\",\n}\n```\n\nIf you don't have the permissions to get incident reports, you will get the following\n`PERMISSION_DENIED` error. \n\n {\n \"error\": {\n \"code\": 403,\n \"message\": \"Permission 'servicehealth.artifacts.get' denied on resource '//servicehealth.googleapis.com/projects/\u003cvar scope=\"PROJECT_ID\" translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/locations/global/artifacts/\u003cvar scope=\"ARTIFACT_ID\" translate=\"no\"\u003eARTIFACT_ID\u003c/var\u003e' (or it may not exist).\",\n \"status\": \"PERMISSION_DENIED\",\n \"details\": [\n {\n \"@type\": \"type.googleapis.com/google.rpc.ErrorInfo\",\n \"reason\": \"IAM_PERMISSION_DENIED\",\n \"domain\": \"servicehealth.googleapis.com\",\n \"metadata\": {\n \"resource\": \"projects/\u003cvar scope=\"PROJECT_ID\" translate=\"no\"\u003ePROJECT_ID\u003c/var\u003e/locations/global/artifacts/\u003cvar scope=\"ARTIFACT_ID\" translate=\"no\"\u003eARTIFACT_ID\u003c/var\u003e\",\n \"permission\": \"servicehealth.artifacts.get\"\n }\n }\n ]\n }\n }\n\nTo fix the error, set the [required permissions](/service-health/docs/manage-access#access-service-health-api-dashboard)."]]