GET /v1/conversations

One end user's conversations for the calling API-key client, most recently active first.

Scoped to the calling API-key CLIENT (any of its keys — a rotated key reads what its predecessor wrote) and to the one endUserRef named, which is required. Only runs started through the /v1 run routes after this surface shipped carry a client, so earlier runs are not returned. A run another client started under the same conversationId is never included.

Request

Path & query

NameInTypeRequired
endUserRefquerystringrequired
pagequeryintegeroptional
pageSizequeryintegeroptional

Example

shell
curl https://api.askamy.co.za/v1/conversations \
  -H "X-Api-Key: $AMY_API_KEY"

Responses

Schemas

ClientConversationSummaryDto

FieldTypeRequired
conversationIduuid required
agentSlugstring required
titlestring | nullrequired
statusstring required
startedAtdate-time required
lastActivityAtdate-time required
runCountinteger required

HttpValidationProblemDetails

FieldTypeRequired
typestring | nulloptional
titlestring | nulloptional
statusinteger | nulloptional
detailstring | nulloptional
instancestring | nulloptional
errorsobject optional

PagedResultOfClientConversationSummaryDto

FieldTypeRequired
itemsClientConversationSummaryDto[] required
pageinteger required
pageSizeinteger required
totalinteger required

ProblemDetails

FieldTypeRequired
typestring | nulloptional
titlestring | nulloptional
statusinteger | nulloptional
detailstring | nulloptional
instancestring | nulloptional