Create AppSession
Create AppSession.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
EARLY-ACCESS
Set to true to access beta operations via /api/v3.
Request
This endpoint expects an object.
appId
API ID of the Benchling App that owns this session.
name
Human-readable name for this session.
timeoutSeconds
Maximum session duration in seconds before automatic timeout (1 to 2592000).
messages
Initial messages to display. If omitted, the session starts with no messages.
Response
Created
__typename
app
The Benchling App installation that owns this session.
createdAt
id
messages
The messages currently displayed to the user, from the most recent session version.
modifiedAt
name
status
The current lifecycle status of this session, derived from the most recent version.
Allowed values:
timeoutSeconds
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
App Session Create Request Bad Request Error
403
App Session Create Request Forbidden Error
404
App Session Create Request Not Found Error
409
App Session Create Request Conflict Error
429
App Session Create Request Too Many Requests Error
500
App Session Create Request Internal Server Error