Skip to main content
Download a file component of the ONNX model.

POST /revisions/:id/data/query (Command: download)

Request Body

ParameterTypeRequiredDescription
enginestringYesMust be onnx.
commandstringYesMust be download.
pathstringYesFile to download (e.g., model.onnx).

Response

ParameterTypeDescription
urlstringPresigned S3 URL to download from.

Example

{
  "engine": "onnx",
  "command": "download",
  "path": "model.onnx"
}
{
  "url": "https://s3.amazonaws.com/..."
}