---
title: "GET /ai/limits/projects/{project_id}"
method: GET
path: "/ai/limits/projects/{project_id}"
tags: ["AI Gateway Limits"]
---

# GET /ai/limits/projects/{project_id}

`GET /ai/limits/projects/{project_id}`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/ai/limits/projects/{project_id}`
- Auth: HTTP bearer

## Path parameters

- `project_id` integer, required

## Response `200`

Stored and effective limits plus this month's spend

- ProjectLimitsResponse
  - `effective` EffectiveLimits, required: The limits that apply to one project after inheritance.
    - `max_cost_per_month_microcents` integer, nullable: Operator-funded spend per UTC calendar month, in microcents (1/10000 of a cent); `null` means unlimited
    - `max_cost_per_month_source` 'project' | 'instance' | 'built_in', required: Where an effective limit came from.
    - `max_requests_per_minute` integer, nullable: Requests per rolling minute; `null` means unlimited
    - `max_requests_per_minute_source` 'project' | 'instance' | 'built_in', required: Where an effective limit came from.
  - `month_spend_microcents` integer, required: Operator-funded spend so far this UTC month, in microcents
  - `project_id` integer, required
  - `stored` LimitSettingsBody, required: Limits as stored for one scope. `null` inherits from the next level (project → instance → built-in); `0` means unlimited.
    - `max_cost_per_month_microcents` integer, nullable: Operator-funded spend per UTC calendar month, in microcents (1/10000 of a cent; 1 USD = 1,000,000 microcents)
    - `max_requests_per_minute` integer, nullable: Requests per rolling minute

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions

## Changes

> 81 revisions in range; 1 not diffed.

- **2026-10-16** `6e7c89bf1ab4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/ai/limits/projects/:project_id/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) · [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) · [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/ab6d5d19e930?raw)
