---
title: "Access Evaluation API"
method: POST
path: "/access/v1/evaluation"
tags: ["authzen"]
---

# Access Evaluation API

`POST /access/v1/evaluation`

## Request

- Base URL: `{{.Scheme}}://{{.Host}}`
- URL: `{{.Scheme}}://{{.Host}}/access/v1/evaluation`
- Auth: API key in header `authorization` and API key in header `aserto-tenant-id`
- TypeScript: <https://skmtc.dev/aserto/apis/directory/docs/access/v1/evaluation/post.ts> (a function with typed inputs; its response is checked against the schema)

TBD

## Request body

- V1EvaluationRequest
  - `action` V1Action
    - `name` string
    - `properties` object
  - `context` object
  - `resource` V1Resource
    - `id` string
    - `properties` object
    - `type` string
  - `subject` V1Subject
    - `id` string
    - `properties` object
    - `type` string

## Response `200`

A successful response.

- V1EvaluationResponse
  - `context` object
  - `decision` boolean

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `403`: Forbidden
- `500`: Internal error
- `default`: An unexpected error response.

## Changes

- **2025-02-28** `710d78625171`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/aserto/apis/directory/changes/access/v1/evaluation/post.md)

---

[API](https://skmtc.dev/aserto/apis/directory.md) - [All operations](https://skmtc.dev/aserto/apis/directory/llms.txt) - [OpenAPI document](https://skmtc.dev/aserto/apis/directory/revisions/b7dd5665d9f0?raw)
