Skip to main content
POST
Deprecated. This endpoint relies on a side-effect-based keepalive. New integrations should use POST /api/v2/sessions/{id}/refresh, which extends the sandbox TTL explicitly via the sandbox provider’s REST API.
Sends a heartbeat to keep the session alive. Resets the auto-pause timer so the session won’t be automatically paused due to inactivity. Required scope: sessions:write

Path Parameters

string
required
The session ID (e.g. ses_abc123).

Headers

string
required
Bearer token. Example: Bearer runtm_xxx
string
Scope to an organization.

Response

string
The session ID that received the heartbeat.
string
ISO 8601 estimated time when the session will auto-pause if no further heartbeats are sent.