sandboxes

Get sandbox resource usage

Changed on

Get current sandbox resource usage and quota limits for the workspace

get/api/v2/sandboxes/usage

Request

  • Base URL
    https://api.smith.langchain.com
  • URL
    https://api.smith.langchain.com/api/v2/sandboxes/usage
  • Auth
    • API key in header X-API-Key
    • or API key in header X-Tenant-Id
    • or HTTP bearer
    • or X-Service-Key (a scheme the document does not define)

Response

OK

cpu_limit_millicoresinteger
cpu_used_millicoresinteger
memory_limit_bytesinteger
memory_used_bytesinteger
pools_countinteger
registries_countinteger
sandbox_direct_countinteger
sandbox_pool_replicas_countinteger
sandbox_running_countinteger
sandbox_stopped_countinteger
sandboxes_limitinteger
sandboxes_usedinteger
snapshots_countinteger
templates_countinteger

Changes