Create or continue a chat with an agent
Create or continue a chat with an agent
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.
input
Ordered list of user message blocks.
chatId
Existing chat ID to append to; omit to start a new chat.
connectors
Connector selection for this request. Omitting this field is equivalent to {“mode”: “none”}. Only available when “sources” are omitted.
editingTarget
Benchling object (e.g. entry) to edit via a new chat. Not allowed when “chatId” is specified.
sources
Data sources the agent may use.
Response
Task started
pollingUri
taskId
Errors
400
Bad Request Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error