curl --request POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/deployedModels \
--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 POST \
--url https://api.fireworks.ai/v1/accounts/{account_id}/deployedModels \
--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 header of the form Bearer <token>
, where <token>
is your auth token.
The Account Id
A successful response.
The response is of type object
.
Was this page helpful?