Deployments
Undelete Deployment
Deployments
Undelete Deployment
POST
/
v1
/
accounts
/
{account_id}
/
deployments
/
{deployment_id}
:undelete
curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/deployments/{deployment_id}:undelete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'
{
"name": "<string>",
"displayName": "<string>",
"description": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"expireTime": "2023-11-07T05:31:56Z",
"purgeTime": "2023-11-07T05:31:56Z",
"deleteTime": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"state": "STATE_UNSPECIFIED",
"status": {
"code": "OK",
"message": "<string>"
},
"minReplicaCount": 123,
"maxReplicaCount": 123,
"replicaCount": 123,
"autoscalingPolicy": {
"scaleUpWindow": "<string>",
"scaleDownWindow": "<string>",
"scaleToZeroWindow": "<string>",
"loadTargets": {}
},
"baseModel": "<string>",
"acceleratorCount": 123,
"acceleratorType": "ACCELERATOR_TYPE_UNSPECIFIED",
"precision": "PRECISION_UNSPECIFIED",
"cluster": "<string>",
"enableAddons": true,
"draftTokenCount": 123,
"draftModel": "<string>",
"ngramSpeculationLength": 123,
"numPeftDeviceCached": 123,
"deploymentTemplate": "<string>",
"autoTune": {
"longPrompt": true
},
"region": "REGION_UNSPECIFIED",
"engine": "ENGINE_UNSPECIFIED",
"updateTime": "2023-11-07T05:31:56Z",
"forTraining": true
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The Account Id
The Deployment Id
Body
application/json · object
Response
200 - application/json
A successful response.
The response is of type object
.
Was this page helpful?
curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/deployments/{deployment_id}:undelete \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{}'
{
"name": "<string>",
"displayName": "<string>",
"description": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"expireTime": "2023-11-07T05:31:56Z",
"purgeTime": "2023-11-07T05:31:56Z",
"deleteTime": "2023-11-07T05:31:56Z",
"createdBy": "<string>",
"state": "STATE_UNSPECIFIED",
"status": {
"code": "OK",
"message": "<string>"
},
"minReplicaCount": 123,
"maxReplicaCount": 123,
"replicaCount": 123,
"autoscalingPolicy": {
"scaleUpWindow": "<string>",
"scaleDownWindow": "<string>",
"scaleToZeroWindow": "<string>",
"loadTargets": {}
},
"baseModel": "<string>",
"acceleratorCount": 123,
"acceleratorType": "ACCELERATOR_TYPE_UNSPECIFIED",
"precision": "PRECISION_UNSPECIFIED",
"cluster": "<string>",
"enableAddons": true,
"draftTokenCount": 123,
"draftModel": "<string>",
"ngramSpeculationLength": 123,
"numPeftDeviceCached": 123,
"deploymentTemplate": "<string>",
"autoTune": {
"longPrompt": true
},
"region": "REGION_UNSPECIFIED",
"engine": "ENGINE_UNSPECIFIED",
"updateTime": "2023-11-07T05:31:56Z",
"forTraining": true
}