Get inspired at ContentCon. Learn more and register today
Get inspired at ContentCon. Learn more and register today
Contentstack.comAcademyLogin
CS-log-dark.svgCS-log-dark.svg
  • Changelog
  • APIs
  • SDKs

Platform

  • Solution Center
  • Marketplace
  • Changelog
  • Developers & IT
  • Business users
  • Digital leaders
  • Developer Fast Track
  • Plans & Pricing

Solutions

  • Retail
  • Travel and tourism
  • Financial services
  • Technology
  • Manufacturing
  • E-commerce
  • Localization
  • Personalization
  • Portals and knowledge bases

Resources

  • Academy
  • Docs
  • Product updates
  • Contentstack on Contentstack
  • Blog
  • Insights and analyst reports
  • Webinars
  • Podcasts
  • Glossary
  • Content generative library
  • Community
  • Headless CMS
  • Composable AXP
  • Personalization
  • CDP

Customers

  • Case Studies
  • Customer Care
  • Contentstack Experience Awards
  • Customer support

Partners

  • Overview
  • Find a partner
  • Login

Company

  • About us
  • News
  • Customer support portal
  • Contact

Social

  • Facebook
  • LinkedIn
  • Instagram
  • GitHub
  • YouTube
  • Discord
  • X
LegalTermsPrivacyTrust Center

Cookie settings

Copyright © 2026 Contentstack Inc. All rights reserved.
/
  1. Home
  2. APIs
  3. Automations Management API
  4. Audit Logs

Audit Logs

markdownView as Markdown

Get audit log

GEThttps://automations-api.contentstack.com/v1/projects/{project_uid}/audit-logs?limit={limit_value}&skip={skip_value}&asc={field_uid}&desc={field_uid}&include_count={boolean_value}

The Get audit log request returns the audit log of a specific project.

To configure the permissions for your application via OAuth, include the automationhub.audit-log:read scope.

Note If you do not specify a value for the optional “limit” query parameter, the API request will by default return the initial 30 items.

