POST
/
observability
/
v1
/
call-logs
/
rerun_evaluation
/
cURL
curl --request POST \
  --url https://api.cekura.ai/observability/v1/call-logs/rerun_evaluation/ \
  --header 'Content-Type: application/json' \
  --header 'X-CEKURA-API-KEY: <api-key>' \
  --data '{
  "call_logs": "<any>",
  "agent_id": "<string>",
  "assistant_id": "<string>"
}'
{
  "count": 123,
  "next": "https://api.cekura.ai/example/v1/example-external/?page=4",
  "previous": "https://api.cekura.ai/example/v1/example-external/?page=3",
  "results": [
    {
      "id": 123,
      "duration": "<string>",
      "success": true,
      "is_reviewed": true,
      "status": "success",
      "feedback": "<string>",
      "call_ended_reason": "<string>",
      "customer_number": "<string>",
      "agent": 123,
      "call_id": "<string>",
      "metrics": "<string>",
      "timestamp": "2023-11-07T05:31:56Z",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ]
}

Authorizations

X-CEKURA-API-KEY
string
header
required

API Key Authentication. It should be included in the header of each request.

Query Parameters

timestamp__gte
string<date-time>
timestamp__lte
string<date-time>
agent_id
number
call_ended_reason__in
string[]

Multiple values may be separated by commas.

call_ended_reason__icontains
string
id__in
integer[]

Multiple values may be separated by commas.

duration__gte
number
duration__lte
number
customer_number__in
string[]

Multiple values may be separated by commas.

customer_number__icontains
string
call_id__in
string[]

Multiple values may be separated by commas.

call_id__icontains
string
success
boolean
timestamp_from
string<date-time>
timestamp_to
string<date-time>
call_ids
string
assistant_id
string
metrics
string
timestamp_range
string
call_ended_reason_not_equals
string
page
integer

A page number within the paginated result set.

page_size
integer

Number of results to return per page.

Body

call_logs
any
required

List of call log IDs, int or string all to process

agent_id
string

ID of the agent associated with this call log

assistant_id
string

ID of the assistant associated with this call log

Response

count
integer
required
Example:

123

results
object[]
required
next
string<uri> | null
Example:

"https://api.cekura.ai/example/v1/example-external/?page=4"

previous
string<uri> | null
Example:

"https://api.cekura.ai/example/v1/example-external/?page=3"