Skip to main content
Use this endpoint to reset the inactivity timer on a running capsule. When a capsule is created with a non-zero timeout_sec, Wrenn automatically pauses it after that many seconds with no exec calls. Calling ping updates the last_active_at timestamp, restarting the countdown. Use it as a keepalive when your application is holding a capsule open but not actively executing commands.
If timeout_sec is 0 (auto-pause disabled), this endpoint still accepts the request and returns 204 — it simply has no effect on the TTL.

Endpoint

Authentication

Pass your API key in the X-API-Key header.

Path parameters

string
required
The ID of the capsule to ping (e.g., cl-abc123). The capsule must be in running status.

Response

Returns 204 No Content on success. The response body is empty. The capsule’s last_active_at timestamp is updated server-side.

curl

Python SDK

You can set up a periodic keepalive in a background thread or async task:

Error responses