Skip to main content
POST
Save a resource snapshot

Authorizations

Authorization
string
header
required

API key passed as Bearer token

Path Parameters

runID
string
required

Body

application/json
cpu_percent
number<double>
required
memory_limit_mb
number<double>
required
memory_mb
number<double>
required
network_rx_bytes
integer<int64>
required
network_tx_bytes
integer<int64>
required

Response

OK

cpu_percent
number<double>
required
created_at
string<date-time>
required
id
string
required
memory_limit_mb
number<double>
required
memory_mb
number<double>
required
network_rx_bytes
integer<int64>
required
network_tx_bytes
integer<int64>
required
run_id
string
required
$schema
string<uri>
read-only

A URL to the JSON Schema for this object.

Example:

"https://api.strait.dev/schemas/RunResourceSnapshot.json"