Sample Response
Status|200 OK
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442
{
    "logs": [
        {
            "app_type": "",
            "branch": "",
            "channels": null,
            "created_at": "2024-02-22T12:06:02.262Z",
            "created_by": {
                "uid": "blt******dae71c6b33",
                "username": "user_blt88a8d584",
                "email": "[email protected]",
                "first_name": "Jane",
                "last_name": "Doe",
                "role": 1,
                "active": true
            },
            "event": "Update",
            "headers": null,
            "management_token_uid": "",
            "metadata": {
                "__v": 0,
                "_id": "65******6323264738b10b29",
                "active": false,
                "audience": [],
                "created_at": "2024-02-22T11:32:24.309Z",
                "description": "",
                "id": "345ae3c033c6432baf34fe90032eaaad",
                "isDraftRule": false,
                "org_id": "blt******5ea6ddf287",
                "project_id": "05732fe9f7d6454791715b09a3792f52",
                "published": true,
                "shared": [],
                "step_groups": [
                    "http",
                    "chatgpt"
                ],
                "steps": [
                    {
                        "action_title": "Chat",
                        "auth": "f8******b72a46858fc709281cf27e50",
                        "connector_id": "6e40e092773e4230b282283164091c07",
                        "connector_title": "ChatGPT",
                        "description": "This action returns the chat response(s) from the OpenAI platform.",
                        "group_name": "chatgpt",
                        "help": "https://www.contentstack.com/docs/developers/automation-hub-connectors/chatgpt/#action-1-select-the-chat-action",
                        "id": "1377cbb3032e4f1b9a7dbe664f938c73",
                        "input_data": "{\"model\":\"{(gpt-3.5-turbo-0613||gpt-3.5-turbo-0613)}\",\"prompt\":\"convert to german language\",\"role\":\"user\",\"max_tokens\":500,\"temperature\":0.5,\"n\":1,\"escaped_response\":true}",
                        "input_schema": "{\n  \"type\": \"object\",\n  \"required\": [\n    \"model\",\n    \"prompt\",\n    \"role\"\n  ],\n  \"properties\": {\n    \"model\": {\n      \"type\": \"string\",\n      \"title\": \"Select Model\",\n      \"description\": \"Select the API model to use for the chat response.Note that \\\"continuous\\\" models (gpt-3.5-turbo, gpt-4 and gpt-4-32k) will always point to the latest stable versions. Experimental models (listed with dates or the \\\"preview\\\" label) are only available for a limited time and will return an error after they are deprecated. Please check with OpenAl's documentation for more information.\",\n      \"lookup\": {\n        \"id\": \"get_chat_models\",\n        \"edit\": true\n      },\n      \"minLength\": 1\n    },\n    \"prompt\": {\n      \"type\": \"string\",\n      \"title\": \"Prompt Text\",\n      \"format\": \"textarea\",\n      \"description\": \"Enter the input text to generate a response. Add multiple prompt texts within the Show optional fields below.\",\n      \"minLength\": 5\n    },\n    \"role\": {\n      \"type\": \"string\",\n      \"title\": \"Select Role\",\n      \"description\": \"Select the role identifier to send to the API model request.\",\n      \"default\": \"user\",\n      \"enum\": [\n        \"user\",\n        \"system\",\n        \"assistant\"\n      ],\n      \"minLength\": 1\n    },\n    \"max_tokens\": {\n      \"show\": false,\n      \"type\": \"integer\",\n      \"title\": \"Number of Tokens\",\n      \"description\": \"Enter the maximum number of tokens to generate the content. This must be within the range of 1 to 2048.\",\n      \"default\": 500,\n      \"minimum\": 1,\n      \"maximum\": 2048,\n      \"minLength\": 1\n    },\n    \"temperature\": {\n      \"show\": false,\n      \"type\": \"number\",\n      \"title\": \"Randomness of Responses\",\n      \"description\": \"Enter the value for the randomness of the generated content, 0 being the most precise and 2 being the most random content predictions. This must be within the range of 0 to 2.\",\n      \"default\": 0.5,\n      \"minimum\": 0,\n      \"maximum\": 2,\n      \"minLength\": 1\n    },\n    \"n\": {\n      \"show\": false,\n      \"type\": \"integer\",\n      \"title\": \"Number of Chat Responses\",\n      \"description\": \"Enter the maximum number of chat responses. This must be within the range of 1 to 3.\",\n      \"default\": 1,\n      \"minimum\": 1,\n      \"maximum\": 3\n    },\n    \"frequency_penalty\": {\n      \"show\": false,\n      \"type\": \"number\",\n      \"title\": \"Frequency of Repeated Words\",\n      \"description\": \"Enter the value to set the frequency of repeated words. The most positive value is likely to avoid the use of repeated words. This must be within the range of -2 to 2.\",\n      \"minimum\": -2,\n      \"maximum\": 2\n    },\n    \"presence_penalty\": {\n      \"show\": false,\n      \"type\": \"number\",\n      \"title\": \"Presence of Repeated Responses\",\n      \"description\": \"Enter the value to set the presence of  repeated responses. The most positive value is likely to generate a new response. This must be within the range of -2 to 2.\",\n      \"minimum\": -2,\n      \"maximum\": 2\n    },\n    \"messages\": {\n      \"show\": false,\n      \"type\": \"array\",\n      \"title\": \"Additional Prompt Text\",\n      \"description\": \"Enter multiple messages in key-value pairs.\",\n      \"maxItems\": 10,\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"role\": {\n            \"title\": \"Role\",\n            \"type\": \"string\",\n            \"minLength\": 1,\n            \"enum\": [\n              \"user\",\n              \"system\",\n              \"assistant\"\n            ],\n            \"default\": \"user\"\n          },\n          \"content\": {\n            \"title\": \"Input Query\",\n            \"type\": \"string\",\n            \"minLength\": 1\n          }\n        }\n      }\n    },\n    \"escaped_response\": {\n      \"show\": false,\n      \"title\": \"Sanitize text\",\n      \"description\": \"Enable to format text for compatibility, ensuring proper escape of special characters to prevent interference with API processes or webpage code. Disable this option to format manually.\",\n      \"type\": \"boolean\",\n      \"default\": true\n    }\n  }\n}",
                        "name": "119202",
                        "next": [],
                        "origin_id": "cc219f3a5c75433bb859c24e315a13fa",
                        "skipped": true,
                        "tested": false,
                        "title": "Chat",
                        "type": "action",
                        "version": 5
                    }
                ],
                "tags": [],
                "throttle": false,
                "title": "ChatGPT",
                "trigger": {
                    "id": "fc4a630beb984aff9ca2cdf02e27c844",
                    "next": [
                        "119202"
                    ]
                },
                "updated_at": "2024-02-22T12:06:02.256Z",
                "updated_by": "blt******dae71c6b33",
                "user_id": "blt******dae71c6b33"
            },
            "module": "Automation",
            "module_uid": "345ae3c033c6432baf34fe90032eaaad",
            "org_uid": "blt******5ea6ddf287",
            "payload": null,
            "project_uid": "05732fe9f7d6454791715b09a3792f52",
            "remote_addr": "223.***.**.180",
            "request": {},
            "request_id": "7b176535-bfc6-4b08-9f2d-58f7c7056598",
            "response": {},
            "sort": null,
            "stack": "",
            "uid": "cslsc21851b3-0cf4-4767-84b4-a30e873bbcc3"
        },
        {
            "app_type": "",
            "branch": "",
            "channels": null,
            "created_at": "2024-02-22T12:03:01.283Z",
            "created_by": {
                "uid": "blt******dae71c6b33",
                "username": "user_blt88a8d584",
                "email": "[email protected]",
                "first_name": "Jane",
                "last_name": "Doe",
                "role": 1,
                "active": true
            },
            "event": "Update",
            "headers": null,
            "management_token_uid": "",
            "metadata": {
                "__v": 0,
                "_id": "65******6323264738b10b29",
                "active": false,
                "audience": [],
                "created_at": "2024-02-22T11:32:24.309Z",
                "description": "",
                "id": "345ae3c033c6432baf34fe90032eaaad",
                "isDraftRule": false,
                "org_id": "blt******5ea6ddf287",
                "project_id": "05732fe9f7d6454791715b09a3792f52",
                "published": true,
                "shared": [],
                "step_groups": [
                    "http",
                    null
                ],
                "steps": [],
                "tags": [],
                "throttle": false,
                "title": "ChatGPT",
                "trigger": {
                    "id": "fc4a630beb984aff9ca2cdf02e27c844",
                    "next": []
                },
                "updated_at": "2024-02-22T12:03:01.279Z",
                "updated_by": "blt******dae71c6b33",
                "user_id": "blt******dae71c6b33"
            },
            "module": "Automation",
            "module_uid": "345ae3c033c6432baf34fe90032eaaad",
            "org_uid": "blt******5ea6ddf287",
            "payload": null,
            "project_uid": "05732fe9f7d6454791715b09a3792f52",
            "remote_addr": "223.***.**.180",
            "request": {},
            "request_id": "5f17ae07-697c-40c0-9a8f-bdd8b5fc3eb0",
            "response": {},
            "sort": null,
            "stack": "",
            "uid": "cslscb28b96f-f29c-4f68-bfc8-845a8085e948"
        },
        {
            "app_type": "",
            "branch": "",
            "channels": null,
            "created_at": "2024-02-22T12:12:08.115Z",
            "created_by": {
                "uid": "blt******dae71c6b33",
                "username": "user_blt88a8d584",
                "email": "[email protected]",
                "first_name": "Jane",
                "last_name": "Doe",
                "role": 1,
                "active": true
            },
            "event": "Enabled",
            "headers": null,
            "management_token_uid": "",
            "metadata": {
                "__v": 0,
                "_id": "65******6323264738b10b29",
                "active": true,
                "audience": [],
                "created_at": "2024-02-22T11:32:24.309Z",
                "description": "",
                "id": "345ae3c033c6432baf34fe90032eaaad",
                "isDraftRule": false,
                "org_id": "blt******5ea6ddf287",
                "project_id": "05732fe9f7d6454791715b09a3792f52",
                "published": true,
                "shared": [],
                "step_groups": [
                    "http",
                    "chatgpt"
                ],
                "steps": [
                    {
                        "action_title": "Chat",
                        "auth": "f8******b72a46858fc709281cf27e50",
                        "connector_id": "6e40e092773e4230b282283164091c07",
                        "connector_title": "ChatGPT",
                        "description": "This action returns the chat response(s) from the OpenAI platform.",
                        "group_name": "chatgpt",
                        "help": "https://www.contentstack.com/docs/developers/automation-hub-connectors/chatgpt/#action-1-select-the-chat-action",
                        "id": "1377cbb3032e4f1b9a7dbe664f938c73",
                        "input_data": "{\"model\":\"{(gpt-3.5-turbo-0613||gpt-3.5-turbo-0613)}\",\"prompt\":\"convert to german language\",\"role\":\"user\",\"max_tokens\":500,\"temperature\":0.5,\"n\":1,\"escaped_response\":true}",
                        "input_schema": "{\n  \"type\": \"object\",\n  \"required\": [\n    \"model\",\n    \"prompt\",\n    \"role\"\n  ],\n  \"properties\": {\n    \"model\": {\n      \"type\": \"string\",\n      \"title\": \"Select Model\",\n      \"description\": \"Select the API model to use for the chat response.Note that \\\"continuous\\\" models (gpt-3.5-turbo, gpt-4 and gpt-4-32k) will always point to the latest stable versions. Experimental models (listed with dates or the \\\"preview\\\" label) are only available for a limited time and will return an error after they are deprecated. Please check with OpenAl's documentation for more information.\",\n      \"lookup\": {\n        \"id\": \"get_chat_models\",\n        \"edit\": true\n      },\n      \"minLength\": 1\n    },\n    \"prompt\": {\n      \"type\": \"string\",\n      \"title\": \"Prompt Text\",\n      \"format\": \"textarea\",\n      \"description\": \"Enter the input text to generate a response. Add multiple prompt texts within the Show optional fields below.\",\n      \"minLength\": 5\n    },\n    \"role\": {\n      \"type\": \"string\",\n      \"title\": \"Select Role\",\n      \"description\": \"Select the role identifier to send to the API model request.\",\n      \"default\": \"user\",\n      \"enum\": [\n        \"user\",\n        \"system\",\n        \"assistant\"\n      ],\n      \"minLength\": 1\n    },\n    \"max_tokens\": {\n      \"show\": false,\n      \"type\": \"integer\",\n      \"title\": \"Number of Tokens\",\n      \"description\": \"Enter the maximum number of tokens to generate the content. This must be within the range of 1 to 2048.\",\n      \"default\": 500,\n      \"minimum\": 1,\n      \"maximum\": 2048,\n      \"minLength\": 1\n    },\n    \"temperature\": {\n      \"show\": false,\n      \"type\": \"number\",\n      \"title\": \"Randomness of Responses\",\n      \"description\": \"Enter the value for the randomness of the generated content, 0 being the most precise and 2 being the most random content predictions. This must be within the range of 0 to 2.\",\n      \"default\": 0.5,\n      \"minimum\": 0,\n      \"maximum\": 2,\n      \"minLength\": 1\n    },\n    \"n\": {\n      \"show\": false,\n      \"type\": \"integer\",\n      \"title\": \"Number of Chat Responses\",\n      \"description\": \"Enter the maximum number of chat responses. This must be within the range of 1 to 3.\",\n      \"default\": 1,\n      \"minimum\": 1,\n      \"maximum\": 3\n    },\n    \"frequency_penalty\": {\n      \"show\": false,\n      \"type\": \"number\",\n      \"title\": \"Frequency of Repeated Words\",\n      \"description\": \"Enter the value to set the frequency of repeated words. The most positive value is likely to avoid the use of repeated words. This must be within the range of -2 to 2.\",\n      \"minimum\": -2,\n      \"maximum\": 2\n    },\n    \"presence_penalty\": {\n      \"show\": false,\n      \"type\": \"number\",\n      \"title\": \"Presence of Repeated Responses\",\n      \"description\": \"Enter the value to set the presence of  repeated responses. The most positive value is likely to generate a new response. This must be within the range of -2 to 2.\",\n      \"minimum\": -2,\n      \"maximum\": 2\n    },\n    \"messages\": {\n      \"show\": false,\n      \"type\": \"array\",\n      \"title\": \"Additional Prompt Text\",\n      \"description\": \"Enter multiple messages in key-value pairs.\",\n      \"maxItems\": 10,\n      \"items\": {\n        \"type\": \"object\",\n        \"properties\": {\n          \"role\": {\n            \"title\": \"Role\",\n            \"type\": \"string\",\n            \"minLength\": 1,\n            \"enum\": [\n              \"user\",\n              \"system\",\n              \"assistant\"\n            ],\n            \"default\": \"user\"\n          },\n          \"content\": {\n            \"title\": \"Input Query\",\n            \"type\": \"string\",\n            \"minLength\": 1\n          }\n        }\n      }\n    },\n    \"escaped_response\": {\n      \"show\": false,\n      \"title\": \"Sanitize text\",\n      \"description\": \"Enable to format text for compatibility, ensuring proper escape of special characters to prevent interference with API processes or webpage code. Disable this option to format manually.\",\n      \"type\": \"boolean\",\n      \"default\": true\n    }\n  }\n}",
                        "name": "119202",
                        "next": [],
                        "origin_id": "cc219f3a5c75433bb859c24e315a13fa",
                        "skipped": true,
                        "tested": false,
                        "title": "Chat",
                        "type": "action",
                        "version": 5
                    }
                ],
                "tags": [],
                "throttle": false,
                "title": "ChatGPT",
                "trigger": {
                    "id": "fc4a630beb984aff9ca2cdf02e27c844",
                    "next": [
                        "119202"
                    ]
                },
                "updated_at": "2024-02-22T12:12:08.109Z",
                "updated_by": "blt******dae71c6b33",
                "user_id": "blt******dae71c6b33"
            },
            "module": "Automation",
            "module_uid": "345ae3c033c6432baf34fe90032eaaad",
            "org_uid": "blt******5ea6ddf287",
            "payload": null,
            "project_uid": "05732fe9f7d6454791715b09a3792f52",
            "remote_addr": "223.***.**.180",
            "request": {},
            "request_id": "462f3d58-ee03-49b7-9a2c-93cb2ac16a36",
            "response": {},
            "sort": null,
            "stack": "",
            "uid": "cslsfc416711-4e65-4328-9da6-aa8ea084ed5c"
        },
        {
            "app_type": "",
            "branch": "",
            "channels": null,
            "created_at": "2024-02-22T11:32:35.932Z",
            "created_by": {
                "uid": "blt******dae71c6b33",
                "username": "user_blt88a8d584",
                "email": "[email protected]",
                "first_name": "Jane",
                "last_name": "Doe",
                "role": 1,
                "active": true
            },
            "event": "Update",
            "headers": null,
            "management_token_uid": "",
            "metadata": {
                "__v": 0,
                "_id": "65******6323264738b10b29",
                "active": false,
                "audience": [],
                "created_at": "2024-02-22T11:32:24.309Z",
                "description": "",
                "id": "345ae3c033c6432baf34fe90032eaaad",
                "isDraftRule": false,
                "org_id": "blt******5ea6ddf287",
                "project_id": "05732fe9f7d6454791715b09a3792f52",
                "published": true,
                "shared": [],
                "step_groups": [],
                "steps": [],
                "tags": [],
                "throttle": false,
                "title": "ChatGPT",
                "trigger": {
                    "next": []
                },
                "updated_at": "2024-02-22T11:32:35.928Z",
                "updated_by": "blt******dae71c6b33",
                "user_id": "blt******dae71c6b33"
            },
            "module": "Automation",
            "module_uid": "345ae3c033c6432baf34fe90032eaaad",
            "org_uid": "blt******5ea6ddf287",
            "payload": null,
            "project_uid": "05732fe9f7d6454791715b09a3792f52",
            "remote_addr": "223.***.**.180",
            "request": {},
            "request_id": "faf97354-8540-46c7-8ae6-c3f8c78b3ea4",
            "response": {},
            "sort": null,
            "stack": "",
            "uid": "cslse7ba2777-d0f7-4d14-9635-417a3f31e1c1"
        },
        {
            "app_type": "",
            "branch": "",
            "channels": null,
            "created_at": "2024-02-22T11:31:27.865Z",
            "created_by": {
                "uid": "blt******dae71c6b33",
                "username": "user_blt88a8d584",
                "email": "[email protected]",
                "first_name": "Jane",
                "last_name": "Doe",
                "role": 1,
                "active": true
            },
            "event": "Create",
            "headers": null,
            "management_token_uid": "",
            "metadata": {
                "audience": [],
                "created_at": "2024-02-22T11:31:27.837Z",
                "description": "",
                "id": "05732fe9f7d6454791715b09a3792f52",
                "org_id": "blt******5ea6ddf287",
                "project_id": "05732fe9f7d6454791715b09a3792f52",
                "published": true,
                "shared": [],
                "tags": [],
                "title": "Sample Test Project - Docs",
                "type": "standard",
                "updated_at": "2024-02-22T11:31:27.837Z",
                "updated_by": "blt******dae71c6b33",
                "user_id": "blt******dae71c6b33"
            },
            "module": "Project",
            "module_uid": "05732fe9f7d6454791715b09a3792f52",
            "org_uid": "blt******5ea6ddf287",
            "payload": null,
            "project_uid": "05732fe9f7d6454791715b09a3792f52",
            "remote_addr": "223.***.**.180",
            "request": {},
            "request_id": "9e91ca1c-a936-4097-9ef5-f52fd9e343a3",
            "response": {},
            "sort": null,
            "stack": "",
            "uid": "csls1a6077b3-9caf-4744-8421-e086d5a637bb"
        },
        {
            "app_type": "",
            "branch": "",
            "channels": null,
            "created_at": "2024-02-22T12:05:29.859Z",
            "created_by": {
                "uid": "blt******dae71c6b33",
                "username": "user_blt88a8d584",
                "email": "[email protected]",
                "first_name": "Jane",
                "last_name": "Doe",
                "role": 1,
                "active": true
            },
            "event": "Create",
            "headers": null,
            "management_token_uid": "",
            "metadata": {
                "auth": "ENC_123456789014;RKJYcErInW++33CR;5jVdinG8bti1Wf7qlKHLeg==;MeMNX8CswW+tViVt9yQaVgPznfjIV+01wBbrQ5mKUDXIt5rNkuvHezYRidUSZS952qijQlTsziOkr8Je/ntzqtLhvD91C+19nGAhcdkF3tbLX/7Lizi6wX0YT1VQ/UV41xzQPbhZ9Pf1",
                "auth_id": "cb70c43793194bc590ea30bddfcdad9b",
                "callback_url": "https://automations-api.contentstack.com/userauths/auth/callback",
                "connector_id": "6e40e092773e4230b282283164091c07",
                "content_type": "application/json",
                "created_at": "2024-02-22T12:05:29.854Z",
                "description": "chatGPT auth",
                "done": false,
                "group_name": "chatgpt",
                "has_connect": false,
                "id": "f8******b72a46858fc709281cf27e50",
                "org_id": "blt******5ea6ddf287",
                "project_id": "05732fe9f7d6454791715b09a3792f52",
                "published": true,
                "scope_join_char": ",",
                "source": "automations",
                "title": "Test ChatGPT Account #1",
                "type": "custom",
                "updated_at": "2024-02-22T12:05:29.854Z",
                "updated_by": "blt******dae71c6b33",
                "user_id": "blt******dae71c6b33"
            },
            "module": "Connected Apps",
            "module_uid": "f8******b72a46858fc709281cf27e50",
            "org_uid": "blt******5ea6ddf287",
            "payload": null,
            "project_uid": "05732fe9f7d6454791715b09a3792f52",
            "remote_addr": "223.***.**.180",
            "request": {},
            "request_id": "491d1513-7b96-47af-8315-360b7e97dc17",
            "response": {},
            "sort": null,
            "stack": "",
            "uid": "cslsac6ada7c-f73e-41c5-b75b-b3f3a5fc7c2a"
        },
        {
            "app_type": "",
            "branch": "",
            "channels": null,
            "created_at": "2024-02-22T12:14:56.897Z",
            "created_by": {
                "uid": "blt******dae71c6b33",
                "username": "user_blt88a8d584",
                "email": "[email protected]",
                "first_name": "Jane",
                "last_name": "Doe",
                "role": 1,
                "active": true
            },
            "event": "Create",
            "headers": null,
            "management_token_uid": "",
            "metadata": {
                "access_call_opts": "{\n  \"code\": \"{{code}}\",\n  \"client_id\": \"{{client_id}}\",\n  \"client_secret\": \"{{client_secret}}\",\n  \"redirect_uri\": \"{{redirect_url}}\",\n  \"grant_type\": \"authorization_code\"\n}",
                "access_url": "https://developerhub-api.contentstack.com/apps/token",
                "auth": "ENC_123456789014;iWLyGiWkQ7Ridg9o;fE/WD914O5aYfIBgJcKp8w==;SSYQLAQ6tsSeI+jVKkzKxf1Krjn3Kyw4+2P1tSugIwnaDcZ5LBb1Z038YmxmaNI5rXiaf08mtoQHqAuNFw+NgORmbjfhX9ctviPHd4ugk3MwV0vQ0JmaS3xHtC24LiY6GqRQNJRmbj5pFinI/e8o22c0l4CotT4ujDUJ7ed0EaxMO3fp3PYfshv6gLtiJyRx0jmjurLLkp0+Uil7SmJwPB9A2iWMWZpQou/gwxm164z4e6ZLeE9EmNzELyJIObFLI+Moq8a6JsEajLkVugskOhF5ypYtSrkGnCmqsEO51I9QsDeZCbWa1DEJjNq1lBOdNg6w9RVL1UzQIoifVPg6113YJ4aiXxTdGME9DoXnpUV45kyBnqFdHrJIame9WNtZmSLze2PcL2L9h//pQYI0LiLJNN4NjL9ysWBTpqkmFg==",
                "auth_id": "0e5a5280bf51460dab5021b434c3ba24",
                "callback_url": "https://automations-api.contentstack.com/userauths/auth/callback",
                "client_id": "C_9TIxT8Sam76IMG",
                "client_secret": "hgBXMqgoJIjxyPo2xEc1beKKJYoMZCoa",
                "code_challenge": null,
                "code_verifier": null,
                "connector_id": "40a86f3f55c7485b807bb23a536e2a55",
                "content_type": "application/json",
                "created_at": "2024-02-22T12:14:18.382Z",
                "done": true,
                "expires_at": 1708607679225,
                "group_name": "launch",
                "id": "94c48b974b9045b3a1327eeb10ada605",
                "meta": "{\"scope\":{\"launch:manage\":true}}",
                "org_id": "blt******5ea6ddf287",
                "project_id": "05732fe9f7d6454791715b09a3792f52",
                "published": true,
                "refresh_call_opts": "{\n  \"refresh_token\": \"{{refresh_token}}\",\n  \"client_id\": \"{{client_id}}\",\n  \"client_secret\": \"{{client_secret}}\",\n  \"redirect_uri\": \"{{redirect_url}}\",\n  \"grant_type\": \"refresh_token\"\n}",
                "refresh_url": "https://developerhub-api.contentstack.com/apps/token",
                "scope_join_char": ",",
                "source": "automations",
                "title": "Test Launch Account #1",
                "type": "oauth2",
                "updated_at": "2024-02-22T12:14:56.891Z",
                "updated_by": "blt******dae71c6b33",
                "user_id": "blt******dae71c6b33"
            },
            "module": "Connected Apps",
            "module_uid": "94c48b974b9045b3a1327eeb10ada605",
            "org_uid": "blt******5ea6ddf287",
            "payload": null,
            "project_uid": "05732fe9f7d6454791715b09a3792f52",
            "remote_addr": "223.***.**.180",
            "request": {},
            "request_id": "e0bda81e-a0bf-452b-a5db-e4c409fd7740",
            "response": {},
            "sort": null,
            "stack": "",
            "uid": "csls9688341b-4529-4d1b-bf7f-8d433d45c5d1"
        }
    ]
}

