Get a conversation with its messages and turns

View as Markdown
Get a conversation with its durable messages and turns.

Authentication

AuthorizationBearer

Use Bearer <api-key>.

Path parameters

conversationIdstringRequired
Unique conversation identifier generated by BCTRL.

Headers

BCTRL-Subaccount-IdstringOptional
Optional effective subaccount context for organization API keys. Subaccount API keys are already scoped and cannot use this header to act as another subaccount.

Query parameters

messageCursorstringOptional
messageLimitintegerOptional<=200Defaults to 50

Response

OK
activeTurnIdstring or null
createdAtdatetime
RFC 3339 timestamp with a UTC offset.
idstring
Unique conversation identifier generated by BCTRL.
messageslist of objects
modelstring
nextMessageCursorstring or null
runtimeIdstring
Unique runtime identifier generated by BCTRL.
statusenum
streamCursorstring
titlestring or null
toolsetIdstring or null
updatedAtdatetime
RFC 3339 timestamp with a UTC offset.

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error