Skip to main content
POST
Take a snapshot

Authorizations

Authorization
string
header
required

An API key (fb_live_…)

Body

application/json
name
string
required

Its name.

Required string length: 1 - 100
Pattern: ^[a-z0-9][a-z0-9-]*[a-z0-9]$|^[a-z0-9]$
from
string
required

The sandbox it was taken from.

Required string length: 1 - 255

Response

Success

name
string
required

Its name.

from
string | null
required

The sandbox it was taken from.

image
string | null
required

The image it starts from.

cpu_cores
number
required

vCPUs.

memory_mb
integer
required

Memory, in MB.

exposed_port
integer | null
required

The port its url serves. 8000 unless set.

size_bytes
integer | null
required

Stored size: files, memory and running programs

monthly_cost_usd
number | null
required

What its size costs a month at the storage price; the account's included storage is not split per snapshot

created_at
string<date-time>
required

When it was created.