Flashcards
The flashcards endpoints of the FocusCrew API.
A * marks a required field. Path fields go in the address, query fields after a ?, body fields in JSON.
/api/v1/flashcards/decksYour decks
Every deck with how many cards are new, learning and due now.
| Field | In | Type | Meaning |
|---|---|---|---|
| timezone | query | IANA zone | Which calendar day "today" is. Your account’s zone when omitted. |
MCP tool: list_decks
/api/v1/flashcards/dueCards due in a deck
The study queue of one deck: the cards due now, rendered front and back.
| Field | In | Type | Meaning |
|---|---|---|---|
| deck * | query | uuid | The deck. |
| timezone | query | IANA zone | Which calendar day "today" is. Your account’s zone when omitted. |
MCP tool: due_flashcards
/api/v1/flashcardsAdd a flashcard
A basic card (front and back) or a cloze (`{{c1::…}}` in the front) in one of your decks. Plan limits apply.
| Field | In | Type | Meaning |
|---|---|---|---|
| deckId * | body | uuid | One of your decks. |
| front * | body | string | The question, or the cloze text. |
| back | body | string | The answer; not used by a cloze. |
| type | body | basic | cloze | basic when omitted. |
| tags | body | string[] |
{ "deckId": "…", "front": "Capital of Portugal?", "back": "Lisbon" }MCP tool: add_flashcard