Last Updated: 2026-10-10 | Created: 2026-09-13 (v2.0.55)
Target Audience: NOC Engineers, NetOps, SecOps, and Automation Engineers
Applicable Version: Stigixv2.0.55+
API Studio is Stigix’s real-time API observability hub and interactive test playground. It bridges the gap between backend background micro-engines (Python SDK scripts, Node.js daemons, VyOS automation) and the web dashboard.
As a NOC or NetOps engineer, you can use API Studio to:
- Instantly diagnose API failures between Stigix and external network controllers (Palo Alto Prisma SASE, Strata Cloud Manager, VyOS routers, Cloudflare Workers).
- Inspect full HTTP transactions (exact URL, headers, JSON request/response payloads, latency, and status codes).
- Replay and debug failing calls in 1 click without opening a terminal or writing Python scripts.
- Test and create network objects (e.g. custom SD-WAN appdefs, site queries, router firewall rules) using pre-built presets and automated credential injection.
- Generate reproducible automation snippets (cURL, Python
prisma_sase, Pythonrequests, Node.jsfetch) for escalation tickets or CI/CD pipelines.
+-----------------------------------------------------------------------------+
| STIGIX API STUDIO |
+-----------------------------------------------------------------------------+
| |
| [ Live API Inspector ] [ API Playground & Presets ] |
| * Real-time SSE event stream * Palo Alto SASE Presets |
| * Inbound & Outbound logging * VyOS Router Presets |
| * Python getflow / prisma_apps hooks * Auto-Authentication |
| * 1-Click "Replay in Playground" -----> * cURL / Python / JS Export |
| |
+-----------------------------------------------------------------------------+
To access API Studio:
- Open the Stigix Dashboard.
- Click the API Studio tab (
Livebadge) in the top navigation bar. - Toggle between the two sub-views:
Live API Inspector: Real-time streaming log of all active transactions.API Playground & Presets: Interactive visual composer and request builder.
The Live API Inspector captures every inbound and outbound HTTP/REST transaction happening across the Stigix node with sub-50ms latency.
| Control | Description |
|---|---|
● Live Streaming / Paused |
Real-time connection indicator with pulse dot. Click Pause to freeze the stream when analyzing rapid bursts of traffic. |
| Search Bar | Live filter across URLs, paths, methods, status codes, script names (getflow.py, prisma_custom_apps.py), and error strings. |
| Status Filter Chips | Instant filtering by 2xx (Success), 4xx (Client/Auth errors), 5xx (Server errors), or Errors Only. |
| Source Selector | Filter by initiator: Node.js, Python (micro-engines), VyOS API, or Security Probes. |
Export JSON |
Downloads the full transaction log as a formatted JSON file for incident reports and ticketing. |
Clear |
Flushes the current in-memory buffer (500-event FIFO circular buffer). |
- Time: Local timestamp of execution.
- Status: Color-coded HTTP status badge (
200 OK🟢,401 Unauthorized🟡,500 Error🔴). - Method: HTTP verb (
GET,POST,PUT,DELETE,PATCH). - Source: Indicates direction (↗ Outbound vs ↙ Inbound) and the script name (e.g.
getflow.py,prisma_custom_apps.py,api_playground). - Path / Endpoint: The target REST path and base domain.
- Latency: End-to-end execution time in milliseconds (amber if > 1000ms).
Clicking on any row in the log table opens the Detail Drawer with full visibility:
- Overview: Exact URL, timestamp, execution duration, and masking status.
- Response Body: Formatted, syntax-highlighted JSON returned by the controller.
- Request Body: The payload sent by Stigix.
- Headers: Both request and response headers (Content-Type, User-Agent, Rate-Limit headers).
- cURL Snippet: A pre-formatted, reproducible
curlcommand with 1-click copy. [⚡ Replay in Playground]: The most powerful NOC tool — immediately clones the URL, method, headers, and body into the API Playground for instant tweaking and re-execution.
The API Playground allows NOC engineers to safely query, test, and manipulate remote APIs without opening SSH terminals.
The preset selector includes pre-configured templates for common operational tasks:
List All Sites(GET /sdwan/v4.13/api/sites): Fetches all branch & DC sites on the tenant.List ION Elements(GET /sdwan/v3.2/api/elements): Lists all hardware and virtual ION appliances with serial numbers and software versions.List Custom Applications(GET /sdwan/v2.6/api/appdefs): Inspects all custom L7 applications defined in Prisma SD-WAN.Create Custom App Definition(POST /sdwan/v2.6/api/appdefs): Pre-filled JSON schema to register a new TCP/UDP application definition.Query SD-WAN Topology(POST /sdwan/v3.6/api/topology): Queries active SD-WAN overlay topology nodes, links, and VPN peer states.Get Operator & Tenant Profile(GET /sdwan/v2.1/api/profile): Inspects authenticated operator identity, tenant ID, and controller roles.
Query SLS Traffic Logs(POST /logging-service/v2/query): Live query for recent firewall and security traffic logs.
Show Network Interfaces(POST /showwith{"op": "show", "path": ["interfaces"]}): Query interface IP, link state, and duplex directly from the VyOS REST API.Show IP Route Table(POST /showwith{"op": "show", "path": ["ip", "route"]}): Inspect live routing table.
Get Discovered Topology(GET /api/topology): Real-time underlay mesh topology.System Health & Engine Status(GET /api/system/health): Health matrix across all daemons.Ping Cloudflare Target Worker(GET /__down?bytes=1024): Latency check to cloud edge targets.
You don't need to manually copy OAuth bearer tokens or API keys:
Prisma SASE OAuth: Automatically retrieves your client credentials from Stigix Settings / environment, performs the OAuth2 token exchange with Palo Alto Networks, bootstraps the SD-WAN controller session (/sdwan/v2.1/api/profile), injectsAuthorization: Bearer <token>,X-PAN-TSG-ID, and SDKUser-Agent, resolving the regional base URL.VyOS API Key: Automatically pulls the API key and host configured in Stigix VyOS Control.Stigix JWT Token: Injects your current dashboard session authentication.
Symptoms: The Topology page shows "Topology Not Configured" or "Authentication Failed" after saving credentials.
NOC Investigation Steps:
- Open API Studio → Live API Inspector.
- Look for recent requests from
Python (getflow.py)to/auth/v1/oauth2/access_tokenor/sdwan/v4.13/api/sites. - Click the failing transaction row (e.g.
401 Unauthorizedor403 Forbidden). - In the drawer, check the Response Body:
401 Unauthorized: Client ID or Client Secret is mistyped or revoked onapps.paloaltonetworks.com.403 Forbidden: The Service Account lacks the SD-WAN Administrator role or the TSG ID scope is incorrect.
- Click
[⚡ Replay in Playground]. - Switch to the Code Export tab, copy the cURL snippet, and execute it directly in a terminal to confirm TSG permissions.
Goal:
Verify whether a new TCP port (e.g. port 3200 for SAP ERP) is classified correctly by Prisma SD-WAN.
NOC Steps:
- Open API Studio → API Playground.
- Select Preset:
Prisma SD-WAN - Create Custom App Definition. - In the JSON Body tab, customize the port and app name:
{ "name": "SAP_ERP_PROD", "display_name": "SAP ERP Production", "app_type": "custom", "category": "business_systems", "sub_category": "enterprise_resource_planning", "tcp_rules": [ { "port": "3200" } ] } - Ensure Auto Auth is set to
Prisma SASE OAuth. - Click
Send. - In the Response Inspector on the right, verify status
201 Createdand check the returnedid. - Switch to the Live API Inspector tab to see the logged transaction.
Goal:
Confirm if interface eth1 (WAN) is UP on the VyOS router without SSH access.
NOC Steps:
- In API Playground, select Preset:
VyOS SD-WAN - Show Network Interfaces. - Ensure Auto Auth is set to
VyOS API Key. - Click
Send. - The Response Inspector immediately formats and displays the JSON output showing interface states, IPs, and link drop statistics.
To comply with enterprise security standards and prevent accidental credential leakage in screenshots or screen shares:
- All sensitive headers (
Authorization: Bearer ...,client_secret,x-api-key,password,token) are automatically sanitized before being stored in the buffer or rendered in the UI (***MASKED***). - The internal telemetry proxy runs locally within the Stigix container and never leaks plaintext secrets to third-party telemetry providers.
- Logging occurs entirely in-memory (RAM) and is non-persistent unless explicitly exported via the Export JSON button.
Every request composed in the API Playground can be exported instantly to ready-to-run code by opening the Code Export tab:
cURL: Single command with headers and formatted data payloads.Python (prisma_sase): Ready-to-paste Python script using Palo Alto's official SDK.Python (requests): Standalone Python script using standardrequestslibrary.Node.js (fetch): Native modern JavaScript / TypeScriptfetchsnippet.
Use these snippets to quickly attach reproducible proof to ServiceNow/Jira tickets or provide automation scripts to network engineering teams.