---
title: "Set Limits"
method: POST
path: "/internal/gate/set-limits"
tags: ["Gate (internal)"]
---

# Set Limits

`POST /internal/gate/set-limits`

Upsert entitlement limits for a person. Called by Ophan after Stripe events.

## Request body

- SetLimitsRequest
  - `person_id` string, required
  - `max_workspaces` integer, nullable
  - `max_artifacts` integer, nullable
  - `vu_limit` integer, nullable
  - `features` string[], nullable

## Response `204`

Successful Response

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/agience/apis/agience-platform-api.md) · [All operations](https://skmtc.net/agience/apis/agience-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/agience/agience-platform-api/revisions/187bad270c94/schema)
