Retrieve chat
One kept chat with everything that was said in it.
/v1/ask/chats/{id}This method answers a person who is signed in to the dashboard. A request with an API key is refused with 403, so it cannot be tried from this page.
Path parameters
idstringRequiredThe id of the item. Up to 64 characters.
Returns
object"chat"Always
chat.idstringThe id of the chat.
titlestringThe first question, shortened.
updatedAtstringWhen the chat was last saved.
createdAtstringWhen the chat was started.
entriesobject[]The whole conversation, oldest first.
entries[].idstringAn id for the entry, unique in the chat. Up to 64 characters.
entries[].rolestringWho said it:
userorassistant.One of
userassistantentries[].textstringOptionalWhat was said. Up to 4,000 characters.
entries[].stepsobject[]OptionalThe methods that were run for this answer. Up to 20 items.
entries[].steps[].callstringThe method that was run. Up to 80 characters.
entries[].steps[].titlestringThe method in a few words. Up to 500 characters.
entries[].steps[].okbooleanWhether it worked.
entries[].changeobjectOptionalThe change that was proposed with this answer.
entries[].change.callstringThe method the assistant proposed. Up to 80 characters.
entries[].change.titlestringThe method in a few words. Up to 500 characters.
entries[].change.descriptionstringWhat running it does. Up to 4,000 characters.
entries[].change.effectstringWhat it does to your data:
write,sendordestroy.One of
readwritesenddestroyentries[].change.inputRecord<string, unknown>The input it is run with.
entries[].change.statestringWhere the proposal stands:
waiting,busy,done,dismissedorfailed.One of
waitingbusydonedismissedfailedentries[].change.faultstringOptionalWhy it failed, when it did. Up to 500 characters.
entries[].faultstringOptionalWhy the answer failed, when it did. Up to 500 characters.
entries[].offbooleanOptionalWhether the assistant was not connected when this was asked.