DeploymentService
Get a deployment
Changed onRetrieves a deployment's desired configuration, placement, runtime information, and current provisioning status.
get/v2/projects/{projectId}/endpoints/{endpointId}/deployments/{id}
Request
- Base URLhttps://api.together.ai
- URLhttps://api.together.ai/v2/projects/{projectId}/endpoints/{endpointId}/deployments/{id}
- AuthHTTP bearer
Path parameters
projectIdstring required
Project identifier.
endpointIdstring required
Endpoint identifier.
idstring required
Deployment identifier.
Response
OK
Example response
{
"autoscaling": {
"scaleUp": {
"policies": [
{
"type": "SCALING_POLICY_TYPE_PERCENT",
"value": 25,
"periodSeconds": 60
},
{
"type": "SCALING_POLICY_TYPE_PODS",
"value": 10,
"periodSeconds": 60
}
],
"selectPolicy": "SCALING_POLICY_SELECT_MIN"
},
"scaleDown": {
"policies": [
{
"type": "SCALING_POLICY_TYPE_PERCENT",
"value": 25,
"periodSeconds": 60
},
{
"type": "SCALING_POLICY_TYPE_PODS",
"value": 10,
"periodSeconds": 60
}
],
"selectPolicy": "SCALING_POLICY_SELECT_MIN"
}
}
}Changes
- info
endpoint added
- info