> Tychron Atlas API & Provisioning Reference — chapter 22 of 48 as Markdown. Web version: https://docs.tychron.com/api-reference/cdrs/
> Source: https://docs.tychron.com/api-reference/ · Updated 2026-11-30 · Generated from the Atlas OpenAPI spec (https://api.atlas.tychron.online/api/v1/openapi is the live contract; this file is a dated snapshot of it).
> Source revision: atlas_api_reference_2026-08-12.md · sha256 1a80314271ee6ef6 · sanitize gate v1 clean · reconciled with OpenAPI 2026.11.23-p02 (spec sha256 42031edc7de10063) on 2026-11-30 · content last modified 2026-11-30 · this chapter's content last changed 2026-11-30
> Scope: the Atlas platform API only. The SMS, MMS, CNAM, LRN and MCL services are separate APIs with their own specifications: https://docs.tychron.com/openapi/
> Machine index: https://docs.tychron.com/llms.txt

# CDRs

Call data records (CDRs) for the account: list the latest, list them by type, retrieve one by ID, or attempt to reproduce the results from a CDR.

## Schema

A single call data record


__Type__ Object

| Name            | Type                                       | Description                         |
| --------------- | ------------------------------------------ | ----------------------------------- |
| `fees`          | Array:[CDRFee](https://docs.tychron.com/api-reference/schemas/#schema-cdrfee)             |                                     |
| `host_number`   | String                                     | [Desc. `host_number`](https://docs.tychron.com/api-reference/cdrs/#desc-1279)   |
| `id`            | String(format:ulid)                        | [Desc. `id`](https://docs.tychron.com/api-reference/cdrs/#desc-1280)            |
| `inserted_at`   | String(format:date-time)                   | An ISO8601 formatted timestamp      |
| `item_count`    | Integer                                    | [Desc. `item_count`](https://docs.tychron.com/api-reference/cdrs/#desc-1281)    |
| `item_id`       | String                                     | [Desc. `item_id`](https://docs.tychron.com/api-reference/cdrs/#desc-1282)       |
| `remote_number` | String                                     | [Desc. `remote_number`](https://docs.tychron.com/api-reference/cdrs/#desc-1283) |
| `sell_rate`     | String(format:decimal)                     | [Desc. `sell_rate`](https://docs.tychron.com/api-reference/cdrs/#desc-1284)     |
| `status`        | [Enum](https://docs.tychron.com/api-reference/cdrs/#enum-1285):String                  | Main status of the CDR              |
| `subtype`       | [Enum](https://docs.tychron.com/api-reference/cdrs/#enum-1286):String                  | [Desc. `subtype`](https://docs.tychron.com/api-reference/cdrs/#desc-1287)       |
| `surcharges`    | Array:[CDRSurcharge](https://docs.tychron.com/api-reference/schemas/#schema-cdrsurcharge) |                                     |
| `total`         | String(format:decimal)                     | [Desc. `total`](https://docs.tychron.com/api-reference/cdrs/#desc-1288)         |
| `type`          | [CDRType](https://docs.tychron.com/api-reference/schemas/#schema-cdrtype)                 |                                     |
| `updated_at`    | String(format:date-time)                   | An ISO8601 formatted timestamp      |

#### Desc. `host_number` {#desc-1279}

Depending on the CDR type, this can be an actual phone number or some other value

#### Desc. `id` {#desc-1280}

Another format for UUID, used primarily for tasks, requests and messages.

#### Desc. `item_count` {#desc-1281}

How many items does this CDR actually represent

#### Desc. `item_id` {#desc-1282}

Depending on the CDR type, this will be the id of another record

#### Desc. `remote_number` {#desc-1283}

Depending on the CDR type, this can be an actual phone number or some other value

#### Desc. `sell_rate` {#desc-1284}

The base rate (no fees or surcharges), already includes the count

#### Enum Values status {#enum-1285}

Allowed values

* `UNKNOWN`
* `OK`
* `MISS`
* `ERROR`
* `REFUND`
* `NO_ANSWER`
* `BUSY`
* `CANCELLED`
* `CHANNEL_UNAVAILABLE`
* `CONGESTION`
* `TEMP_FAILURE`

#### Enum Values subtype {#enum-1286}

Allowed values

* `NONE`
* `LRN`
* `LRNE`
* `MESSAGING_CARRIER_LOOKUP`
* `CNAM`
* `TTS`
* `OUTBOUND`
* `INBOUND`
* `TERMINATION`
* `SIP_IAX`
* `DID_RCF`
* `DID_VOIP`
* `CALLBACK`
* `DID`
* `CHARGE`
* `PREPAYMENT`
* `TAX`
* `PAYMENT`
* `ADJUSTMENT`
* `DID_REGISTRY`
* `DID_REGISTRY_NRC`
* `DID_REGISTRY_A_MRC`
* `DEDICATED_ESPID`
* `DEDICATED_ESPID_NRC`
* `DEDICATED_ESPID_A_MRC`
* `DID_TIER`
* `DID_TIER_NRC`
* `DID_TIER_A_MRC`
* `CSP_BRAND`
* `CSP_BRAND_A_MRC`
* `CSP_BRAND_VETTING`
* `CSP_CAMPAIGN`
* `CSP_CAMPAIGN_MRC`
* `CSP_CAMPAIGN_A_MRC`

#### Desc. `subtype` {#desc-1287}

Further refines the CDR type, depending on what the

#### Desc. `total` {#desc-1288}

The total amount charged (sell_rate+fees+surcharges)



__Example__

```json
{
  "fees": [
    {
      "cost": "0.000100",
      "name": "extra_cheese"
    }
  ],
  "host_number": "12003004000",
  "id": "01EH2Y28M6KXG14QMPM3HSP1Y0",
  "inserted_at": "2021-08-13T04:08:44.762841Z",
  "item_count": 1,
  "item_id": "01FCYT490ZK2NYF0BFYRFFAJZ8",
  "remote_number": "12003004001",
  "sell_rate": "0.000900",
  "status": "UNKNOWN",
  "subtype": "NONE",
  "surcharges": [
    {
      "cost": "0.000100",
      "name": "ACME Corp"
    }
  ],
  "total": "0.000900",
  "type": "API",
  "updated_at": "2021-08-13T04:08:44.762841Z"
}
```



## API

### List CDRs

```http
GET /api/v1/cdrs HTTP/1.1
```

Retrieve latest cdrs


__Query Parameters__

| Name   | Type    | Description                      |
| ------ | ------- | -------------------------------- |
| first  | Integer | [Query Desc. first](https://docs.tychron.com/api-reference/cdrs/#desc-1289)  |
| last   | Integer | [Query Desc. last](https://docs.tychron.com/api-reference/cdrs/#desc-1290)   |
| after  | String  | [Query Desc. after](https://docs.tychron.com/api-reference/cdrs/#desc-1291)  |
| before | String  | [Query Desc. before](https://docs.tychron.com/api-reference/cdrs/#desc-1292) |

#### Query Desc. first {#desc-1289}

The number of items to return starting from the 'after' cursor

#### Query Desc. last {#desc-1290}

The number of items to return behind the 'before' cursor

#### Query Desc. after {#desc-1291}

The cursor representing the starting point of a 'first' based paging

#### Query Desc. before {#desc-1292}

The cursor representing the starting point of a 'last' based paging

#### Request

```http
GET /api/v1/cdrs HTTP/1.1
Accept: application/json
```
#### Response 200

##### application/json

```http
HTTP/1.1 200
Content-Type: application/json
Content-Length: 1072
```

```json
{
  "count": 1,
  "page_info": {
    "end_cursor": "YXJyYXljb25uZWN0aW9uOjQ=",
    "has_next_page": true,
    "has_previous_page": false,
    "start_cursor": "YXJyYXljb25uZWN0aW9uOjA="
  },
  "results": [
    {
      "associations": {
        "api_key": {
          "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
        }
      },
      "data": {
        "fees": [
          {
            "cost": "0.000100",
            "name": "extra_cheese"
          }
        ],
        "host_number": "12003004000",
        "id": "01EH2Y28M6KXG14QMPM3HSP1Y0",
        "inserted_at": "2021-08-13T04:08:44.762841Z",
        "item_count": 1,
        "item_id": "01FCYT490ZK2NYF0BFYRFFAJZ8",
        "remote_number": "12003004001",
        "sell_rate": "0.000900",
        "status": "UNKNOWN",
        "subtype": "NONE",
        "surcharges": [
          {
            "cost": "0.000100",
            "name": "ACME Corp"
          }
        ],
        "total": "0.000900",
        "type": "API",
        "updated_at": "2021-08-13T04:08:44.762841Z"
      },
      "type": "cdr"
    }
  ]
}
```
#### Response 403

##### application/json

```http
HTTP/1.1 403
Content-Type: application/json
Content-Length: 312
```

```json
{
  "errors": [
    {
      "code": "access_denied.no_scope",
      "detail": "No scope available to user role",
      "params": {
        "action": "index",
        "level": "guest",
        "resource": "resource"
      },
      "sub_code": "none",
      "title": "Access Denied, no scope available"
    }
  ]
}
```


### List CDRs by Type

```http
GET /api/v1/cdrs_by_type/{type} HTTP/1.1
```

Retrieve latest cdrs by type


__Path Parameters__

| Name | Type                        | Description |
| ---- | --------------------------- | ----------- |
| type | [CDRType](https://docs.tychron.com/api-reference/schemas/#schema-cdrtype)! | CDR Type    |

__Query Parameters__

| Name   | Type    | Description                      |
| ------ | ------- | -------------------------------- |
| first  | Integer | [Query Desc. first](https://docs.tychron.com/api-reference/cdrs/#desc-1293)  |
| last   | Integer | [Query Desc. last](https://docs.tychron.com/api-reference/cdrs/#desc-1294)   |
| after  | String  | [Query Desc. after](https://docs.tychron.com/api-reference/cdrs/#desc-1295)  |
| before | String  | [Query Desc. before](https://docs.tychron.com/api-reference/cdrs/#desc-1296) |

#### Query Desc. first {#desc-1293}

The number of items to return starting from the 'after' cursor

#### Query Desc. last {#desc-1294}

The number of items to return behind the 'before' cursor

#### Query Desc. after {#desc-1295}

The cursor representing the starting point of a 'first' based paging

#### Query Desc. before {#desc-1296}

The cursor representing the starting point of a 'last' based paging

#### Request

```http
GET /api/v1/cdrs_by_type/{type} HTTP/1.1
Accept: application/json
```
#### Response 200

##### application/json

```http
HTTP/1.1 200
Content-Type: application/json
Content-Length: 1072
```

```json
{
  "count": 1,
  "page_info": {
    "end_cursor": "YXJyYXljb25uZWN0aW9uOjQ=",
    "has_next_page": true,
    "has_previous_page": false,
    "start_cursor": "YXJyYXljb25uZWN0aW9uOjA="
  },
  "results": [
    {
      "associations": {
        "api_key": {
          "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
        }
      },
      "data": {
        "fees": [
          {
            "cost": "0.000100",
            "name": "extra_cheese"
          }
        ],
        "host_number": "12003004000",
        "id": "01EH2Y28M6KXG14QMPM3HSP1Y0",
        "inserted_at": "2021-08-13T04:08:44.762841Z",
        "item_count": 1,
        "item_id": "01FCYT490ZK2NYF0BFYRFFAJZ8",
        "remote_number": "12003004001",
        "sell_rate": "0.000900",
        "status": "UNKNOWN",
        "subtype": "NONE",
        "surcharges": [
          {
            "cost": "0.000100",
            "name": "ACME Corp"
          }
        ],
        "total": "0.000900",
        "type": "API",
        "updated_at": "2021-08-13T04:08:44.762841Z"
      },
      "type": "cdr"
    }
  ]
}
```
#### Response 403

##### application/json

```http
HTTP/1.1 403
Content-Type: application/json
Content-Length: 312
```

```json
{
  "errors": [
    {
      "code": "access_denied.no_scope",
      "detail": "No scope available to user role",
      "params": {
        "action": "index",
        "level": "guest",
        "resource": "resource"
      },
      "sub_code": "none",
      "title": "Access Denied, no scope available"
    }
  ]
}
```


### Retrieve CDR by ID

```http
GET /api/v1/cdrs/{id} HTTP/1.1
```

Retrieve a CDR by ID


__Path Parameters__

| Name | Type                 | Description |
| ---- | -------------------- | ----------- |
| id   | String(format:ulid)! | CDR ID      |

#### Request

```http
GET /api/v1/cdrs/{id} HTTP/1.1
Accept: application/json
```
#### Response 200

##### application/json

```http
HTTP/1.1 200
Content-Type: application/json
Content-Length: 725
```

```json
{
  "associations": {
    "api_key": {
      "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
    }
  },
  "data": {
    "fees": [
      {
        "cost": "0.000100",
        "name": "extra_cheese"
      }
    ],
    "host_number": "12003004000",
    "id": "01EH2Y28M6KXG14QMPM3HSP1Y0",
    "inserted_at": "2021-08-13T04:08:44.762841Z",
    "item_count": 1,
    "item_id": "01FCYT490ZK2NYF0BFYRFFAJZ8",
    "remote_number": "12003004001",
    "sell_rate": "0.000900",
    "status": "UNKNOWN",
    "subtype": "NONE",
    "surcharges": [
      {
        "cost": "0.000100",
        "name": "ACME Corp"
      }
    ],
    "total": "0.000900",
    "type": "API",
    "updated_at": "2021-08-13T04:08:44.762841Z"
  },
  "type": "cdr"
}
```
#### Response 403

##### application/json

```http
HTTP/1.1 403
Content-Type: application/json
Content-Length: 312
```

```json
{
  "errors": [
    {
      "code": "access_denied.no_scope",
      "detail": "No scope available to user role",
      "params": {
        "action": "index",
        "level": "guest",
        "resource": "resource"
      },
      "sub_code": "none",
      "title": "Access Denied, no scope available"
    }
  ]
}
```
#### Response 404

##### application/json

```http
HTTP/1.1 404
Content-Type: application/json
Content-Length: 314
```

```json
{
  "errors": [
    {
      "code": "not_found",
      "detail": "The specified resource could not be found",
      "params": {
        "resource": {
          "id": "3fbb573a-6049-44a0-a12c-d3a1ffae0b69",
          "type": "user"
        }
      },
      "sub_code": "none",
      "title": "Not Found"
    }
  ]
}
```


### Rebuild CDR Result

```http
GET /api/v1/cdrs/{cdr_id}/result HTTP/1.1
```

Attempt to reproduce results from a CDR


__Path Parameters__

| Name   | Type                 | Description |
| ------ | -------------------- | ----------- |
| cdr_id | String(format:ulid)! | CDR ID      |

#### Request

```http
GET /api/v1/cdrs/{cdr_id}/result HTTP/1.1
Accept: application/json
```
#### Response 200

##### application/json

```http
HTTP/1.1 200
Content-Type: application/json
Content-Length: 821
```

```json
{
  "cdr": {
    "associations": {
      "api_key": {
        "id": "c6be45e4-b7dd-412c-96c4-777e83fb9c48"
      }
    },
    "data": {
      "fees": [
        {
          "cost": "0.000100",
          "name": "extra_cheese"
        }
      ],
      "host_number": "12003004000",
      "id": "01EH2Y28M6KXG14QMPM3HSP1Y0",
      "inserted_at": "2021-08-13T04:08:44.762841Z",
      "item_count": 1,
      "item_id": "01FCYT490ZK2NYF0BFYRFFAJZ8",
      "remote_number": "12003004001",
      "sell_rate": "0.000900",
      "status": "UNKNOWN",
      "subtype": "NONE",
      "surcharges": [
        {
          "cost": "0.000100",
          "name": "ACME Corp"
        }
      ],
      "total": "0.000900",
      "type": "API",
      "updated_at": "2021-08-13T04:08:44.762841Z"
    },
    "type": "cdr"
  },
  "lookups": []
}
```
#### Response 403

##### application/json

```http
HTTP/1.1 403
Content-Type: application/json
Content-Length: 312
```

```json
{
  "errors": [
    {
      "code": "access_denied.no_scope",
      "detail": "No scope available to user role",
      "params": {
        "action": "index",
        "level": "guest",
        "resource": "resource"
      },
      "sub_code": "none",
      "title": "Access Denied, no scope available"
    }
  ]
}
```
#### Response 404

##### application/json

```http
HTTP/1.1 404
Content-Type: application/json
Content-Length: 314
```

```json
{
  "errors": [
    {
      "code": "not_found",
      "detail": "The specified resource could not be found",
      "params": {
        "resource": {
          "id": "3fbb573a-6049-44a0-a12c-d3a1ffae0b69",
          "type": "user"
        }
      },
      "sub_code": "none",
      "title": "Not Found"
    }
  ]
}
```

---

Previous chapter: https://docs.tychron.com/api-reference/bulk-dip-tasks.md  
Next chapter: https://docs.tychron.com/api-reference/cdr-export-tasks.md  
Complete reference in one file: https://docs.tychron.com/llms-full.txt