Get an audit log item

GEThttps://automations-api.contentstack.com/v1/projects/{project_uid}/audit-logs/{auditlog_uid}

The Get an audit log item request is used to retrieve a specific item from the audit log of a project.

To configure the permissions for your application via OAuth, include the automationhub.audit-logs:read scope.

Sample Response
Status|200 OK
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
{
    "app_type": "",
    "branch": "",
    "channels": null,
    "created_at": "2024-02-22T12:03:01.283Z",
    "created_by": {
        "uid": "blt******dae71c6b33",
        "username": "user_blt88a8d584",
        "email": "[email protected]",
        "first_name": "Jane",
        "last_name": "Doe",
        "role": 1,
        "active": true
    },
    "event": "Update",
    "headers": null,
    "management_token_uid": "",
    "metadata": {
        "__v": 0,
        "_id": "65******6323264738b10b29",
        "active": false,
        "audience": [],
        "created_at": "2024-02-22T11:32:24.309Z",
        "description": "",
        "id": "345ae3c033c6432baf34fe90032eaaad",
        "isDraftRule": false,
        "org_id": "blt******5ea6ddf287",
        "project_id": "05732fe9f7d6454791715b09a3792f52",
        "published": true,
        "shared": [],
        "step_groups": [
            "http",
            null
        ],
        "steps": [],
        "tags": [],
        "throttle": false,
        "title": "ChatGPT",
        "trigger": {
            "id": "fc4a630beb984aff9ca2cdf02e27c844",
            "next": []
        },
        "updated_at": "2024-02-22T12:03:01.279Z",
        "updated_by": "blt******dae71c6b33",
        "user_id": "blt******dae71c6b33"
    },
    "module": "Automation",
    "module_uid": "345ae3c033c6432baf34fe90032eaaad",
    "org_uid": "blt******5ea6ddf287",
    "payload": null,
    "project_uid": "05732fe9f7d6454791715b09a3792f52",
    "remote_addr": "223.***.**.180",
    "request": {},
    "request_id": "5f17ae07-697c-40c0-9a8f-bdd8b5fc3eb0",
    "response": {},
    "sort": null,
    "stack": "",
    "uid": "cslscb28b96f-f29c-4f68-bfc8-845a8085e948"
}
Hide Parameters

