List cards

Flashcards from the Cards Table, filtered by document, text or enabled state.

GET https://cotlet.dev/api/v1/remnote/cards

read

Lists flashcards the way the Cards Table does, with their front, back and whether they are enabled or due. Filter by document, by words in the card or by enabled state. Use it to find duplicates or cards with no answer before adding more.

Parameters

Parameters: list_cards
NameTypeDescription
document_id string string Only cards in this document or folder.
contains string string Only cards that contain this text.
enabled boolean boolean true or false filters on enabled state.
limit integer integer 1 to 100. Default: 50.
cursor string string Next page cursor from the previous call.

Request

cURL
curl https://cotlet.dev/api/v1/remnote/cards \
  -H "Authorization: Bearer $COTLET_API_KEY"
Python
result = client.call("remnote", "list_cards")
Node.js
const result = await cotlet.call('remnote', 'list_cards');
CLI
cotlet call remnote list_cards

Example response

JSON

{
  "cards": [
    {
      "card_id": "cd_5521",
      "document": "Krebs cycle",
      "type": "basic",
      "front": "Citrate",
      "back": "First product of the cycle",
      "enabled": true,
      "due": true
    }
  ],
  "next_cursor": null
}

Sign in once. Your agent does the rest.

Sign up and add the apps you need. Free 7-day trial with 2,000 credits, no card needed.