API referenceConversations

List moments

GET
/conversations/{id}/moments

Lists the conversation's moments in the order they were let go, with cursor pagination.

Authorization

apiKey
X-API-Key<token>

API key (prefix spk_test_ or spk_live_) or personal access token (prefix pat_)

In: header

Path Parameters

id*string

Conversation ID

Query Parameters

cursor?string

Opaque pagination cursor, from the previous response's page_info.end_cursor.

limit?integer

Items per page, up to 100; more is 100. Absent, or less than 1, is 10.

Formatint64

Response Body

application/json

application/json

curl -X GET "https://example.com/conversations/cnv_2jxsy8cc8v0348asy6t1/moments"
{  "items": [    {      "at": 0.1,      "classifier": "string",      "confidence": 0.1,      "conversation_id": "cnv_2jxsy8cc8v0348asy6t1",      "created_at": "2019-08-24T14:15:22Z",      "definition": {        "color": "violet",        "id": "mdef_2jxsy8cc8v0348asy6t1",        "label": "Pricing objection",        "version": 0      },      "id": "mom_2jxsy8cc8v0348asy6t1",      "kind": "string",      "object": "moment",      "settled_ms": 0,      "speaker": {        "key": "string",        "name": "string"      },      "text": "string",      "title": "string",      "turn_ids": [        "string"      ]    }  ],  "page_info": {    "end_cursor": "string",    "has_next_page": true,    "has_previous_page": true,    "start_cursor": "string",    "total": 0  }}