Skip to main content
GET
CCP Logs
Returns raw Contact Control Panel (CCP) log entries that the Agent Collector forwarded to Operata. Use it to inspect agent-side errors, softphone state transitions, and timing for a single agent across a time window.

Endpoint

Parameters

Query

The API ignores fields it doesn’t recognize. The criteria value is a JSON object passed as a single query-string parameter. For example, {"agent":"agent_42","fromTime":"2026-05-18T00:00:00Z","toTime":"2026-05-18T01:00:00Z"} becomes criteria=%7B%22agent%22%3A%22agent_42%22%2C%22fromTime%22%3A%222026-05-18T00%3A00%3A00Z%22%2C%22toTime%22%3A%222026-05-18T01%3A00%3A00Z%22%7D.

Response

200 OK with a JSON array of CCP log entries, newest first by time. The array is empty when nothing matches. The RecordCount response header holds the total number of matching entries; OpenSearch counts up to 10,000, so larger totals report 10000. The API returns each entry exactly as the Agent Collector stored it, so the fields can vary between entries. This example shows a typical entry.
CCP log capture requires the Agent Collector to be running in the agent’s browser. Entries from a session in progress may not appear until that session ends.

Example

Errors

Error bodies are plain text. See Errors for errors every endpoint can return.

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Query Parameters

criteria
string
required

URL-encoded JSON object. Fields: agent, level, fromTime, toTime, timezone, size (default 100), from (default 0).

Response

Stored log entries, newest first. An empty array when nothing matches.