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
| Name | Type | Description |
|---|---|---|
| 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 https://cotlet.dev/api/v1/remnote/cards \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("remnote", "list_cards") const result = await cotlet.call('remnote', 'list_cards'); cotlet call remnote list_cards Example response
{
"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
}