POST
/
v1
/
accounts
/
{account_id}
/
snapshots
Create Snapshot
curl --request POST \
  --url https://api.fireworks.ai/v1/accounts/{account_id}/snapshots \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{}'
{
  "name": "<string>",
  "createTime": "2023-11-07T05:31:56Z",
  "state": "STATE_UNSPECIFIED",
  "status": {
    "code": "OK",
    "message": "<string>"
  },
  "imageRef": "<string>",
  "updateTime": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

account_id
string
required

The Account Id

Body

application/json

The properties of the snapshot being created.

state
enum<string>
default:STATE_UNSPECIFIED

The state of the snapshot.

Available options:
STATE_UNSPECIFIED,
CREATING,
READY,
FAILED,
DELETING
status
object

The status code and message of the snapshot.

Response

200 - application/json

A successful response.

name
string
createTime
string<date-time>

The creation time of the snapshot.

state
enum<string>
default:STATE_UNSPECIFIED

The state of the snapshot.

Available options:
STATE_UNSPECIFIED,
CREATING,
READY,
FAILED,
DELETING
status
object

The status code and message of the snapshot.

imageRef
string

The URI of the container image for this snapshot.

updateTime
string<date-time>

The update time for the snapshot.