from together import Together
client = Together()
deployments = client.beta.jig.list()
print(deployments){
"data": [
{
"args": [
"<string>"
],
"autoscaling": {},
"command": [
"<string>"
],
"cpu": 123,
"created_at": "<string>",
"description": "<string>",
"desired_replicas": 123,
"environment_variables": [
{
"name": "<string>",
"value": "<string>",
"value_from_secret": "<string>"
}
],
"gpu_count": 123,
"gpu_type": "h100-80gb",
"health_check_path": "<string>",
"id": "<string>",
"image": "<string>",
"max_replicas": 123,
"memory": 123,
"min_replicas": 123,
"name": "<string>",
"object": "<unknown>",
"port": 123,
"ready_replicas": 123,
"replica_events": {},
"status": "Updating",
"storage": 123,
"updated_at": "<string>",
"volumes": [
{
"mount_path": "<string>",
"name": "<string>"
}
]
}
],
"object": "<unknown>"
}Get a list of all deployments in your project
from together import Together
client = Together()
deployments = client.beta.jig.list()
print(deployments){
"data": [
{
"args": [
"<string>"
],
"autoscaling": {},
"command": [
"<string>"
],
"cpu": 123,
"created_at": "<string>",
"description": "<string>",
"desired_replicas": 123,
"environment_variables": [
{
"name": "<string>",
"value": "<string>",
"value_from_secret": "<string>"
}
],
"gpu_count": 123,
"gpu_type": "h100-80gb",
"health_check_path": "<string>",
"id": "<string>",
"image": "<string>",
"max_replicas": 123,
"memory": 123,
"min_replicas": 123,
"name": "<string>",
"object": "<unknown>",
"port": 123,
"ready_replicas": 123,
"replica_events": {},
"status": "Updating",
"storage": 123,
"updated_at": "<string>",
"volumes": [
{
"mount_path": "<string>",
"name": "<string>"
}
]
}
],
"object": "<unknown>"
}Was this page helpful?