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.

View as Markdown

Listing Captures

xale_find_captures returns recent Captures, 20 by default, up to 50; archived ones only with includeArchived: true.

FieldWhat it is
id, titleThe Capture
mediaTypelink, image or video. A video link can appear as link. Previously saved items can still return file or audio.
statusWhere it is: processing while Xale reads it, ready, or filed once it has become something else
urlThe saved address, for a link
snippetUp to 300 characters
sourceMetadatasiteName, title, description, imageUrl
mediaMetadatamediaType, channelName, durationSec, transcriptAvailable, a summary up to 500 characters
areaIds, linkedPersonIds, linkedProjectIdsLinks

Reading what's inside

xale_read_capture returns what Xale extracted:

FieldWhat it is
contextDepthcontent when there's extracted content; metadata when only details exist
contentKindextractedText, ocrText, transcript, summary, or pdf-pages
contentThe text, up to 16,000 characters
pagesFor a previously saved PDF: up to 20 pages, up to 4,000 characters each, 16,000 in all
url, sourceMetadataWhere 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.

xale_save_link: 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:

json
{ "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_capture, which moves it to Trash.

Limits

Captures are Pro in the app; Pro allows 10,000.

  • Checked against main 54e7f838

Was this helpful?

captures-links-and-filing.md · main@c1725f34