---
title: "List due and the first prompt"
method: POST
path: "/agent/session/next"
---

# List due and the first prompt

`POST /agent/session/next`

## Request

- Base URL: `https://fluidrecall.com/api/v1`
- URL: `https://fluidrecall.com/api/v1/agent/session/next`
- Auth: one of:
  - HTTP bearer
  - HTTP dpop

Routine read. Same queue as listDue, plus the first prompt called out. Prompts only. No answer. Requires a bearer.

## Request body

- object
  - `deckId` string, uuid, nullable
  - `asOf` string, nullable: UTC ISO-8601 timestamp ending in Z
  - `limit` integer
  - `newCardMode` 'daily' | 'extra'
  - `extraNew` integer

## Response `200`

Markdown queue and first prompt.

## Other responses

- `400`: Invalid JSON or fields.
- `401`: Missing or wrong 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)
