---
title: "List project model grants"
method: GET
path: "/orgs/{orgID}/projects/{projectID}/model-grants"
tags: ["Models"]
---

# List project model grants

`GET /orgs/{orgID}/projects/{projectID}/model-grants`

## Request

- Base URL: `https://api.omnara.com/v1`
- URL: `https://api.omnara.com/v1/orgs/{orgID}/projects/{projectID}/model-grants`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `__Host-omnara_session`

Lists the configured models a project can use, most recently granted first by default, with each grant's overrides and the model's name and provider config.

## Path parameters

- `orgID` string, required
- `projectID` string, required

## Query parameters

- `name` string
- `sort` 'name' | '-name' | '-updated_at' | 'updated_at' | '-created_at' | 'created_at': Field to sort by; prefix with - for descending order. Defaults to -created_at (newest first).
- `limit` integer
- `cursor` string

## Response `200`

Route response.

- ListProjectModelGrantsResponse
  - `data` ProjectModelGrantListItem[], required
    - `grant` ProjectModelGrant, required
      - `id` string, required
      - `org_id` string, required
      - `project_id` string, required: Project ID (proj_...).
      - `configured_model_id` string, required
      - `context_window_tokens` integer, nullable: Project context budget for input and output tokens, or omitted/null to inherit from the configured model. Triggers compaction when estimated input exceeds the remaining budget after output and safety reserves. The turn fails if compaction cannot make it fit.
      - `max_output_tokens` integer, nullable: Project output-token ceiling, or omitted/null to inherit from the configured model.
      - `default_max_output_tokens` integer, nullable: Project default per-request output-token cap, or omitted/null to inherit from the configured model.
      - `default_cache_retention` 'none' | 'short' | 'long': Prompt-cache preference for model requests; `short` when omitted. `short` applies the route's default caching (explicit cache breakpoints where the provider requires them) and, where the route accepts one, a stable conversation key for cache-aware routing. `long` prefers the route's extended cache lifetime where one exists (currently Anthropic's one-hour cache, which on Bedrock requires Claude 4.5 or newer) and behaves like `short` elsewhere. `none` sends no Omnara-managed cache controls or conversation key; providers may still cache prefixes on their own.
      - `supports_tools` boolean, nullable: Project-level tool-use override, or omitted/null to inherit from the configured model.
      - `supports_reasoning` boolean, nullable: Project-level reasoning override, or omitted/null to inherit from the configured model.
      - `default_reasoning_effort` string: Project default reasoning effort, or omitted/empty to inherit from the configured model.
      - `supported_reasoning_efforts` string[], required: Project subset of configured-model reasoning efforts. Empty means inherit. When non-empty, default_reasoning_effort must resolve to one of these values.
      - `input_modalities` string[], required: Project subset of configured-model input types (text, image, or file). Empty means inherit.
      - `output_modalities` string[], required: Project subset of configured-model output types. Empty means inherit.
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
    - `model` ConfiguredModelSummary, required
      - `id` string, required
      - `org_id` string, required
      - `model_provider_config_id` string, required
      - `name` string, required: User-assigned configured model name used by agent YAML as model.name.
      - `provider_config` string, required: Name of the provider config that owns this model, used by agent YAML as model.provider_config.
      - `provider_model_slug` string, required: Exact provider model slug sent to the provider endpoint by the current revision.
      - `created_at` string, date-time, required
      - `updated_at` string, date-time, required
    - `effective_reasoning` ProjectModelGrantEffectiveReasoning, required: Reasoning settings agents in this project get for the model, after project grant overrides are applied to the configured model's current revision.
      - `supports_reasoning` boolean, required: Whether agents can use this model's reasoning features. False when the grant no longer fits the configured model.
      - `default_reasoning_effort` string, required: Reasoning effort sent when an agent config does not set model.reasoning.effort. Empty means the provider default.
      - `supported_reasoning_efforts` string[], required: Values an agent config may set as model.reasoning.effort, including limits the model's API format imposes when the configured model lists none. Empty means any value is accepted.
  - `next_cursor` string, nullable, required

## Other responses

- `400`: The request was invalid.
- `401`: Authentication is required or invalid.
- `403`: The authenticated principal is not authorized.
- `404`: The requested resource was not found or is not visible.
- `409`: The request conflicts with current resource state or idempotency history.
- `503`: The service dependency required to satisfy the request is unavailable.
- `4XX`: Any other client error. The body carries the shared Error envelope restricted to client error codes; statuses with a dedicated response above are documented precisely.
- `5XX`: Any other server error. The body carries the shared Error envelope restricted to server error codes.

## Changes

- **2026-10-05** `3d9e2cf46e07`: 159 info
  - added the optional property `current_digest` to the response with the `400` status
  - added the optional property `current_digest` to the response with the `401` status
  - added the optional property `current_digest` to the response with the `403` status
  - added the optional property `current_digest` to the response with the `404` status
  - …155 more
  - …this revision’s changelog is incomplete
- **2026-09-30** `2d5744db2a99`: 1 info
  - added the required property `data/items/effective_reasoning` to the response with the `200` status
- **2026-09-28** `acddeb8fc6a5`: 7 warning, 7 info
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `400`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `401`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `403`
  - added the new `upstream_unavailable` enum value to the `code` response property for the response status `404`
  - …10 more
- **2026-09-15** `31562becae05`: 1 info
  - added the required property `data/items/model/provider_model_slug` to the response with the `200` status
- **2026-09-01** `e4978b047d7a`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/omnara/apis/omnara-api-2/changes/orgs/:orgID/projects/:projectID/model-grants/get.md)

---

[API](https://skmtc.dev/omnara/apis/omnara-api-2.md) - [All operations](https://skmtc.dev/omnara/apis/omnara-api-2/llms.txt) - [OpenAPI document](https://skmtc.dev/omnara/apis/omnara-api-2/revisions/343aebb1dff1?raw)
