# Missing paging object in CMS Audit Logs endpoint

**URL:** <https://community.hubspot.com/t/missing-paging-object-in-cms-audit-logs-endpoint/88794>\
**Category:** APIs & Integrations\
**Tags:** cms-content\
**Created:** [September 1, 2023, 1:00pm UTC](https://community.hubspot.com/t/missing-paging-object-in-cms-audit-logs-endpoint/88794 "2023-09-01T13:00:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![FRobbie](https://avatars.discourse-cdn.com/v4/letter/f/a5b964/32.png) [@FRobbie](https://community.hubspot.com/u/FRobbie)\
**Post date:** [September 1, 2023, 1:00pm UTC](https://community.hubspot.com/t/missing-paging-object-in-cms-audit-logs-endpoint/88794/1 "2023-09-01T13:00:21Z")

</div>

Hello, im trying to retrieve all the CMS Content Audit logs through the following endpoint:  
/cms/v3/audit-logs/

> **[Accounts Dashboard | HubSpot](https://app.hubspot.com/myaccounts?next=developerdocs&redirect=%2Fapi-reference%2Fcms-cms-content-audit-v3%2Fguide)**

I have just over a 1000 CMS logs, however the endpoint I use only returns the 1000 latest CMS logs without the paging object, which makes it impossible to retrieve the remaining logs.  
The sample response shows a paging object:

 ![Screenshot 2023-09-01 145237.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/5/58a0150eeadba08384dbced2d9dde312218c9272.png)

But when I try sending a request, I don’t recieve a paging object.

 ![Screenshot 2023-09-01 145349.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/8/f/8f15176f43a09e807f3eda51bee43969e600895c.png)

Additionally, what I want is to sort the logs oldest first and then paginate through them, however, the documentation isn’t clear on how the sort param can be used.

 ![Screenshot 2023-09-01 145642.png](https://d2qpr2jzcazej7.cloudfront.net/original/3X/2/5/2598aa55de4c3994bd2763cbe73b9b068c96a1bf.png)

Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [September 5, 2023, 3:33pm UTC](https://community.hubspot.com/t/missing-paging-object-in-cms-audit-logs-endpoint/88794/2 "2023-09-05T15:33:03Z")

</div>

Hi, @FRobbie 👋 Thanks for reaching out! Did you get this resolved? If not, can you share an example of the requestion you are making? If you used the on-page example here, you can copy your request body and it will remove your auth details.

Other questions:

- The `sorts` field will accept ASCENDING and DESCENDING
- Have you tried using `limit` and setting to a small number like 10? To try to force the paging option to appear?
- Are you saying you have 1000+ records in total? Or 1000+ you expect to be returned? Out of a much larger pool?

My other suggestion is to file a support ticket and emphasize the following:

- you can reproduce the issue
- it’s happening from the on-page example (not a custom code issue)
- Include your request and response + details on the result you expect to be returned
- this is because the endpoint requires an Enterprise subscription

Thank you! — Jaycee
