6.4 Describe the Catalyst Center and SD-WAN Manager APIs
ENCOR 350-401 v1.2 · 6.0 Automation and Artificial Intelligence
Cisco's controllers expose everything through REST APIs. Catalyst Center offers an intent API for campus inventory, sites, assurance and provisioning; SD-WAN Manager offers APIs for devices, templates, policies and real-time monitoring. ENCOR expects you to describe what each API offers and how a script authenticates to it.
What you must know
- Describe Catalyst Center's intent API: authentication, domains (Know Your Network, Site Management, Operational Tools, Connectivity), events and webhooks.
- Describe SD-WAN Manager's API: session cookie plus XSRF token, device inventory, templates, statistics.
- Name the authentication flows and token or cookie handling.
- Explain asynchronous tasks (task IDs) and webhooks.
Catalyst Center intent API
Authenticate with basic authentication to POST /dna/system/api/v1/auth/token, then send the token in X-Auth-Token. The intent API is grouped by domain: Know Your Network (devices, sites, clients, topology, health), Site Management (sites, provisioning, PnP, software images), Operational Tools (command runner, templates, path trace) and Connectivity. Long operations return a task ID to poll; events can be pushed to webhooks, email or ITSM tools.
The same script reads campus health from Catalyst Center (1) and the WAN edge inventory from SD-WAN Manager (2).
SD-WAN Manager API
Log in with POST /j_security_check (username and password as form data); the answer sets a JSESSIONID cookie. Then GET /dataservice/client/token returns an XSRF token that must accompany every POST, PUT and DELETE. Resources live under /dataservice/: device (inventory and status), template (device and feature templates), statistics (interface, app-route, DPI), device/control/connections, and policy objects. Newer releases also support OAuth-style tokens.
Commands
POST /dna/system/api/v1/auth/token | Catalyst Center: get a token. |
GET /dna/intent/api/v1/network-device | Catalyst Center: device inventory. |
POST /j_security_check | SD-WAN Manager: log in (session cookie). |
GET /dataservice/device | SD-WAN Manager: device list. |
Exam traps
- Catalyst Center uses a token in X-Auth-Token; SD-WAN Manager uses a session cookie plus an XSRF token for changes.
- Long Catalyst Center operations return a task ID, not the result.
- The intent API is northbound; the controllers use southbound protocols to reach devices.
Check yourself
- Which header carries the Catalyst Center token?
- X-Auth-Token.
- What does SD-WAN Manager require in addition to the session cookie for a POST?
- The X-XSRF-TOKEN header from /dataservice/client/token.
- A Catalyst Center call returns a task ID. What next?
- Poll the task API with that ID until it reports completion and the result.