Fetch bytes from a remote or local source into the pipeline.
Aliases accepted for stage: — acquisition, import, ingest.
Generated from Zyra 0.1.54. See Pipeline Schema for how args keys become CLI flags.
Commands: api · ftp · http · s3 · thredds · vimeo
acquire api
Call a REST API endpoint with headers/params/body. Supports cursor/page pagination.
Options
Arg key |
CLI flag |
Type |
Default |
Description |
|---|---|---|---|---|
|
|
str |
Apply provider-specific defaults (e.g., Limitless lifelogs cursor mapping; Limitless audio download) Choices: |
|
|
|
str |
Target endpoint URL (may be set by preset) |
|
|
|
str |
|
HTTP method (GET, POST, DELETE, PUT, PATCH) |
|
|
path |
|
Output path or ‘-’ for stdout |
|
|
str |
Custom header ‘K: V’ (repeatable) |
|
|
|
str |
Content-Type header (e.g., application/json) |
|
|
|
str |
Convenience auth helper: ‘bearer:$TOKEN’ -> Authorization: Bearer |
|
|
|
str |
URL query parameters as k1=v1&k2=v2 |
|
|
|
str |
Credential slot resolution (repeatable), e.g., token=$API_TOKEN |
|
|
|
str |
Optional dotenv file for resolving @KEY credentials |
|
|
|
str |
Convenience ISO start time; may map to provider param under presets |
|
|
|
str |
Inline JSON string or @path/to/file (JSON or raw) |
|
|
|
str |
|
Pagination mode Choices: |
|
|
str |
|
|
|
|
int |
|
|
|
|
str |
||
|
|
int |
||
|
|
str |
Dot path for list to detect empty page (stops when empty) |
|
|
|
str |
|
|
|
|
str |
|
Dot path to next cursor in response |
|
|
str |
|
Link relation to follow when –paginate link (default: next) |
|
|
bool |
|
Write each page as one JSON line (NDJSON) |
|
|
bool |
|
Pretty-print JSON for single response |
|
|
bool |
|
Stream large/binary responses to output |
|
|
bool |
|
When output is a directory, infer filename from headers/content-type |
|
|
str |
Set Accept header (e.g., audio/ogg) |
|
|
|
str |
Fail if response Content-Type does not contain this value |
|
|
|
bool |
|
Send a HEAD request before GET to validate type/size |
|
|
bool |
|
Attempt HTTP Range resume when possible |
|
|
bool |
|
Show simple byte progress when Content-Length is available |
|
|
bool |
|
Fetch OpenAPI and print required params/headers/body for the resolved operation |
|
|
bool |
|
Validate provided params/headers/body against OpenAPI (prints issues) |
|
|
bool |
|
Exit non-zero when –openapi-validate finds issues |
|
|
str |
Explicit OpenAPI spec URL (json/yaml). Overrides automatic discovery based on –url |
|
|
|
str |
ISO-8601 start time (e.g., 2025-08-01T00:00:00Z) |
|
|
|
str |
ISO-8601 end time (e.g., 2025-08-01T02:00:00Z) |
|
|
|
str |
ISO-8601 duration for limitless-audio preset (e.g., PT2H, PT30M) |
|
|
|
str |
Limitless audio source (maps to audioSource) Choices: |
|
|
|
int |
|
|
|
|
int |
|
|
|
|
float |
|
|
|
|
bool |
|
Do not exit non-zero for HTTP >= 400 |
|
|
bool |
|
Verbose logging for this command |
|
|
bool |
|
Quiet logging for this command |
|
|
bool |
|
Shell-style trace of key steps and external commands |
Chaining: writes via --output.
acquire ftp
Fetch files via FTP (single path or batch). Optionally list or sync directories to a local folder.
Positionals
Arg key |
Required |
Type |
Usable in a pipeline stage? |
|---|---|---|---|
|
yes |
str |
yes |
Options
Arg key |
CLI flag |
Type |
Default |
Description |
|---|---|---|---|---|
|
|
path |
|
Output path or ‘-’ for stdout |
|
|
bool |
|
List files in an FTP directory |
|
|
str |
Sync FTP directory to a local directory |
|
|
|
str |
Regex to filter list/sync |
|
|
|
str |
ISO date filter for list/sync |
|
|
|
str |
ISO-8601 duration for lookback (e.g., P1Y, P6M, P7D, PT24H) |
|
|
|
str |
ISO date filter for list/sync |
|
|
|
str |
Filename date format for filtering (e.g., YYYYMMDD) |
|
|
|
path |
Multiple FTP paths to fetch |
|
|
|
path |
Path to a file listing FTP paths (one per line) |
|
|
|
path |
Directory to write outputs for –inputs |
|
|
|
bool |
|
Verbose logging for this command |
|
|
bool |
|
Quiet logging for this command |
|
|
bool |
|
Shell-style trace of key steps and external commands |
|
|
str |
FTP username (alias for –credential user=…) |
|
|
|
str |
FTP password (alias for –credential password=…) |
|
|
|
str |
Credential slot resolution (repeatable), e.g., ‘user=@FTP_USER’ or ‘password=$FTP_PASS’ |
|
|
|
str |
Optional dotenv file for resolving @KEY credentials |
|
|
|
bool |
|
Replace local files unconditionally regardless of timestamps |
|
|
bool |
|
Compare file sizes when timestamps are unavailable |
|
|
str |
Threshold for replacement (absolute bytes or relative percentage) |
|
|
|
bool |
|
Always prioritize remote versions over local copies |
|
|
bool |
|
Use frames-meta.json timestamps for comparison |
|
|
bool |
|
Skip files that have a .done marker file |
|
|
bool |
|
Re-download files lacking companion metadata in frames-meta.json |
|
|
path |
Path to frames-meta.json for metadata-aware sync operations |
Chaining: writes via --output.
acquire http
Fetch a file via HTTP(S) to a local path. Optionally list/filter directory pages, or fetch multiple URLs with –inputs/–manifest.
Positionals
Arg key |
Required |
Type |
Usable in a pipeline stage? |
|---|---|---|---|
|
yes |
str |
yes |
Options
Arg key |
CLI flag |
Type |
Default |
Description |
|---|---|---|---|---|
|
|
path |
|
Output path or ‘-’ for stdout |
|
|
bool |
|
List links on a directory page |
|
|
str |
Regex to filter listed links |
|
|
|
str |
ISO date filter for list mode |
|
|
|
str |
ISO-8601 duration for lookback (e.g., P1Y, P6M, P7D, PT24H) |
|
|
|
str |
ISO date filter for list mode |
|
|
|
str |
Filename date format for list filtering (e.g., YYYYMMDD) |
|
|
|
path |
Multiple HTTP URLs to fetch |
|
|
|
path |
Path to a file listing URLs (one per line) |
|
|
|
path |
Directory to write outputs for –inputs |
|
|
|
bool |
|
Verbose logging for this command |
|
|
bool |
|
Quiet logging for this command |
|
|
bool |
|
Shell-style trace of key steps and external commands |
|
|
str |
Add custom HTTP header ‘Name: Value’ (repeatable) |
|
|
|
str |
Convenience auth helper: ‘bearer:$TOKEN’ -> Authorization: Bearer |
|
|
|
str |
Credential slot resolution (repeatable), e.g., ‘token=$API_TOKEN’ or ‘header.Authorization=@EUMETSAT_TOKEN’ |
|
|
|
str |
Optional dotenv file for resolving @KEY credentials |
Chaining: writes via --output.
Example stage
- stage: acquire
command: http
args:
url: "https://example.com/file.bin"
output: "/tmp/file.bin"
acquire s3
Fetch objects from Amazon S3 via s3:// URL or bucket/key. Supports unsigned access, listing prefixes, and batch via –inputs/–manifest.
Options
Arg key |
CLI flag |
Type |
Default |
Description |
|---|---|---|---|---|
|
|
str |
Full URL s3://bucket/key |
|
|
|
str |
Bucket name |
|
|
|
str |
Object key (when using –bucket) |
|
|
|
bool |
|
Use unsigned access for public buckets |
|
|
bool |
|
List keys under a prefix |
|
|
str |
Regex to filter listed keys |
|
|
|
str |
ISO date filter for list mode |
|
|
|
str |
ISO-8601 duration for lookback (e.g., P1Y, P6M, P7D, PT24H) |
|
|
|
str |
ISO date filter for list mode |
|
|
|
str |
Filename date format for list filtering (e.g., YYYYMMDD) |
|
|
|
path |
Multiple s3:// URLs to fetch |
|
|
|
path |
Path to a file listing s3:// URLs (one per line) |
|
|
|
path |
Directory to write outputs for –inputs |
|
|
|
path |
|
Output path or ‘-’ for stdout |
|
|
bool |
|
Verbose logging for this command |
|
|
bool |
|
Quiet logging for this command |
|
|
bool |
|
Shell-style trace of key steps and external commands |
Chaining: writes via --output.
acquire thredds
Read a THREDDS catalog.xml, map datasets to fileServer download URLs, and list, sync, or fetch matching datasets. Optionally recurse into nested catalogRef entries.
Positionals
Arg key |
Required |
Type |
Usable in a pipeline stage? |
|---|---|---|---|
|
yes |
str |
no — see note |
Not pipeline-addressable. The runner has no positional mapping for this command, so
catalog_urlwould be emitted as a--flagand rejected by argparse. Use this command from the CLI, or open an issue to add the mapping.
Options
Arg key |
CLI flag |
Type |
Default |
Description |
|---|---|---|---|---|
|
|
path |
|
Output path or ‘-’ for stdout |
|
|
bool |
|
List fileServer download URLs for matching datasets |
|
|
str |
Sync matching datasets to a local directory |
|
|
|
path |
Directory to write outputs when fetching enumerated datasets. Files are named by dataset basename, so datasets sharing a basename across catalog folders/hosts overwrite each other (as with s3/ftp). |
|
|
|
bool |
|
Follow nested catalogRef entries |
|
|
int |
|
Maximum recursion depth for –recursive (default: 3) |
|
|
str |
Regex to filter dataset urlPath |
|
|
|
str |
ISO date filter (matched against dataset name) |
|
|
|
str |
ISO-8601 duration for lookback (e.g., P1Y, P6M, P7D, PT24H) |
|
|
|
str |
ISO date filter (matched against dataset name) |
|
|
|
str |
strftime tokens for parsing dates in dataset names (e.g., %%Y%%m%%d). Aliases like ‘YYYYMMDD’ are not supported. |
|
|
|
str |
Add custom HTTP header ‘Name: Value’ (repeatable) |
|
|
|
str |
Convenience auth helper: ‘bearer:$TOKEN’ -> Authorization: Bearer |
|
|
|
str |
Credential slot resolution (repeatable), e.g., ‘token=$API_TOKEN’ or ‘header.Authorization=@EUMETSAT_TOKEN’ |
|
|
|
str |
Optional dotenv file for resolving @KEY credentials |
|
|
|
bool |
|
Verbose logging for this command |
|
|
bool |
|
Quiet logging for this command |
|
|
bool |
|
Shell-style trace of key steps and external commands |
|
|
bool |
|
Replace local files unconditionally |
|
|
bool |
|
Compare sizes via HTTP Content-Length when deciding to re-download |
|
|
str |
Threshold for replacement (absolute bytes or relative percentage) |
|
|
|
bool |
|
Always prioritize remote versions over local copies |
|
|
bool |
|
Skip files that have a .done marker file |
acquire vimeo
Placeholder for fetching Vimeo videos by id. Not implemented yet.
Positionals
Arg key |
Required |
Type |
Usable in a pipeline stage? |
|---|---|---|---|
|
yes |
str |
no — see note |
Not pipeline-addressable. The runner has no positional mapping for this command, so
video_idwould be emitted as a--flagand rejected by argparse. Use this command from the CLI, or open an issue to add the mapping.
Options
Arg key |
CLI flag |
Type |
Default |
Description |
|---|---|---|---|---|
|
|
path |
|
Output path or ‘-’ for stdout |
|
|
bool |
|
Verbose logging for this command |
|
|
bool |
|
Quiet logging for this command |
|
|
bool |
|
Shell-style trace of key steps and external commands |
Chaining: writes via --output.