# Get Logs API response issue in Management API

**URL:** <https://community.auth0.com/t/get-logs-api-response-issue-in-management-api/193917>\
**Category:** Get Help\
**Tags:** logs, management-api\
**Created:** [October 30, 2025, 6:51am UTC](https://community.auth0.com/t/get-logs-api-response-issue-in-management-api/193917 "2025-10-30T06:51:57Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![sinojia\_abhi](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sinojia_abhi/32/71325_2.png) [@sinojia\_abhi](https://community.auth0.com/u/sinojia_abhi)\
**Post date:** [October 30, 2025, 6:51am UTC](https://community.auth0.com/t/get-logs-api-response-issue-in-management-api/193917/1 "2025-10-30T06:51:57Z")

</div>

We are using the Get-Logs API to fetch the logs. We recently got to know that the “date” in the response can be string or an object. However we are unable to get any logs that has date as an object. So do we have any sample response for that? Also wanted to know if the date will always come in the response?

Is there also any way to track the changes made in the API over the time?

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [October 31, 2025, 12:12am UTC](https://community.auth0.com/t/get-logs-api-response-issue-in-management-api/193917/3 "2025-10-31T00:12:07Z")

</div>

Hi @sinojia_abhi

Thank you for reaching out to us!

Please allow me some time to research this matter and I will be back with more information as soon as possible.

Best regards,  
Gerald

---

<div class="post-metadata">

**Author:** ![sinojia\_abhi](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sinojia_abhi/32/71325_2.png) [@sinojia\_abhi](https://community.auth0.com/u/sinojia_abhi)\
**Post date:** [November 2, 2025, 8:08pm UTC](https://community.auth0.com/t/get-logs-api-response-issue-in-management-api/193917/4 "2025-11-02T20:08:22Z")

</div>

Hi

We are using Get-Logs API to collect the logs periodically and we use the “date“ key from the response to update the query parameters for the next call. So wanted to know that can there be a scenario where the date in the response will be empty or invalid? Also wanted to know all possible format of date we can get in the output. Currently we are getting “2025-10-28T12:00:00“ format.

Thanks in advance for the help.

---

<div class="post-metadata">

**Author:** ![sinojia\_abhi](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/sinojia_abhi/32/71325_2.png) [@sinojia\_abhi](https://community.auth0.com/u/sinojia_abhi)\
**Post date:** [November 3, 2025, 8:35pm UTC](https://community.auth0.com/t/get-logs-api-response-issue-in-management-api/193917/5 "2025-11-03T20:35:08Z")

</div>

@gerald.czifra Any updates on this matter?

---

<div class="post-metadata">

**Author:** ![gerald.czifra](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/gerald.czifra/32/75301_2.png) [@gerald.czifra](https://community.auth0.com/u/gerald.czifra)\
**Post date:** [November 4, 2025, 7:46pm UTC](https://community.auth0.com/t/get-logs-api-response-issue-in-management-api/193917/6 "2025-11-04T19:46:08Z")

</div>

Hi @sinojia_abhi

Thank you for your patience on this!

After doing some research, I can confirm the following details for you:

- within the logs, the `date` will always be included as it’s a mandatory field of a log and will always be in [ISO 8601 UTC format](https://auth0.com/docs/deploy-monitor/logs/log-search-query-syntax#:~:text=Date%20the%20event%20occurred%20in%20YYYY%2DMM%2DDD%20format);
- the only mention of the `date` being either a string or an object that I could find is in the [get-logs-by-user API](https://auth0.com/docs/api/management/v2/users/get-logs-by-user#:~:text=oneOf%3A,object%5B%5D%2C%20object%5D), but I could not validate an instance where the `date` is being returned consistently as an object.

Essentially, there is no scenario where the `date` will be returned as an object, nor empty or invalid, from the Auth0 API.

One precaution that I can think of based on your use-case is in the case there are multiple logs that occurred at the same exact time, these will be treated as two separate logs, but it could get missed depending on your integration. To isolate each log, it is more reliable to use `log_id`, since this identifier is unique to each log, even if multiple have the same `date`.

Hope this information helped you!  
Gerald

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [November 20, 2025, 12:20am UTC](https://community.auth0.com/t/get-logs-api-response-issue-in-management-api/193917/7 "2025-11-20T00:20:34Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
