---
title: "Get a policy response"
method: GET
path: "/api/endpoint/policy_response"
tags: ["Security Endpoint Management API"]
---

# Get a policy response

`GET /api/endpoint/policy_response`

**Spaces method and path for this operation:**

<div><span class="operation-verb get">get</span>&nbsp;<span class="operation-path">/s/{space_id}/api/endpoint/policy_response</span></div>

Refer to [Spaces](https://www.elastic.co/docs/deploy-manage/manage-spaces) for more information.

Get the most recent policy response for an endpoint.

## Query parameters

- `agentId` string, required — Agent ID

## Response `200`

Indicates a successful call.

- SecurityEndpointManagementAPISuccessResponse — A generic successful response.

---

[API](https://skmtc.net/elastic/apis/kibana-apis.md) · [All operations](https://skmtc.net/elastic/apis/kibana-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/elastic/kibana-apis/versions/531c9e2a7d23/schema)
