Jamf Platform API request
platformRequestMake read-only authenticated GET requests to any Jamf Platform API Gateway endpoint, covering Jamf Pro and Classic APIs. Use service, version, and resource parameters to query fleet data.
Instructions
Make an authenticated request against any Jamf Platform API Gateway endpoint. The gateway also fronts the Jamf Pro API (300+ endpoints) and Jamf Pro Classic API (500+), so this reaches essentially the whole Jamf surface. Shapes: style "tenant" (default) builds /{version}/tenant/{tenantId}/{resource}; style "flat" omits the tenant segment and has never returned 200; rawPath is used verbatim after /api/{service}. For Classic use service "proclassic" with style "classic", which builds /tenant/{tenantId}/{resource} — no version segment, tenant filled in automatically, and no /JSSResource/ prefix, which does not exist on the gateway. The service segment may be more than one segment: Declaration Reporting is "ddm/report". Jamf Pro versions are per-resource (account-groups v1, enrollment v3, computers-inventory v4) — do not assume v1. READ-ONLY BY DESIGN: this tool issues GET and nothing else, and offers no method or body parameter. Writes go through named typed tools with narrow schemas, never through the passthrough, because a passthrough write is unreviewable — method, path and body would all be composed by the caller with nothing to constrain them. See JPM-0007.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | Query string parameters | |
| style | No | Path layout; defaults to "tenant". Use "classic" for Jamf Pro Classic — it builds /tenant/{tenantId}/{resource} with no version segment and fills the tenant in for you, so prefer it over rawPath, which requires you to know the tenant id. | |
| rawPath | No | Path after /api/{service}, used verbatim. Required for Classic, where it is "/tenant/{tenantId}/{resource}" — e.g. "/tenant/{tenantId}/scripts". Nothing is inserted, so the tenant segment must be included; a path without it answers 400. | |
| service | Yes | Gateway service segment, e.g. "blueprints", "devices" | |
| version | No | Version segment, defaults to "v1". Per-resource on Jamf Pro. | |
| resource | No | Resource path, e.g. "blueprints". Omit if using rawPath. |