curl --request PATCH \
--url https://api.fireworks.ai/v1/accounts/{account_id}/deployedModels/{deployed_model_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayName": "<string>",
"description": "<string>",
"model": "<string>",
"deployment": "<string>",
"default": true,
"serverless": true,
"public": true
}
'{
"name": "<string>",
"displayName": "<string>",
"description": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"model": "<string>",
"deployment": "<string>",
"default": true,
"state": "STATE_UNSPECIFIED",
"serverless": true,
"status": {
"code": "OK",
"message": "<string>"
},
"public": true,
"updateTime": "2023-11-07T05:31:56Z"
}curl --request PATCH \
--url https://api.fireworks.ai/v1/accounts/{account_id}/deployedModels/{deployed_model_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"displayName": "<string>",
"description": "<string>",
"model": "<string>",
"deployment": "<string>",
"default": true,
"serverless": true,
"public": true
}
'{
"name": "<string>",
"displayName": "<string>",
"description": "<string>",
"createTime": "2023-11-07T05:31:56Z",
"model": "<string>",
"deployment": "<string>",
"default": true,
"state": "STATE_UNSPECIFIED",
"serverless": true,
"status": {
"code": "OK",
"message": "<string>"
},
"public": true,
"updateTime": "2023-11-07T05:31:56Z"
}Bearer authentication using your Fireworks API key. Format: Bearer <API_KEY>
The Account Id
The Deployed Model Id
The properties of the deployed model being updated. deployed_model.name must
be populated with the updated resource's name.
Description of the resource.
The resource name of the base deployment the model is deployed to.
If true, this is the default target when querying this model without
the #<deployment> suffix.
The first deployment a model is deployed to will have this field set to true.
If true, the deployed model will be publicly reachable.
A successful response.
Description of the resource.
The creation time of the resource.
The resource name of the base deployment the model is deployed to.
If true, this is the default target when querying this model without
the #<deployment> suffix.
The first deployment a model is deployed to will have this field set to true.
The state of the deployed model.
STATE_UNSPECIFIED, UNDEPLOYING, DEPLOYING, DEPLOYED, UPDATING Contains model deploy/undeploy details.
Show child attributes
The status code.
OK, CANCELLED, UNKNOWN, INVALID_ARGUMENT, DEADLINE_EXCEEDED, NOT_FOUND, ALREADY_EXISTS, PERMISSION_DENIED, UNAUTHENTICATED, RESOURCE_EXHAUSTED, FAILED_PRECONDITION, ABORTED, OUT_OF_RANGE, UNIMPLEMENTED, INTERNAL, UNAVAILABLE, DATA_LOSS A developer-facing error message in English.
If true, the deployed model will be publicly reachable.
The update time for the deployed model.
Was this page helpful?