Skip to navigation

Update AppSession

Beta
Update AppSession.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

app_session_idstringRequired
ID of the AppSession.

Headers

EARLY-ACCESSstringOptional

Set to true to access beta operations via /api/v3.

Request

This endpoint expects an object.
messageslist of objectsOptional
Replace the current messages with this list. If omitted, the existing messages are carried forward unchanged.
statusenumOptional

Transition the session to a terminal status (SUCCEEDED, FAILED, or COMPLETED_WITH_WARNINGS).

Allowed values:
timeoutSecondsintegerOptional
New timeout in seconds. Must be greater than or equal to the current timeout.

Response

OK
__typenamestringOptional
appobjectOptional
The Benchling App installation that owns this session.
createdAtstringOptionalformat: "datetime"
idstringOptional
messageslist of objectsOptional
The messages currently displayed to the user, from the most recent session version.
modifiedAtstringOptionalformat: "datetime"
namestringOptional
statusenumOptional
The current lifecycle status of this session, derived from the most recent version.
Allowed values:
timeoutSecondsintegerOptional
Maximum duration in seconds before the session times out automatically. Once the session's age exceeds this value and the session has not been finalized, its status becomes TIMEOUT.

Errors

400
Bad Request Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error