What problem does it solve?
This Skill helps prevent common mistakes when calling the Safeguard Web API directly, so you can debug REST behavior and cmdlet integration without trial-and-error.
Core Features & Use Cases
- Cmdlet-first API development: Use discovery and help workflows to find the right cmdlet and parameter names before dropping down to raw REST calls.
- Correct request construction: Choose between -Body vs -JsonBody, apply ConvertTo-Json -Depth 100, and pass query options via -Parameters to avoid payload and serialization bugs.
- Reliable API troubleshooting: Apply filtering operator rules, handle API versioning (v3 vs v4), and use known endpoint/session and role-scope constraints to resolve errors quickly (for example, filter operator errors and access-request overlap cleanup).
Quick Start
Use the api-patterns skill to troubleshoot a failing Safeguard API call by identifying whether you should use a cmdlet or Invoke-SafeguardMethod, selecting the correct parameter formatting and filter syntax, and then correcting the request payload and API version.