Skip to main content
POST
/
sdk
/
v1
/
runs
/
{runID}
/
resources
Report resource utilization
curl --request POST \
  --url https://api.strait.dev/sdk/v1/runs/{runID}/resources \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "cpu_percent": 123,
  "memory_mb": 123,
  "memory_percent": 123
}
'
{}

Documentation Index

Fetch the complete documentation index at: https://docs.strait.dev/llms.txt

Use this file to discover all available pages before exploring further.

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_mb
number<double>
required
memory_percent
number<double>
required

Response

OK

{key}
string