Get plan activity
Retrieves details for a single plan activity for the given resource.
Path parameters
-
Identifier for the Deployment
-
The kind of resource
Values are
elasticsearch
,kibana
,apm
,appsearch
,enterprise_search
, orintegrations_server
. -
User-specified RefId for the Resource (or '_main' if there is only one)
-
Attempt id for the activity
GET /deployments/{deployment_id}/{resource_kind}/{ref_id}/activity/{attempt_id}
curl \
-X GET https://{{hostname}}/api/v1/deployments/{deployment_id}/{resource_kind}/{ref_id}/activity/{attempt_id}
Response examples (200)
{
"plan_attempt_id": "string",
"plan_attempt_name": "string",
"healthy": true,
"attempt_start_time": "2024-05-04T09:42:00+00:00",
"attempt_end_time": "2024-05-04T09:42:00+00:00",
"plan_end_time": "2024-05-04T09:42:00+00:00",
"plan": {},
"plan_attempt_log": [
{
"step_id": "string",
"started": "2024-05-04T09:42:00+00:00",
"completed": "2024-05-04T09:42:00+00:00",
"duration_in_millis": 42,
"status": "success",
"stage": "starting",
"info_log": [
{
"timestamp": "2024-05-04T09:42:00+00:00",
"delta_in_millis": 42,
"stage": "starting",
"message": "string",
"details": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"internal_details": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"failure_type": "string"
}
]
}
],
"source": {
"facilitator": "string",
"action": "string",
"date": "2024-05-04T09:42:00+00:00",
"user_id": "string",
"admin_id": "string",
"remote_addresses": [
"string"
]
},
"warnings": [
{
"code": "string",
"message": "string",
"step_id": "string"
}
],
"error": {
"timestamp": "2024-05-04T09:42:00+00:00",
"message": "string",
"details": {
"additionalProperty1": "string",
"additionalProperty2": "string"
},
"failure_type": "string"
}
}
Response examples (404)
# Headers
x-cloud-error-codes: deployments.deployment_not_found
# Payload
{
"errors": [
{
"code": "string",
"message": "string",
"fields": [
"string"
]
}
]
}