Skip to content

agnify file

Download the first-frame PNG for an upload and print its local path.

Follows the presigned redirect emitted by GET /api/v1/files/{id}/frame; no Authorization header is sent to the presigned S3 URL itself.

Usage

Terminal window
agnify file frame [OPTIONS] FILE_ID

Arguments

NameDescription
FILE_IDFile id, or a unique id prefix (≥4 chars).

Options

FlagDescription
--out-dirDirectory to write the frame into. Defaults to a temp dir.

List the active org’s uploaded files, newest first.

Wraps GET /api/v1/vms/uploads. Feed a printed file_id to agnify run create --file-id <id> to run a pipeline against an already-uploaded video without re-uploading it. --type image lists the images available as reference images on a node or a State Classifier category.

Usage

Terminal window
agnify file ls [OPTIONS]

Options

FlagDescription
--limit, -nMax rows to render (default 50; server caps at 200). (default: 50)
--offsetSkip N rows (default 0).
--typeOnly list one kind: ‘video’ or ‘image’.

Upload a local file. Prints the file_id other commands reference.

Usage

Terminal window
agnify file upload PATH

Arguments

NameDescription
PATHLocal path to a video or image to upload.