GetManagedAgentTask
Read scoped Agent task progress with agent.read permission. Retry availability additionally requires agent.config.write. A successful access revocation may return the trusted package's local uninstall command; no remote uninstall is performed.
/api/v1/lifecycle/managed-agent/tasks/{id}Operation ID
GetManagedAgentTaskSince
1.3.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
Path Parameters
idStringRequiredUnique identifier of the managed agent task
Responses
200 OKOn success, this API returns the following response structure.
taskIdStringTask id for this resource
Example: value
typeStringSaved operation type, such as deploy, change_capabilities, enable_capability, disable_capability, upgrade or revoke_access.
Example: enable_capability
stateStringState for this resource
Example: value
agentIdStringAgent id for this resource
Example: value
invitationIdStringInvitation id for this resource
Example: value
bindingIdStringBinding id for this resource
Example: value
requestIdStringRequest id for this resource
Example: value
createdByStringCreated by for this resource
Example: value
availableActionsListAvailable actions for this resource
Example: item1,item2
waitingReasonStringWaiting reason for this resource
Example: value
plannedImpactObjectTyped historical impact for access revocation and capability disable.
platformAccessRevokedBooleanPlatform access revoked for this resource
Example: true
localBacklogMayNotUploadBooleanLocal backlog may not upload for this resource
Example: true
localAgentUninstalledBooleanLocal agent uninstalled for this resource
Example: true
metricsContinuityStringbuffered, unprotected or unknown; restart reports unknown. Empty for access revocation.
Example: value
resumeCollectionBooleanResume collection for this resource
Example: true
drainModeStringDisable only: wait or discard.
Example: value
drainWaitSecondsIntegerFixed at 1800 for wait; absent for discard.
Example: 10
cancelledEnableTaskIdStringCancelled enable task id for this resource
Example: value
queueFactsObjectQueue facts for this resource
queueSizeLongQueue size for this resource
Example: 0
queueCapacityLongQueue capacity for this resource
Example: 0
enqueueFailedMetricPointsLongEnqueue failed metric points for this resource
Example: 0
sendFailedMetricPointsLongSend failed metric points for this resource
Example: 0
sentMetricPointsLongSent metric points for this resource
Example: 0
serviceInstanceIdStringService instance id for this resource
Example: value
observedAtStringObserved at for this resource
Example: 2026-01-15T08:00:00Z
collectorRestartBooleanRestart and Upgrade affect the Collector; Restart leaves its Supervisor.
Example: true
agentRestartBooleanUpgrade only: complete Agent package, including its Supervisor.
Example: true
previousAgentVersionStringPrevious agent version for this resource
Example: value
targetAgentVersionStringTarget agent version for this resource
Example: value
previousAgentReleaseStringPrevious agent release for this resource
Example: 10
targetAgentReleaseStringTarget agent release for this resource
Example: 10
actualImpactObjectActual impact for this resource
platformAccessRevokedBooleanPlatform access revoked for this resource
Example: true
localBacklogMayNotUploadBooleanLocal backlog may not upload for this resource
Example: true
localAgentUninstalledBooleanLocal agent uninstalled for this resource
Example: true
metricsContinuityStringbuffered, unprotected or unknown; restart reports unknown. Empty for access revocation.
Example: value
resumeCollectionBooleanResume collection for this resource
Example: true
drainModeStringDisable only: wait or discard.
Example: value
drainWaitSecondsIntegerFixed at 1800 for wait; absent for discard.
Example: 10
cancelledEnableTaskIdStringCancelled enable task id for this resource
Example: value
queueFactsObjectQueue facts for this resource
queueSizeLongQueue size for this resource
Example: 0
queueCapacityLongQueue capacity for this resource
Example: 0
enqueueFailedMetricPointsLongEnqueue failed metric points for this resource
Example: 0
sendFailedMetricPointsLongSend failed metric points for this resource
Example: 0
sentMetricPointsLongSent metric points for this resource
Example: 0
serviceInstanceIdStringService instance id for this resource
Example: value
observedAtStringObserved at for this resource
Example: 2026-01-15T08:00:00Z
collectorRestartBooleanRestart and Upgrade affect the Collector; Restart leaves its Supervisor.
Example: true
agentRestartBooleanUpgrade only: complete Agent package, including its Supervisor.
Example: true
previousAgentVersionStringPrevious agent version for this resource
Example: value
targetAgentVersionStringTarget agent version for this resource
Example: value
previousAgentReleaseStringPrevious agent release for this resource
Example: 10
targetAgentReleaseStringTarget agent release for this resource
Example: 10
errorCodeStringError code for this resource
Example: value
errorReasonStringError reason for this resource
Example: value
errorMessageStringError message for this resource
Example: value
errorDetailsObjectError details for this resource
deployment_phaseStringDeployment_phase for this resource
Example: value
invitation_consumedBooleanInvitation_consumed for this resource
Example: true
registered_agent_idObjectThe server emits only a string or JSON null, never a reserved Agent ID.
recovery_actionStringRecovery_action for this resource
Example: value
traceIdStringTrace id for this resource
Example: value
createdAtStringCreated at for this resource
Example: 2026-01-15T08:00:00Z
startedAtStringStarted at for this resource
Example: 2026-01-15T08:00:00Z
completedAtStringCompleted at for this resource
Example: 2026-01-15T08:00:00Z
resultMessageStringPresent only for a successful revoke_access task and trusted metadata.
Example: value
localUninstallCommandStringLocal uninstall command for this resource
Example: value
cancelReasonStringCancel reason for this resource
Example: value
cancelledByTaskIdStringCancelled by task id for this resource
Example: value
hostMetricContinuitySummaryObjectPresent only for host_metrics capability tasks; not an Agent health state.
lastHostMetricAtStringLast host metric at for this resource
Example: 2026-01-15T08:00:00Z
collectionStateStringcollecting, stopped or unknown; independent of business sample age.
Example: value
deliveryStateStringcurrent, delayed, backfilling or unknown; never an exact data gap.
Example: value
queueSizeLongUpstream queue units, not a count of metric samples or bytes.
Example: 0
queueCapacityLongQueue capacity for this resource
Example: 0
enqueueFailedMetricPointsLongEnqueue failed metric points for this resource
Example: 0
sendFailedMetricPointsLongSend failed metric points for this resource
Example: 0
sentMetricPointsLongSent metric points for this resource
Example: 0
serviceInstanceIdStringService instance id for this resource
Example: value
observedAtStringObserved at for this resource
Example: 2026-01-15T08:00:00Z
configRevisionStringCurrent configuration delivery owned by this task, including rollback. Absent until the Runner generates a configuration; never a Binding lookup.
Example: 10
observedObjectPresent only for a wait-mode Disable with a saved drain window.
drainWaitSecondsIntegerDrain wait seconds for this resource
Example: 10
drainStartedAtStringDrain started at for this resource
Example: 2026-01-15T08:00:00Z
drainDeadlineAtStringDrain deadline at for this resource
Example: 2026-01-15T08:00:00Z
queueFactsObjectLast valid saved queue observation; absent when no observation was saved.
queueSizeLongQueue size for this resource
Example: 0
queueCapacityLongQueue capacity for this resource
Example: 0
enqueueFailedMetricPointsLongEnqueue failed metric points for this resource
Example: 0
sendFailedMetricPointsLongSend failed metric points for this resource
Example: 0
sentMetricPointsLongSent metric points for this resource
Example: 0
serviceInstanceIdStringService instance id for this resource
Example: value
observedAtStringObserved at for this resource
Example: 2026-01-15T08:00:00Z
Change History
View all change historyChange Time
AddedResponse fields previousAgentRelease, targetAgentReleaseView API
