Update RunningSession

Modify a RunningSession to elastically run a TrainedModel

put/running_sessions/{running_session_id}

Request

  • Base URL
    https://darwin.v7labs.com/ai
  • URL
    https://darwin.v7labs.com/ai/running_sessions/{running_session_id}
  • Auth
    API key in header Authorization

Path parameters

running_session_idstring required

The ID of the RunningSession to update

Request body

mininteger

The minimum number of instances to run for the TrainedModel

maxinteger

The maximum number of instances to run for the given TrainedModel, should the model need to scale up

Response

200

access_levelstring
devicestring
idstring
inserted_atstring
maxinteger
metaobject
mininteger
namestring
team_idinteger
trained_model_idstring
updated_atstring

Example response

{
  "access_level": "private",
  "device": "cpu",
  "id": "5c825aa8-d4d4-40c6-9c8c-46d9f9792c1c",
  "inserted_at": "2020-10-13T16:36:00",
  "max": 2,
  "min": 1,
  "name": "My Running Session",
  "team_id": 123,
  "trained_model_id": "1703d9ea-5c19-4cd6-84e9-ec30b921817b",
  "updated_at": "2020-10-13T16:36:00"
}

Changes

No recorded changes to this operation across all 1 revision of this API.