Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  Data Action - How to get when it was created and who created it

    Posted 7 hours ago

    I'm trying to audit all of the data actions we have and cannot see who or when each data action was created via the UI. Trying to use API but doesn't appear this is available there either. How are you all auditing data actions?


    #DataActions

    ------------------------------
    Johanna South
    Sr. IT Director - Infrastructure, Enterprise Platforms & Identity
    ------------------------------


  • 2.  RE: Data Action - How to get when it was created and who created it

    Posted 5 hours ago

    Hi Johanna,

    Did you try the Audit APIs?

    I believe you should be able to get all that information there, but there is a retention limit of 1 year I believe. So if the information you need is from before that, I'm not sure if there is a way to get it.

    On the Audit API (POST /api/v2/audits/query) I believe you can try a Body similar to this:

    {
      "serviceName": "Integrations",
      "filters": [
        {
          "property": "EntityType",
          "value": "Action"
        },
        {
          "property": "Action",
          "value": "Create"
        }
      ],
      "interval": "2026-03-01T00:00:00Z/2026-03-30T00:00:00Z"
    }



    ------------------------------
    Marcello Jabur
    ------------------------------



  • 3.  RE: Data Action - How to get when it was created and who created it

    Posted 5 hours ago

    Hi, yeah tried that and you're right, the retention policy renders it useless. Also the createdby and createddate aren't returned in the API, the suggestion from AI is to parse through logs...which only go back a year. Not great for auditing multi-year implementations of GC.



    ------------------------------
    Johanna South
    Sr. IT Director - Infrastructure, Enterprise Platforms & Identity
    ------------------------------



  • 4.  RE: Data Action - How to get when it was created and who created it

    Posted 4 hours ago
    Edited by Luiz Rosa 4 hours ago

    Just adding a couple of points to complement what Marcello shared.

    Worth mentioning that the Audit Viewer in the UI only supports real-time queries with a maximum of 14 days, so for a full audit history the API is the way to go.

    The query flow is asynchronous. After the POST, you need to poll GET /api/v2/audits/query/{transactionId} to check the status before fetching the results. More details on the query structure and available filters can be found in the Audits Query documentation.

    Also, the API has a maximum interval per request, so to cover a longer period you would need to iterate over smaller windows and consolidate the results. And as noted in Allowed time interval and Data retention period, audit events are retained for 365 days, so anything older than that would no longer be available through the API.

    If you need to check all available services, entity types and actions you can query, the Action Catalog is a great reference.

    Hope it helps!



    ------------------------------
    Luiz Rosa
    Full stack developer
    ------------------------------