---
title: "Get a specific Policy Result."
method: GET
path: "/policyresults/{id}"
tags: ["Policies"]
---

# Get a specific Policy Result.

`GET /policyresults/{id}`

## Request

- Base URL: `https://console.jumpcloud.com/api/v2`
- URL: `https://console.jumpcloud.com/api/v2/policyresults/{id}`
- Auth: API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/docs/policyresults/:id/get.ts> (a function with typed inputs; its response is checked against the schema)

This endpoint will return the policy results for a specific policy.

##### Sample Request
```
curl -X GET https://console.jumpcloud.com/api/v2/policyresults/{Policy_ID} \
  -H 'Accept: application/json' \
  -H 'Content-Type: application/json' \
  -H 'x-api-key: {API_KEY}'
  ```

## Headers

- `x-org-id` string

## Response `200`

OK

- PolicyResult
  - `detail` string: Details pertaining to the policy result.
  - `endedAt` string, date-time: The end of the policy application.
  - `exitStatus` integer: The 32-bit unsigned exit status from the applying the policy.
  - `id` string: ObjectId uniquely identifying a Policy Result.
  - `policyID` string: ObjectId uniquely identifying the parent Policy.
  - `startedAt` string, date-time: The start of the policy application.
  - `state` string: Enumeration describing the state of the policy. Success, failed, or pending.
  - `stdErr` string: The STDERR output from applying the policy.
  - `stdOut` string: The STDOUT output from applying the policy.
  - `success` boolean: True if the policy was successfully applied; false otherwise.
  - `systemID` string: ObjectId uniquely identifying the parent System.
  - `userObjectId` string: ObjectId uniquely identifying the parent User.

---

[API](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2.md) - [All operations](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/jumpcloud/apis/jumpcloud-api-2/revisions/3f09fe63caaa?raw)
