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. User Bearer authentication and the stated ZIAM permission checks apply only when auth.require_user=true; with the default false setting, this operation works without user authentication.
/api/v1/lifecycle/managed-agent/tasks/{id}Operation ID
GetManagedAgentTaskSince
1.3.0Execution Mode
SynchronousAuth Context
No auth requiredRequest Inputs
application/jsonPath Parameters
idStringRequiredUnique identifier of the managed agent task
Responses
200 OKA successful response.
Content-Type: application/json
Response body root type: object
Explicit summaries only: no raw desired/observed configuration, payload, runtime logs, operation signatures or credentials are serialized here.
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
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
{"format":"int32"}cancelledEnableTaskIdStringCancelled enable task id for this resource
Example: value
queueFactsObjectQueue facts for this resource
queueSizeDoubleQueue size for this resource
Example: 0
{"format":"double"}queueCapacityDoubleQueue capacity for this resource
Example: 0
{"format":"double"}enqueueFailedMetricPointsDoubleEnqueue failed metric points for this resource
Example: 0
{"format":"double"}sendFailedMetricPointsDoubleSend failed metric points for this resource
Example: 0
{"format":"double"}sentMetricPointsDoubleSent metric points for this resource
Example: 0
{"format":"double"}serviceInstanceIdStringService instance id for this resource
Example: value
observedAtStringObserved at for this resource
Example: 2026-01-15T08:00:00Z
{"format":"date-time"}
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
{"format":"int64"}targetAgentReleaseStringTarget agent release for this resource
Example: 10
{"format":"int64"}
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
{"format":"int32"}cancelledEnableTaskIdStringCancelled enable task id for this resource
Example: value
queueFactsObjectQueue facts for this resource
queueSizeDoubleQueue size for this resource
Example: 0
{"format":"double"}queueCapacityDoubleQueue capacity for this resource
Example: 0
{"format":"double"}enqueueFailedMetricPointsDoubleEnqueue failed metric points for this resource
Example: 0
{"format":"double"}sendFailedMetricPointsDoubleSend failed metric points for this resource
Example: 0
{"format":"double"}sentMetricPointsDoubleSent metric points for this resource
Example: 0
{"format":"double"}serviceInstanceIdStringService instance id for this resource
Example: value
observedAtStringObserved at for this resource
Example: 2026-01-15T08:00:00Z
{"format":"date-time"}
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
{"format":"int64"}targetAgentReleaseStringTarget agent release for this resource
Example: 10
{"format":"int64"}
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
{"format":"date-time"}startedAtStringStarted at for this resource
Example: 2026-01-15T08:00:00Z
{"format":"date-time"}completedAtStringCompleted at for this resource
Example: 2026-01-15T08:00:00Z
{"format":"date-time"}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
{"format":"date-time"}collectionStateStringcollecting, stopped or unknown; independent of business sample age.
Example: value
deliveryStateStringcurrent, delayed, backfilling or unknown; never an exact data gap.
Example: value
queueSizeDoubleUpstream queue units, not a count of metric samples or bytes.
Example: 0
{"format":"double"}queueCapacityDoubleQueue capacity for this resource
Example: 0
{"format":"double"}enqueueFailedMetricPointsDoubleEnqueue failed metric points for this resource
Example: 0
{"format":"double"}sendFailedMetricPointsDoubleSend failed metric points for this resource
Example: 0
{"format":"double"}sentMetricPointsDoubleSent metric points for this resource
Example: 0
{"format":"double"}serviceInstanceIdStringService instance id for this resource
Example: value
observedAtStringObserved at for this resource
Example: 2026-01-15T08:00:00Z
{"format":"date-time"}
configRevisionStringCurrent configuration delivery owned by this task, including rollback. Absent until the Runner generates a configuration; never a Binding lookup.
Example: 10
{"format":"int64"}observedObjectPresent only for a wait-mode Disable with a saved drain window.
drainWaitSecondsIntegerDrain wait seconds for this resource
Example: 10
{"format":"int32"}drainStartedAtStringDrain started at for this resource
Example: 2026-01-15T08:00:00Z
{"format":"date-time"}drainDeadlineAtStringDrain deadline at for this resource
Example: 2026-01-15T08:00:00Z
{"format":"date-time"}queueFactsObjectLast valid saved queue observation; absent when no observation was saved.
queueSizeDoubleQueue size for this resource
Example: 0
{"format":"double"}queueCapacityDoubleQueue capacity for this resource
Example: 0
{"format":"double"}enqueueFailedMetricPointsDoubleEnqueue failed metric points for this resource
Example: 0
{"format":"double"}sendFailedMetricPointsDoubleSend failed metric points for this resource
Example: 0
{"format":"double"}sentMetricPointsDoubleSent metric points for this resource
Example: 0
{"format":"double"}serviceInstanceIdStringService instance id for this resource
Example: value
observedAtStringObserved at for this resource
Example: 2026-01-15T08:00:00Z
{"format":"date-time"}
Change History
View all change historyChange Time
AddedResponse fields previousAgentRelease, targetAgentReleaseView API
