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 “agent” and “sources” are omitted.
editingTarget
Benchling object (e.g. entry) to edit via a new chat. Not allowed when “agent” or “chatId” are specified.
sources
Data sources the agent may use. Not available for benchling_ask_v1.
agentDeprecated
Deprecated agent identifier to use.
Allowed values:
Response
Task started
pollingUri
taskId
Errors
400
Agent Create Request Bad Request Error
402
Agent Create Request Payment Required Error
403
Agent Create Request Forbidden Error
404
Agent Create Request Not Found Error
429
Agent Create Request Too Many Requests Error
500
Agent Create Request Internal Server Error