---
title: "Schedule Training"
method: POST
path: "/knowledge-bases/v2/{kb_id}/schedule-training"
tags: ["Knowledge Bases V2"]
---

# Schedule Training

`POST /knowledge-bases/v2/{kb_id}/schedule-training`

Schedule autotraining time for a knowledge base.

## Path parameters

- `kb_id` string, uuid, required

## Query parameters

- `team_id` string, uuid

## Request body

- TrainingSchedulePayload
  - `option` 'daily' | 'weekly' | 'custom_interval', required — An enumeration.
  - `day_of_week` string
  - `hour` string, required
  - `minute` string

## Response `200`

Successful Response

- KnowledgeBaseTrainingSchedule
  - `id` string, uuid
  - `date_created` string, date-time
  - `date_updated` string, date-time
  - `kb_id` string, uuid, required — The ID of the knowledge base.
  - `user_id` string, uuid, required — The ID of the user associated with the knowledge base training schedule.
  - `option` 'daily' | 'weekly' | 'custom_interval', required — An enumeration.
  - `day_of_week` string — The scheduled day or days when model will begin retraining.
  - `hour` string, required — The scheduled time (hour) when model will begin retraining.
  - `minute` string — The scheduled time (minutes) when model will begin retraining.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/dante-ai/apis/dante-ai-api.md) · [All operations](https://skmtc.net/dante-ai/apis/dante-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/dante-ai/dante-ai-api/versions/38b6c9a4246d/schema)
