artifact_id
from a card’s metadata.artifact_id, surfaced by a normal
recall call.
Parameters
string
required
From a recall result’s
metadata.artifact_id.'text' | 'url'
default:"text"
text returns the contents, paginated. url returns a presigned download
link instead.integer
default:"0"
Character offset to continue reading from. Used with
mode: "text".mode: "text" (default)
Returns the contents one page at a time. Page size is 51,200 characters.
mode: "url"
Returns a presigned download link.
Content-Disposition: attachment) rather than rendering inline — including
for content types a browser would otherwise open directly, like PDFs or
images.
Notes
Text is bounded per page, not per artifact
Text is bounded per page, not per artifact
A page is capped at 51,200 characters regardless of how large the
underlying artifact is. A multi-megabyte document takes several calls with
increasing
offset to read in full — has_more tells you whether another
page remains.No text extraction from binaries
No text extraction from binaries
mode: "text" works for plain text, JSON, XML, and YAML content. PDFs,
Word and Excel files, and images are not extracted — mode: "text" on one
of these returns not_text, and mode: "url" is the only way to retrieve
it.