Skip to content

Tuning sessions API

Generated from servtuner commit 5b46cdad0e5c.

Lists tuning sessions.

Status Meaning Body
200 Successful Response array of SessionResource

Start a session. One at a time (409 while another is active): they share the GPU.

Request body: SessionCreate (application/json)

Status Meaning Body
201 Successful Response SessionResource

Returns one tuning session.

Parameter In Type Required Description
session_id path string Yes
Status Meaning Body
200 Successful Response SessionResource
422 Validation Error HTTPValidationError

POST /tuning-sessions/{session_id}/approve

Section titled “POST /tuning-sessions/{session_id}/approve”

Manual mode: run the step the session proposed.

Parameter In Type Required Description
session_id path string Yes
Status Meaning Body
200 Successful Response SessionResource
422 Validation Error HTTPValidationError

Stop issuing steps and free the GPU; a run already started finishes on its own.

Parameter In Type Required Description
session_id path string Yes
Status Meaning Body
200 Successful Response SessionResource
422 Validation Error HTTPValidationError