GET
/
v2
/
functions
/
{owner_name}
/
{function_name}
/
versions

Authorizations

X-API-Key
string
header
required

The Sieve API key to authenticate with.

Path Parameters

owner_name
string
required

The owner of the function.

function_name
string
required

The name of the function.

Query Parameters

limit
integer
default:
500

The maximum amount of versions to show.

offset
integer
default:
0

Exclude the first N versions.

Response

200 - application/json
build_status
string
required

Build status of the function version. Statuses are 'queued', 'building', 'pushing', 'deploying', 'ready', 'error'

built_at
string | null
required

The UTC time that the function build finished building.

compute_type
string
required

Machine type to use. See possible values for GPU machine types

environment_variables
required

The outputs to a function

function_dependencies
string[]
required

Function dependencies

gpu
boolean
required

Whether this model uses gpu

id
string
required

Id of the model

inputs
object[]
required

The inputs to a function

outputs
object[]
required

The outputs to a function

python_packages
string[]
required

An array of the model's python pip packages

queued_at
string | null
required

The UTC time that the function build is queued.

ready_at
string | null
required

The UTC time that the model is ready to process jobs.

split
integer
required

How many functions to allocate per node

system_packages
string[]
required

An array of the model's system packages

cuda_version
string | null

Cuda Version

current_workers
object | null

The current number and status of the model's workers

maximum_replicas
integer | null
default:
0

The maximum number of replicas of the model. Prevents model replicas from scaling beyond a certain point

minimum_replicas
integer
default:
0

The minimum number of replicas of the model. Scale your model's minimum replicas to avoid cold starts

stream_output
boolean | null
default:
false

Stream output