RolloutService
Preview rollout defaults
Changed onReturns the values a create request would pick for any field left unset, plus the capacity context needed to display them, without creating a rollout. Responses are display state only and re-validated authoritatively at create and start; do not copy response values back into a create request.
post/v2/projects/{projectId}/endpoints/{endpointId}/rollouts/preview-defaults
Request
- Base URLhttps://api.together.ai
- URLhttps://api.together.ai/v2/projects/{projectId}/endpoints/{endpointId}/rollouts/preview-defaults
- AuthHTTP bearer
Path parameters
projectIdstring required
Project identifier.
endpointIdstring required
Endpoint identifier.
Request body
Response
OK
Example response
{
"spec": {
"sourceDeploymentId": "dep_source123",
"targetDeploymentId": "dep_target456",
"canary": {
"steps": [
{
"traffic": 25
},
{
"traffic": 50
},
{
"traffic": 100
}
],
"stepInterval": "300s"
},
"metrics": [
{
"name": "router_latency",
"stat": "METRIC_STAT_TYPE_PERCENTILE",
"percentile": 95,
"thresholdCheck": {
"value": 30000,
"operator": "THRESHOLD_OPERATOR_LT"
},
"window": "300s"
}
]
},
"sourceReplicas": 4,
"targetReplicas": 1,
"targetMinReplicas": 1,
"targetMaxReplicas": 8,
"warnings": [],
"frozenPair": false
}Changes
- info
endpoint added
- info