Pcornel
Browse topics
Options
Recent
Favorites
Command · Cisco Catalyst Center API

Read Catalyst Center provisioning task state

curl -sS -H "X-Auth-Token: $DNAC_TOKEN" "$DNAC/dna/intent/api/v1/task/$TASK_ID"

Operational command for Read Catalyst Center provisioning task state. Focus fields: task id, progress, endTime, isError and failureReason.

Execution context

Cisco Catalyst Center API

Use when

Use when working the canonical Topic ccna-encor-network-assurance-cisco-catalyst-center-provisioning and the matching failure boundary.

Then verify

open the task details and correlate the failing workflow/device before retrying provisioning

Privilege Use an account/context authorized for this observation; do not broaden scope unnecessarily.State impact Read-onlyProduction Unknown

Operational impact: Read-only observation; runtime cost still depends on platform and result size.
Command detailsSafety model · family · platform · verification · bundle
PrivilegeUse an account/context authorized for this observation; do not broaden scope unnecessarily.
Execution contextCisco Catalyst Center API
State impactRead-only
Safe during productionUnknown
Categoryverification
Evidence levelmixed
Primary DomainNetworking
Historical technical verificationNeeds verification dateCurrent command content requires review after a Git edit.
FamilyVerification
PlatformCisco Catalyst Center API
PrerequisiteCisco Catalyst Center API
Output fields

Field glossary

Important fields projected from persisted Command guidance.

task id, progress, endTime, isError and failureReason

Important persisted output field; use surrounding guidance for interpretation.

Command → Topic semantics

Used in these Topics

Each relation carries both placement role and operational semantic: verifies, configures, troubleshoots, collects evidence, changes state or general.

DomainsNetworking

Find another Command

Reference enrichment

Evidence boundary

What this output can establish — and where you must not over-claim.

Proves

This command directly exposes task id, progress, endTime, isError and failureReason for the selected object/context at execution time.

Does not prove

It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.

Next check

open the task details and correlate the failing workflow/device before retrying provisioning

Depth when you need it

Command guidance

Use when

Use when working the canonical Topic ccna-encor-network-assurance-cisco-catalyst-center-provisioning and the matching failure boundary.

Important fields

task id, progress, endTime, isError and failureReason

Common problems

Common mistakes: wrong object, node, VRF/namespace, time window, or treating a management-plane status as workload proof.

Operational impact

Read-only observation; runtime cost still depends on platform and result size.

Runtime cautions

Capture the command, selected scope and timestamp so the result can be correlated with the original test. Use an HTTPS Catalyst Center URL with a trusted server certificate. For a private CA, configure the OS trust store or curl --cacert / CURL_CA_BUNDLE. Never use -k or --insecure with X-Auth-Token.

Technical context

Known-good: the intended task completes without isError and reaches its terminal progress state. Suspicious: the task remains pending unexpectedly or reports isError/failureReason. Next discriminating check: open the task details and correlate the failing workflow/device before retrying provisioning.

Command Output Deep Dive

Variants · known-good and broken output

Read the stored sample against its authored expected state and interpretation, then return to the Command evidence boundary for what the observation can and cannot prove.

Known-good · 1Broken · 1Transitional · 1Observed · 0
1 · Observe the exact persisted fields/state.2 · Compare with authored known-good, broken or transitional samples.3 · Apply the Command evidence boundary; output is not end-to-end proof.4 · Run the next discriminating check and repeat the original workload/test when relevant.
Illustrative Known-good interpretationKnown-good · Cisco Catalyst Center API
Illustrative state cue only; not captured output: the intended task completes without isError and reaches its terminal progress state
Expected state

healthy

Interpretation

Read Catalyst Center provisioning task state — Known-good. Inspect task id, progress, endTime, isError and failureReason. Observed cue: the intended task completes without isError and reaches its terminal progress state. This supports only the state returned by curl -sS -k -H "X-Auth-Token: $DNAC_TOKEN" "$DNAC/dna/intent/api/v1/task/$TASK_ID" for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: open the task details and correlate the failing workflow/device before retrying provisioning. Correlate the result with the same workload/test before declaring recovery.

Evidence boundary

This command directly exposes task id, progress, endTime, isError and failureReason for the selected object/context at execution time.

Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.
Next check

open the task details and correlate the failing workflow/device before retrying provisioning

Illustrative Transitional interpretationTransitional · Cisco Catalyst Center API
Illustrative state cue only; not captured output: The command returns the expected object, but one or more state/counter fields are still moving toward a terminal result.
Expected state

transitional

Interpretation

Read Catalyst Center provisioning task state — Transitional. Inspect task id, progress, endTime, isError and failureReason. Observed cue: The command returns the expected object, but one or more state/counter fields are still moving toward a terminal result.. This supports only the state returned by curl -sS -k -H "X-Auth-Token: $DNAC_TOKEN" "$DNAC/dna/intent/api/v1/task/$TASK_ID" for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: open the task details and correlate the failing workflow/device before retrying provisioning. Correlate the result with the same workload/test before declaring recovery.

Evidence boundary

This command directly exposes task id, progress, endTime, isError and failureReason for the selected object/context at execution time.

Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.
Next check

open the task details and correlate the failing workflow/device before retrying provisioning

Illustrative Broken interpretationBroken · Cisco Catalyst Center API
Illustrative state cue only; not captured output: the task remains pending unexpectedly or reports isError/failureReason
Expected state

broken

Interpretation

Read Catalyst Center provisioning task state — Broken. Inspect task id, progress, endTime, isError and failureReason. Observed cue: the task remains pending unexpectedly or reports isError/failureReason. This supports only the state returned by curl -sS -k -H "X-Auth-Token: $DNAC_TOKEN" "$DNAC/dna/intent/api/v1/task/$TASK_ID" for the selected object and time window. It does not establish root cause or prove the next dependency. Next check: open the task details and correlate the failing workflow/device before retrying provisioning. Correlate the result with the same workload/test before declaring recovery.

Evidence boundary

This command directly exposes task id, progress, endTime, isError and failureReason for the selected object/context at execution time.

Does not prove: It does not by itself prove root cause, health of an adjacent dependency, or end-to-end workload recovery.
Next check

open the task details and correlate the failing workflow/device before retrying provisioning

Confirmation

Confirm action

Continue?