---
title: "Public Get Model Schedules"
method: GET
path: "/v1/models/{model_id}/scaling/schedules"
tags: ["public-api"]
---

# Public Get Model Schedules

`GET /v1/models/{model_id}/scaling/schedules`

## Request

- Base URL: `https://api.trainloop.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.trainloop.ai/v1/models/{model_id}/scaling/schedules`
- Auth: none declared

The autoscaling schedule windows of one of this team's dedicated
models, read live from Baseten through the gateway: each weekday window
with its replica bounds, the window in force now (`active_schedule_id`)
and the environment's timezone. ``model_id`` is the model's platform id,
the uuid in its page URL. Read only: changes go through the model's page
for now (Cartage asked for forecast-driven writes later, with a person
approving each change). 404 for a model this team does not own, 409 for
a catalog model with no dedicated deployment.

## Path parameters

- `model_id` string, uuid, required

## Headers

- `authorization` string, nullable

## Response `200`

Successful Response

- ModelSchedulesResponse: The schedule windows of the Baseten environment a model serves from.
  - `environment` string, required
  - `timezone` string, nullable, required
  - `active_schedule_id` string, nullable, required
  - `revision` string, required
  - `schedules` ModelScheduleWindow[], required
    - `id` string, nullable, required
    - `name` string, required
    - `enabled` boolean, required
    - `cadence` string, required
    - `weekdays` string[], required
    - `start_hour` integer, nullable, required
    - `start_minute` integer, nullable, required
    - `end_hour` integer, nullable, required
    - `end_minute` integer, nullable, required
    - `min_replica` integer, nullable, required
    - `max_replica` integer, nullable, required
    - `autoscaling_window` integer, nullable, required
    - `scale_down_delay` integer, nullable, required
    - `max_scale_down_rate` integer, nullable, required
    - `concurrency_target` integer, nullable, required
    - `target_utilization_percentage` integer, nullable, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-10** `2135f2ae18d9`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/trainloop/apis/trainloop-api/changes/v1/models/:model_id/scaling/schedules/get.md)

---

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