---
title: "GET /projects/{projectId}/ask/models"
method: GET
path: "/projects/{projectId}/ask/models"
---

# GET /projects/{projectId}/ask/models

`GET /projects/{projectId}/ask/models`

## Request

- Base URL: `https://api.caveman.so/api/v1`
- URL: `https://api.caveman.so/api/v1/projects/{projectId}/ask/models`
- Auth: one of:
  - OAuth 2
    - Authorization code: `/api/v1/oauth/authorize`
    - Token URL: `/api/v1/oauth/token` scopes: `trace:read_metadata`
  - HTTP bearer
  - API key in cookie `cave_access`
  - API key in cookie `__Secure-cave_identity.session_token`

GET /api/v1/projects/{projectId}/ask/models on the Caveman Cloud control plane. Requires the trace:read_metadata scope. Not exposed to autonomous agents: Console model picker for a person's own Ask turns: which models this install offers and which the caller's turn could run on now.

## Response `200`

The install's Ask models in operator order, each with whether the caller's turn on it would be admitted.

- AskModels
  - `default` string, required: The model a turn that names none runs on; empty when none resolves.
  - `models` object[], required
    - `id` string, required
    - `provider` string, required
    - `available` boolean, required: A turn on this model would be admitted for the caller now.
    - `source` 'team_key' | 'included' | 'chatgpt' | '', required: What pays when available: a saved team key, the included allowance, or the caller's linked ChatGPT plan.
    - `context_window_tokens` integer, required

## Other responses

- `401`: Authentication required.
- `404`: Project or current authority unavailable.
- `409`: Ask is not turned on for this deployment.
- `503`: Shared agent execution unavailable.
- `4XX`: Structured failure. `error.code` is stable; `error.request_id` is echoed in the x-cave-request-id header.
- `5XX`: Structured failure. `error.code` is stable; `error.request_id` is echoed in the x-cave-request-id header.

---

[API](https://skmtc.dev/caveman/apis/caveman-cloud-api.md) - [All operations](https://skmtc.dev/caveman/apis/caveman-cloud-api/llms.txt) - [OpenAPI document](https://skmtc.dev/caveman/apis/caveman-cloud-api/revisions/508312d01cfc?raw)
