Pause or Resume Serving
pause_servingPause a serving to stop billing and request handling, or resume it to restart both. Resuming requires an explicit confirm step before billing restarts.
Instructions
Pause (paused=true) or resume (paused=false) a serving. Paused servings stop billing and stop answering requests. Resuming restarts billing, so paused=false with confirm=false (default) only returns the serving's current state; call again with confirm=true after the user agreed. Pausing needs no confirmation. Every write requires operation_id. Reuse the ID returned by the preview, or generate a UUID before the first call. Keep it for confirmation and all retries; a new ID means a new operation. After a timeout, check operation_status and resource state before retrying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paused | No | ||
| confirm | No | ||
| serving | Yes | ||
| operation_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||