client.predictions.list_schedules

A method of the Predictions endpoint.

list_schedules(id: int) ListResponse

Show the prediction schedule

API URL: GET /predictions/{id}/schedules

import civis
client = civis.APIClient()
response = client.predictions.list_schedules(...)

Warning

The method name <client>.predictions.list_schedules is deprecated and will be removed at civis-python v3.0.0 (scheduled for February 2027). Please switch to <client>.predictions.get_schedules for the same method.

Parameters:
idint

ID of the prediction associated with this schedule.

Returns:
civis.Response
  • idint

    ID of the prediction associated with this schedule.

  • schedulecivis.Response
    • scheduledbool

      If the item is scheduled.

    • scheduled_daysList[int]

      Days of the week, based on numeric value starting at 0 for Sunday. Mutually exclusive with scheduledDaysOfMonth

    • scheduled_hoursList[int]

      Hours of the day it is scheduled on.

    • scheduled_minutesList[int]

      Minutes of the day it is scheduled on.

    • scheduled_runs_per_hourint

      Deprecated in favor of scheduled minutes.

    • scheduled_days_of_monthList[int]

      Days of the month it is scheduled on, mutually exclusive with scheduledDays.

  • score_on_model_buildbool

    Whether the prediction will run after a rebuild of the associated model.