Skip to main content
POST
/
call-logs
/
{assistant_id}
Python
from superu import SuperU

client = SuperU("YOUR_SUPERU_API_KEY")

payload = {
    "assistant_id": "all",
    "limit": "20",
    "page": "1",
    "before": "2026-02-01T00:00:00Z",
    "after": "2026-01-01T00:00:00Z",
    "status": "completed",
    "campaign_id": "demo_call",
    "search_query": "Ava"
}

response = client.call_logs.get_logs(**payload)
print(response)
{
  "status": "success",
  "logs": [
    {
      "call_uuid": "e8f87167-d4fd-44f2-b03a-24cb600f86f2",
      "to": "+14155552671",
      "status": "completed"
    }
  ],
  "page": 1,
  "limit": 20
}

Authorizations

superU-Api-Key
string
header
required

Your SuperU API key.

Path Parameters

assistant_id
string
required

Assistant ID or all

Example:

"all"

Query Parameters

limit
integer
default:20

Records per page

Required range: 1 <= x <= 100
Example:

20

page
integer
default:1

Page number

Required range: x >= 1
Example:

1

before
string

Upper timestamp/date bound

Example:

"2026-02-01T00:00:00Z"

after
string

Lower timestamp/date bound

Example:

"2026-01-01T00:00:00Z"

status
string

Call status filter

Example:

"completed"

call_uuid
string

Call UUID filter

Example:

"aa39db9f-d9f5-45f4-b4fc-9fe49f14f9ed"

campaign_id
string

Campaign filter

Example:

"demo_call"

search_query
string

Search filter

Example:

"Ava"

Response

Call logs returned

Generic Response schema.

status
string

Status value.

Example:

"success"

message
string

Message value.

Example:

"Request completed successfully"

data
object

Data value.