---
title: "Record an access to an entity"
method: POST
path: "/entity_accesses"
tags: ["entity_accesses"]
---

# Record an access to an entity

`POST /entity_accesses`

Records a first-party person read of an Accessable entity (fired by the webui on mount). Gated on the same read permission as the entity's show and deduplicated per user+entity+30min window. Returns 204 No Content.

## Request body

- object
  - `entity_type` string, required — Polymorphic type of the accessed entity, e.g. "Document"
  - `entity_uuid` string, required — <tenant_uuid>_<entity_uuid> or entity UUID

## Response `204`

No Content - the read was recorded (or deduplicated)

## Other responses

- `400` — Bad Request - Invalid parameters or malformed request
- `401` — Unauthorized - Invalid or missing authentication
- `403` — Forbidden - User lacks permission to access this resource
- `404` — Not Found - Resource does not exist
- `422` — Unprocessable Entity - Invalid request parameters or validation errors
- `429` — Too Many Requests - Rate limit exceeded
- `500` — Internal Server Error - Unexpected server error

---

[API](https://skmtc.net/rhythms/apis/rhythms-params-in-body.md) · [All operations](https://skmtc.net/rhythms/apis/rhythms-params-in-body/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rhythms/rhythms-params-in-body/revisions/a67e54becfe9/schema)
