# Extend session duration Extends the maximum duration of an open production session. Requires JWT token authentication in the Authorization header. Only the session owner can extend it. Session must be open. Endpoint: POST /api/control/production/sessions/{sessionId}/extend Version: 2.0.0 Security: bearerAuth ## Path parameters: - `sessionId` (string, required) Session identifier (unique identifier) Example: "6507f1e3c9d8e2a4b1f9c3d5" ## Request fields (application/json): - `auth0Id` (string, required) User identifier (internal use, derived from JWT token) Example: "user_123456789" - `maxDurationHours` (integer, required) New maximum duration in hours Example: 18 ## Response 200 fields (application/json): - `status` (string) Example: "success" - `data` (object) - `data.maxDurationHours` (integer) Example: 18 ## Response 400 fields (application/json): - `status` (string) Example: "error" - `message` (string) Example: "Error message description" - `error` (string) Example: "Detailed error information" ## Response 401 fields (application/json): - `status` (string) Example: "error" - `message` (string) Example: "Error message description" - `error` (string) Example: "Detailed error information" ## Response 403 fields (application/json): - `status` (string) Example: "error" - `message` (string) Example: "Error message description" - `error` (string) Example: "Detailed error information" ## Response 404 fields (application/json): - `status` (string) Example: "error" - `message` (string) Example: "Error message description" - `error` (string) Example: "Detailed error information" ## Response 409 fields (application/json): - `status` (string) Example: "error" - `message` (string) Example: "Error message description" - `error` (string) Example: "Detailed error information" ## Response 500 fields (application/json): - `status` (string) Example: "error" - `message` (string) Example: "Error message description" - `error` (string) Example: "Detailed error information"