List Function Versions
Get all versions of the given function.
GET
/
v2
/
functions
/
{owner_name}
/
{function_name}
/
versions
Copy
Ask AI
curl --request GET \
--url https://mango.sievedata.com/v2/functions/{owner_name}/{function_name}/versions \
--header 'X-API-Key: <api-key>'
Copy
Ask AI
[
{
"id": "<string>",
"build_status": "<string>",
"queued_at": "2024-12-15T01:41:59.195000",
"built_at": "2024-12-15T01:41:59.195000",
"ready_at": "2024-12-15T01:41:59.195000",
"compute_type": "<string>",
"python_packages": [
"<string>"
],
"system_packages": [
"<string>"
],
"cuda_version": "<string>",
"gpu": true,
"split": 123,
"minimum_replicas": 0,
"maximum_replicas": 123,
"inputs": [
{
"type": "<string>",
"name": "<string>",
"data": "<any>",
"description": "<string>",
"schema": {},
"run_id": "<string>",
"is_optional": true
}
],
"outputs": [
{
"type": "<string>",
"name": "<string>",
"data": "<any>",
"description": "<string>",
"schema": {},
"run_id": "<string>",
"is_optional": true
}
],
"current_workers": {
"starting": 123,
"setup": 123,
"active": 123,
"idle": 123,
"awaiting_resources": 123
},
"environment_variables": [
{
"name": "<string>",
"description": "<string>",
"default": "<string>"
}
],
"stream_output": true,
"function_dependencies": [
"<string>"
]
}
]
Authorizations
The Sieve API key to authenticate with.
Path Parameters
The owner of the function.
Examples:
"sieve"
The name of the function.
Examples:
"retalker"
Query Parameters
The maximum amount of versions to show.
Exclude the first N versions.
Response
200
application/json
Successful Response
The response is of type Version · object[]
.
Was this page helpful?
Copy
Ask AI
curl --request GET \
--url https://mango.sievedata.com/v2/functions/{owner_name}/{function_name}/versions \
--header 'X-API-Key: <api-key>'
Copy
Ask AI
[
{
"id": "<string>",
"build_status": "<string>",
"queued_at": "2024-12-15T01:41:59.195000",
"built_at": "2024-12-15T01:41:59.195000",
"ready_at": "2024-12-15T01:41:59.195000",
"compute_type": "<string>",
"python_packages": [
"<string>"
],
"system_packages": [
"<string>"
],
"cuda_version": "<string>",
"gpu": true,
"split": 123,
"minimum_replicas": 0,
"maximum_replicas": 123,
"inputs": [
{
"type": "<string>",
"name": "<string>",
"data": "<any>",
"description": "<string>",
"schema": {},
"run_id": "<string>",
"is_optional": true
}
],
"outputs": [
{
"type": "<string>",
"name": "<string>",
"data": "<any>",
"description": "<string>",
"schema": {},
"run_id": "<string>",
"is_optional": true
}
],
"current_workers": {
"starting": 123,
"setup": 123,
"active": 123,
"idle": 123,
"awaiting_resources": 123
},
"environment_variables": [
{
"name": "<string>",
"description": "<string>",
"default": "<string>"
}
],
"stream_output": true,
"function_dependencies": [
"<string>"
]
}
]
Assistant
Responses are generated using AI and may contain mistakes.