URL Parameters

project_uidrequiredstring

Enter the Project UID.

Example:

05732fe9f7d6454791715b09a3792f52

Query Parameters

limitoptionalstring
The “limit” parameter will return a specific number of audit log (in between 0-100) in your response based on the value you provide. If there are 100 audit log and you want to fetch only 30 audit log, set the limit as 30.

Example:

30
skipoptionalstring
The “skip” parameter will skip a specific number of audit log and return the remaining ones in your response based on the value you provide. If there are 12 audit log and you want to exclude the first 2 audit log, set this to 2 to fetch the remaining 10 audit log.

Example:

2
ascoptionalstring
The “asc” parameter allows you to sort the list of audit log in the ascending order with respect to the value of a specific field. The audit log can be sorted only by created_at value.

Example:

created_at
descoptionalstring
The “desc” parameter allows you to sort the list of audit log in the descending order with respect to the value of a specific field. The audit log can be sorted only by created_at value.

Example:

created_at
include_countoptionalstring
Set this to “true” to include the total number (count) of audit log in an organization.

Example:

true

Headers

authtokenrequiredstring

Enter your authtoken. Refer Authentication for more details.

Example:

your_authtoken
organization_uidrequiredstring

Enter the Organization UID.

Example:

your_organization_uid
Hide Parameters

URL Parameters

project_uidrequiredstring

Enter the Project UID.

Example:

05732fe9f7d6454791715b09a3792f52
auditlog_uidrequiredstring

Enter the UID of the specific log you want to retrieve.

Example:

cslscb28b96f-f29c-4f68-bfc8-845a8085e948

Headers

authtokenrequiredstring

Enter your authtoken. Refer Authentication for more details.

Example:

your_authtoken
organization_uidrequiredstring

Enter the Organization UID.

Example:

your_organization_uid