> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.lumenia.net/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.lumenia.net/_mcp/server.

# List call logs

GET https://app.lumenia.net/api/v1/call-logs

Return voice call logs for an account, newest first.

Reference: https://docs.lumenia.net/api-reference/call-logs/list-call-logs

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <API_KEY>`, where `API_KEY` is your API key.

## Request

### Query parameters

- `organizationId` (string, optional) — Only logs from workspaces in this organization.
- `workspaceId` (string, optional) — Only logs from this workspace.
- `after` (string, optional) — Beginning of the time range, inclusive. Use an ISO 8601 datetime or YYYY-MM-DD (start of UTC day).
- `before` (string, optional) — End of the time range, inclusive. Use an ISO 8601 datetime or YYYY-MM-DD (end of UTC day).
- `limit` (integer, optional) — Maximum logs to return. Default 50; maximum 500.
- `offset` (integer, optional) — Number of logs to skip. Default 0.

### Headers

- `X-Account-Id` (string, required) — Account whose call logs to return.

## Response

### 200

One page of call logs, newest first.

- `limit` (integer, required) — The page size used for this response.
- `offset` (integer, required) — The number of rows skipped before this page.
- `total` (integer, required) — Total rows matching the filters, across all pages.
- `callLogs` (list of V1CallLogsGetResponsesContentApplicationJsonSchemaCallLogsItems, required) — The call log rows, newest first. Empty when nothing matches the filters.

## Errors

### 400 Bad Request Error

Invalid after/before date, or after is later than before

- `any`

### 403 Forbidden Error

The API key is missing or invalid, or the X-Account-Id does not belong to the partner.

- `message` (string, optional)

### 500 Internal Server Error

Internal Server Error

- `any`

## Types

### V1CallLogsGetResponsesContentApplicationJsonSchemaCallLogsItems

- `id` (string, optional) — Call ID. Use it to retrieve call log details.
- `customerNumber` (string, optional, nullable) — The caller phone number.
- `summary` (string, optional, nullable) — Auto-generated summary of the call.
- `durationSeconds` (integer, optional, nullable) — Call duration in seconds, or null when unavailable.
- `cost` (V1CallLogsGetResponsesContentApplicationJsonSchemaCallLogsItemsCost, optional) — Cost breakdown for the call, in USD. Individual amounts may be null when unavailable.
- `workspaceId` (string, optional) — The workspace that took the call.
- `createdAt` (string, optional) — ISO 8601 timestamp of when the call was recorded.
- `assistant` (string, optional, nullable) — ID of the voice assistant that handled the call.

### V1CallLogsGetResponsesContentApplicationJsonSchemaCallLogsItemsCost

Cost breakdown for the call, in USD. Individual amounts may be null when unavailable.

- `total` (double, optional, nullable) — Total call cost, or null when unavailable.
- `speechToText` (double, optional, nullable) — Transcription cost, or null when unavailable.
- `languageModel` (double, optional, nullable) — Language model cost, or null when unavailable.
- `textToSpeech` (double, optional, nullable) — Voice synthesis cost, or null when unavailable.
- `platform` (double, optional, nullable) — Platform fee, or null when unavailable.

## Examples

**Response**

```json
{
  "limit": 50,
  "offset": 0,
  "total": 1,
  "callLogs": [
    {
      "id": "b2c3d4e5-6f70-4a1b-8c2d-3e4f5a6b7c8d",
      "customerNumber": "+15551234567",
      "summary": "Caller asked about opening hours.",
      "durationSeconds": 45,
      "cost": {
        "total": 0.12,
        "speechToText": 0.01,
        "languageModel": 0.05,
        "textToSpeech": 0.03,
        "platform": 0.03
      },
      "workspaceId": "0c1a2b3c-4d5e-6f70-8a1b-2c3d4e5f6a7b",
      "createdAt": "2026-04-27T12:00:00.000Z",
      "assistant": "asst_xxx"
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://app.lumenia.net/api/v1/call-logs"

headers = {
    "X-Account-Id": "X-Account-Id",
    "Authorization": "Bearer <API_KEY>"
}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://app.lumenia.net/api/v1/call-logs';
const options = {
  method: 'GET',
  headers: {'X-Account-Id': 'X-Account-Id', Authorization: 'Bearer <API_KEY>'}
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://app.lumenia.net/api/v1/call-logs"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-Account-Id", "X-Account-Id")
	req.Header.Add("Authorization", "Bearer <API_KEY>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://app.lumenia.net/api/v1/call-logs")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-Account-Id"] = 'X-Account-Id'
request["Authorization"] = 'Bearer <API_KEY>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://app.lumenia.net/api/v1/call-logs")
  .header("X-Account-Id", "X-Account-Id")
  .header("Authorization", "Bearer <API_KEY>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://app.lumenia.net/api/v1/call-logs', [
  'headers' => [
    'Authorization' => 'Bearer <API_KEY>',
    'X-Account-Id' => 'X-Account-Id',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://app.lumenia.net/api/v1/call-logs");
var request = new RestRequest(Method.GET);
request.AddHeader("X-Account-Id", "X-Account-Id");
request.AddHeader("Authorization", "Bearer <API_KEY>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "X-Account-Id": "X-Account-Id",
  "Authorization": "Bearer <API_KEY>"
]

let request = NSMutableURLRequest(url: NSURL(string: "https://app.lumenia.net/api/v1/call-logs")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```