---
title: "POST /v1/{+name}:evaluate"
method: POST
path: "/v1/{+name}:evaluate"
tags: ["projects"]
---

# POST /v1/{+name}:evaluate

`POST /v1/{+name}:evaluate`

Evaluates a Kubernetes object versus a GKE platform policy. Returns `NOT_FOUND` if the policy doesn't exist, `INVALID_ARGUMENT` if the policy or request is malformed and `PERMISSION_DENIED` if the client does not have sufficient permissions.

## Path parameters

- `name` string, required

## Request body

- EvaluateGkePolicyRequest — Request message for PlatformPolicyEvaluationService.EvaluateGkePolicy.
  - `resource` object — Required. JSON or YAML blob representing a Kubernetes resource.

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/binaryauthorization.md) · [All operations](https://skmtc.dev/google/apis/binaryauthorization/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/binaryauthorization/revisions/4e59b7e236cd/schema)
