For the complete documentation index, see llms.txt. This page is also available as Markdown.

fetch_data_from_storage()

fetch_data_from_storage()

Download or fetch a stored entry's content

What you get back depends on the storage backend: a GCS-backed entry returns the local filesystem path to the downloaded file (an auto-extracted directory if it was a zip); an entry spread across multiple storage locations returns a list of paths; an inline (raw_content / pg_table) entry returns its content directly; and a missing or empty entry returns null. Backend errors or unsupported storage types raise an error.

Arguments

{
  "data_storage_id": "019cd179-8d61-7f65-a79c-b965dda9eac3"
}

Returns

RawFetchResponse, a Path, a list of Paths, or null.

{
  "filename": "string",
  "content": "string",
  "entry_id": "019cd179-8d61-7f65-a79c-b965dda9eac3",
  "entry_name": "string"
}

Last updated