---
title: "Check Permission"
method: POST
path: "/v1/access-control/check"
tags: ["v1", "protected", "access-control"]
---

# Check Permission

`POST /v1/access-control/check`

Check whether a subject has a permission on a resource.

## Request body

- CheckRequest
  - `namespace` string, required
  - `object` string, required
  - `relation` string, required
  - `subject_id` string, required

## Response `200`

Successful Response

- CheckResponse
  - `allowed` boolean, required

## Other responses

- `422` — Validation Error

---

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