> ## Documentation Index
> Fetch the complete documentation index at: https://docs.operata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Example payloads

> Complete example JSON payloads showing the data Operata collects at each Amazon Connect collection phase — pre-contact, during contact, and post-contact.

These are complete example payloads for each Amazon Connect collection phase — pre-contact, during contact, and post-contact. For the full list of fields and send frequencies, see [Data summary and frequency](/docs/resources-data-collection-frequency).

## Pre-contact

The following JSON shows the data Operata collects at the **initialization** of a contact.

```json theme={null}
{
    "operataClientId": "78c93dee-a955-46c2-ab10-696d417031ec",
    "agent": "Kelly",
    "browser": {
      "name": "Chrome",
      "version": "88.0.4324.96"
    },
    "system": {
      "cpu": {
        "modelName": "Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz",
        "idlePercentage": 94.58,
        "usedPercentage": 5.420000000000002
      },
      "memory": {
        "available": 38.17,
        "total": 64
      }
    },
    "state": "Busy",
    "timestamp": "2021-01-25T22:49:20.626Z",
    "context": {
      "callContactId": "b9376095-4bb9-4b59-be5a-1c20b437d562"
    }
  }
```

## During contact

The following JSON shows the data Operata collects **during** a contact.

```json theme={null}
{
      "timestamp": "2021-01-25T22:49:29.909Z",
      "contactId": "e7388f85-068d-4bfb-99a8-762547bfff2b",
      "agent": "Alexa",
      "packetsSent": 50,
      "packetsReceived": 49,
      "packetsLost": 0,
      "packetsLostFraction": 0,
      "jitter": 5,
      "rtt": 67,
      "mos": 4.428995599562176,
      "clientInfo": {
        "operataClientId": "58e79ec6-b376-4b90-8bb1-d4c7edb07abf",
        "operataClientSecret": "EpNsbIJalARhaSQxALe",
        "ccpUrl": "https://danzig.com/unnameableness/parrotize",
        "group": "",
        "operataAPI": "https://api.operata.io"
      },
      "agentStatus": "Talk",
      "cpuAvailable": 95.3,
      "memoryAvailable": 59.8,
      "inbound": {
        "packetsLost": 0,
        "packetsCount": 49,
        "audioLevel": 689,
        "jitterBufferMillis": 0,
        "roundTripTimeMillis": null
      },
      "outbound": {
        "packetsLost": 0,
        "packetsCount": 50,
        "audioLevel": 4,
        "jitterBufferMillis": 5,
        "roundTripTimeMillis": 43
      }
    }
```

## After contact

The following JSON shows the data Operata collects at the **completion** of a contact.

```json theme={null}
{
    "timestamp": "2021-01-25T22:50:18.094Z",
    "operataClientId": "58e79ec6-b376-4b90-8bb1-d4c7edb07abf",
    "operataClientSecret": "EpNsbIJalARhaSQxALe",
    "group": "",
    "callContactId": "e7388f85-068d-4bfb-99a8-762547bfff2b",
    "agent": "Alexa",
    "agentAutoAnswer": false,
    "agentIPAddress": "192.168.1.1",
    "duration": 1,
    "durationSeconds": 55,
    "callStartTime": "2021-01-25T22:49:20.626Z",
    "callEndTime": "2021-01-25T22:50:15.280Z",
    "jitter": {
      "min": 0,
      "max": 7,
      "avg": 2
    },
    "rtt": {
      "min": 44,
      "max": 119,
      "avg": 57
    },
    "mos": {
      "min": 4.400265513005151,
      "max": 4.431607946461576,
      "avg": 4.413012176931047
    },
    "packetLoss": {
      "min": 0,
      "max": 0,
      "avg": 0
    },
    "totals": {
      "packetsLostFraction": 0,
      "packetsReceived": 2950,
      "bytesReceived": 392828,
      "bytesSent": 201819
    },
    "ipAddress": "10.4.2.11",
    "port": 57574,
    "protocol": "udp",
    "networkType": "lan",
    "attributes": {
      "Location": "Default"
    },
    "iceServer1": {
      "ipAddress": "turnnlb-xFUcx6Bbf.elb.ap-southeast-2.amazonaws.com.",
      "port": "3478",
      "protocol": "udp"
    },
    "iceServer2": null,
    "clientInfo": {
        "operataClientId": "58e79ec6-b376-4b90-8bb1-d4c7edb07abf",
        "operataClientSecret": "EpNsbIJalARhaSQxALe",
        "ccpUrl": "https://danzig.com/unnameableness/parrotize",
        "group": "",
        "operataAPI": "https://api.operata.io"
    },
    "browser": {
      "name": "Chrome",
      "version": "88.0.4324.96"
    },
    "callEvents": {
      "muted": "2021-01-25T22:49:20.626Z",
      "unmuted": "2021-01-25T22:49:20.626Z",
      "onHold": "2021-01-25T22:49:20.626Z",
      "resumed": "2021-01-25T22:49:20.626Z",
      "incoming": "2021-01-25T22:49:14.427Z",
      "connecting": "2021-01-25T22:49:14.427Z",
      "connected": "2021-01-25T22:49:20.626Z",
      "ended": {
        "party": "Agent",
        "timestamp": "2021-01-25T22:50:15.280Z"
      }
    },
    "report": null,
    "cpu": {
      "min": 89.95,
      "max": 96.5,
      "avg": 94.68,
      "model": "Intel(R) Core(TM) i7-8700B CPU @ 3.20GHz"
    },
    "memory": {
      "min": 38.17,
      "max": 38.36,
      "avg": 38.26,
      "total": 64
    }
  }
```

## Related

* [Data summary and frequency](/docs/resources-data-collection-frequency) — every data group, by phase and frequency.
* [Data collection — Amazon Connect](/docs/resources-data-collection-amazon-connect) — the two-source collection model.
* [PII](/docs/pii) — what counts as PII and how to control which fields leave your environment.
