---
title: "Set a deck's newCardsPerDay to the recommended value (Markdown)"
method: POST
path: "/dev/plan/new-cards/apply"
---

# Set a deck's newCardsPerDay to the recommended value (Markdown)

`POST /dev/plan/new-cards/apply`

## Request

- Base URL: `https://fluidrecall.com/api/v1`
- URL: `https://fluidrecall.com/api/v1/dev/plan/new-cards/apply`
- Auth: one of:
  - HTTP bearer
  - HTTP dpop

Write. Same plan as preview, then PATCH the owned deck. Reuses updateDeck. deckId is required. Discuss the number first.

## Request body

- object
  - `deadline` string, required
  - `asOf` string
  - `timezone` string
  - `dayBoundaryHour` integer
  - `remainingNewCards` integer
  - `totalCards` integer
  - `alreadyLearned` integer
  - `skipWeekends` boolean
  - `studyDaysPerWeek` integer
  - `bufferStudyDays` integer
  - `currentNewCardsPerDay` integer, nullable
  - `deckId` string, uuid, required

## Response `200`

Markdown plan and the patched deck.

## Other responses

- `400`: Invalid JSON or fields.
- `401`: Missing or wrong token.
- `404`: No deck with that id for this token.

---

[API](https://skmtc.dev/fluidrecall/apis/fluid-recall.md) · [All operations](https://skmtc.dev/fluidrecall/apis/fluid-recall/llms.txt) · [OpenAPI document](https://skmtc.dev/fluidrecall/apis/fluid-recall/revisions/7bf2563c3d2a?raw)
