Xale's model Memories
Captures Links and filing
List Captures, read their extracted content and file them after the person agrees. Captures can hold saved web links, video links and images, and the read tools also cover previously saved documents and audio.
Listing Captures
xale_ returns recent Captures, 20 by default, up to 50; archived ones only with includeArchived: true.
| Field | What it is |
|---|---|
id, title | The Capture |
mediaType | link, image or video. A video link can appear as link. Previously saved items can still return file or audio. |
status | Where it is: processing while Xale reads it, ready, or filed once it has become something else |
url | The saved address, for a link |
snippet | Up to 300 characters |
sourceMetadata | siteName, title, description, imageUrl |
mediaMetadata | mediaType, channelName, durationSec, transcriptAvailable, a summary up to 500 characters |
areaIds, linkedPersonIds, linkedProjectIds | Links |
Reading what's inside
xale_ returns what Xale extracted:
| Field | What it is |
|---|---|
contextDepth | content when there's extracted content; metadata when only details exist |
contentKind | extractedText, ocrText, transcript, summary, or pdf-pages |
content | The text, up to 16,000 characters |
pages | For a previously saved PDF: up to 20 pages, up to 4,000 characters each, 16,000 in all |
url, sourceMetadata | Where it came from |
A link Capture keeps the address, not the page. To know what's there now, open the url with your own tools.
For images, Xale can return OCR of legible text when it has extracted it. For documents already saved in Captures, the reader can return any stored extracted text. The owner can download the original in Xale.
Saving a link
xale_: url (http or https, up to 2,000 characters), title (up to 200), optional note (up to 200: why it's worth keeping, or a one-line summary if you opened it), optional areaIds, people, projects, and a requestId. It returns the Capture's id and a link to Captures in Xale.
Filing
Once a Capture has become a Note, Task, Habit or Mindmap, with the person's yes, mark it filed:
{ "id": "cap_71fa", "filedAsKind": "note", "filedAsId": "note_3b0c", "summary": "Ten-minute guide to pruning tomato plants; the person wants to try the sucker method." }summary (up to 300 characters) replaces the Capture's snippet in Xale, so keep the person's own words from the snippet in it. Nothing is removed. To clear a Capture away instead, use the removal archive_, which moves it to Trash.
Limits
Captures are Pro in the app; Pro allows 10,000.
- Checked against main
54e7f838