{"items":[{"type":"link","label":"Audit API","link":"/ch/audit-api","routeSlug":"/ch/audit-api","content":{"contentType":"overview","meta":{"name":"Audit API"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"index.json","url":"/_bundle/ch/audit-api/index.json?download"},{"kind":"download","label":"index.yaml","url":"/_bundle/ch/audit-api/index.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[{"kind":"externallink","title":"License","titleTranslationKey":"info.license","label":"closed source","url":"https://www.sitecore.com"}]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Audit API (v1.0)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Use the Audit API to query and retrieve audit log entries so you can monitor system and user activities, ensure compliance and security, and search, filter, sort, or export audit data for further analysis. "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" This REST API lets you query, scroll through, and download the following audit logs:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"i","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Action audit logs"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for system actions, executions, and operations."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"i","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Business audit logs"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for entity lifecycle events and user activities."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"i","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Raw audit logs"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for low-level system events and operational data."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"i","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Operational audit logs"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for internal system operations."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"i","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Scripting audit logs"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for script executions and automation events."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"i","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Trigger audit logs"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" for automated system triggers and workflows."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"tag","tag":"admonition","inline":true,"attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"You can also use the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://doc.sitecore.com/ch/en/developers/cloud-dev/content-hub-command-line-interface--cli-.html"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"command line interface (CLI)"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" and the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://doc.sitecore.com/ch/en/developers/api-reference/cli--sitecore.ch.cli.plugin.audit.commands.html"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"tail command"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" in particular to query logs."},"children":[]}]}]}]}]}],"sectionId":"/ch/audit-api"}],"sectionId":"/ch/audit-api"},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"heading","attributes":{"level":2,"id":"section/authentication"},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Authentication"},"children":[]}]}]},{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"To use the Audit API, you need:"},"children":[]}]}]},{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"The URL of your Content Hub server. You can get this from your Content Hub Administrator. Enter this URL in the "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"b","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"{{server}}"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" variable by hovering your mouse over the variable in the "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"b","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Try it"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" pane and then clicking "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"b","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Edit"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]},{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"An "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://doc.sitecore.com/ch/en/developers/cloud-dev/oauth-tokens.html#making-requests"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"access token and the client ID"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". Both are sent with every request. You can create a token through the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://doc.sitecore.com/ch/en/users/content-hub/create-an-oauth-client.html"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Content Hub interface"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"  or by "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://doc.sitecore.com/ch/en/developers/cloud-dev/oauth-tokens.html#making-requests"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"requesting one using the API itself"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}]}],"sectionId":"/ch/audit-api/section/authentication"}]}]}},{"type":"link","label":"Authentication","link":"/ch/audit-api/section/authentication","routeSlug":"/ch/audit-api/section/authentication","content":null},{"type":"group","label":"Actions","link":"/ch/audit-api/actions","routeSlug":"/ch/audit-api/actions","items":[{"label":"Query action audit log entries","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/actions/auditactionquery","routeSlug":"/ch/audit-api/actions/auditactionquery","metadata":{"seo":{"title":"Query action audit log entries","description":"Queries the action audit log for entries that match the specified filter and paging parameters. The maximum allowed value for the take parameter is 100."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditActionQuery","name":"Query action audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1action~1query~1{entityId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Query action audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Queries the action audit log for entries that match the specified filter and paging parameters. The maximum allowed value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"take"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" parameter is 100."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"entityId","in":"path","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345}],"pointer":"/paths/~1api~1audit~1action~1query~1{entityId}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"ActionType","in":"query","schemaId":"schema_864","description":"The type of action performed."},{"name":"ActionPhase","in":"query","schemaId":"schema_865","description":"The phase of the action."},{"name":"TargetName","in":"query","schemaId":"schema_866","description":"The name of the target entity.","example":"\"CMP - Create public links for linked assets\""},{"name":"ExecutionType","in":"query","schemaId":"schema_867","description":"The execution type of the action."},{"name":"ExecutionSource","in":"query","schemaId":"schema_868","description":"The source of the execution."},{"name":"ExecutionTime","in":"query","schemaId":"schema_869","description":"The time taken for execution, in milliseconds.","example":150},{"name":"MessageId","in":"query","schemaId":"schema_870","description":"The identifier of the message.","example":123456},{"name":"RetryCount","in":"query","schemaId":"schema_871","description":"The number of retries attempted.","example":2},{"name":"Success","in":"query","schemaId":"schema_872","description":"Whether the action was successful."},{"name":"Id","in":"query","schemaId":"schema_873","description":"The unique identifier of the audit entry."},{"name":"EventType","in":"query","schemaId":"schema_874","description":"The type of event to filter audit entries."},{"name":"Severity","in":"query","schemaId":"schema_875","description":"The severity level to filter audit entries."},{"name":"TargetId","in":"query","schemaId":"schema_863","description":"The target entity identifier related to the audit entry.","example":12345},{"name":"TargetIdentifier","in":"query","schemaId":"schema_876","description":"The string identifier of the target entity.","example":"Asset-12345"},{"name":"Timestamp","in":"query","schemaId":"schema_877","description":"The timestamp to filter audit entries.","example":"2025-09-16"},{"name":"UserId","in":"query","schemaId":"schema_878","description":"The user identifier associated with the audit entry.","example":67890},{"name":"ScrollId","in":"query","schemaId":"schema_879","description":"The ID of the scroll session to get the next results for.","example":"scroll-session-abc123"},{"name":"ScrollTime","in":"query","schemaId":"schema_880","description":"The time to keep the scroll session active.","example":"00:05:00"},{"name":"FullText","in":"query","schemaId":"schema_881","description":"The full-text search term to filter audit records.","example":"user login"},{"name":"Raw","in":"query","schemaId":"schema_882","description":"The raw query string for advanced filtering."},{"name":"EntityId","in":"query","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345},{"name":"From","in":"query","schemaId":"schema_883","description":"The start date of the range filter.","example":"2025-01-01"},{"name":"To","in":"query","schemaId":"schema_884","description":"The end date of the range filter.","example":"2025-01-31"},{"name":"Skip","in":"query","schemaId":"schema_885","description":"The number of items to skip for pagination. Null if negative.","example":0},{"name":"Take","in":"query","schemaId":"schema_886","description":"The number of items to take for pagination. Null if negative.","example":25},{"name":"Sort","in":"query","schemaId":"schema_887","description":"The field name to sort by.","example":"timestamp"},{"name":"Order","in":"query","schemaId":"schema_888","description":"The sort order (ascending or descending)."},{"name":"Ascending","in":"query","schemaId":"schema_889","description":"Whether the sort order is ascending."},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"pointer":"/paths/~1api~1audit~1action~1query~1{entityId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/audit/action/query/{entityId}","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[{"name":"entityId","in":"path","example":12345,"schemaId":"schema_863"}],"query":[{"name":"ActionType","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Actions.Audit.ActionType"},{"name":"ActionPhase","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Actions.Audit.ActionPhase"},{"name":"TargetName","in":"query","example":"\"CMP - Create public links for linked assets\"","schemaId":"schema_866"},{"name":"ExecutionType","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Actions.Audit.ExecutionType"},{"name":"ExecutionSource","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Actions.Audit.ExecutionSource"},{"name":"ExecutionTime","in":"query","example":150,"schemaId":"schema_869"},{"name":"MessageId","in":"query","example":123456,"schemaId":"schema_870"},{"name":"RetryCount","in":"query","example":2,"schemaId":"schema_871"},{"name":"Success","in":"query","schemaId":"schema_872"},{"name":"Id","in":"query","schemaId":"schema_873"},{"name":"EventType","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Audit.EventType"},{"name":"Severity","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Audit.Severity"},{"name":"TargetId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"TargetIdentifier","in":"query","example":"Asset-12345","schemaId":"schema_876"},{"name":"Timestamp","in":"query","example":"2025-09-16","schemaId":"schema_877"},{"name":"UserId","in":"query","example":67890,"schemaId":"schema_878"},{"name":"ScrollId","in":"query","example":"scroll-session-abc123","schemaId":"schema_879"},{"name":"ScrollTime","in":"query","example":"00:05:00","schemaId":"schema_880"},{"name":"FullText","in":"query","example":"user login","schemaId":"schema_881"},{"name":"Raw","in":"query","schemaId":"schema_882"},{"name":"EntityId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"From","in":"query","example":"2025-01-01","schemaId":"schema_883"},{"name":"To","in":"query","example":"2025-01-31","schemaId":"schema_884"},{"name":"Skip","in":"query","example":0,"schemaId":"schema_885"},{"name":"Take","in":"query","example":25,"schemaId":"schema_886"},{"name":"Sort","in":"query","example":"timestamp","schemaId":"schema_887"},{"name":"Order","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Querying.SortOrder"},{"name":"Ascending","in":"query","schemaId":"schema_889"},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/api/audit/action/query/{entityId}","href":"actions/auditactionquery","openApiOperationId":"AuditActionQuery","summary":"Query action audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful operation","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfActionAuditResource"}},"schemaId":"components/schemas/ListResourceOfActionAuditResource"},{"code":"400","description":"Invalid request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request"}],"pointer":"/paths/~1api~1audit~1action~1query~1{entityId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListResourceOfActionAuditResource","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfActionAuditResource"}}},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/actions/auditactionquery"}],"panels":[]}]},"httpPath":"/api/audit/action/query/{entityId}"},{"label":"Scroll through action audit log entries","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/actions/auditactionscroll","routeSlug":"/ch/audit-api/actions/auditactionscroll","metadata":{"seo":{"title":"Scroll through action audit log entries","description":"Allows you to scroll through the action audit log in batches using the specified parameters. The maximum allowed value for the take or batchSize parameters is 100."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditActionScroll","name":"Scroll through action audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1action~1scroll~1{entityId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Scroll through action audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Allows you to scroll through the action audit log in batches using the specified parameters. The maximum allowed value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"take"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"batchSize"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" parameters is 100."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"entityId","in":"path","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345}],"pointer":"/paths/~1api~1audit~1action~1scroll~1{entityId}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"ActionType","in":"query","schemaId":"schema_864","description":"The type of action performed."},{"name":"ActionPhase","in":"query","schemaId":"schema_865","description":"The phase of the action."},{"name":"TargetName","in":"query","schemaId":"schema_866","description":"The name of the target entity.","example":"\"CMP - Create public links for linked assets\""},{"name":"ExecutionType","in":"query","schemaId":"schema_867","description":"The execution type of the action."},{"name":"ExecutionSource","in":"query","schemaId":"schema_868","description":"The source of the execution."},{"name":"ExecutionTime","in":"query","schemaId":"schema_869","description":"The time taken for execution, in milliseconds.","example":150},{"name":"MessageId","in":"query","schemaId":"schema_870","description":"The identifier of the message.","example":123456},{"name":"RetryCount","in":"query","schemaId":"schema_871","description":"The number of retries attempted.","example":2},{"name":"Success","in":"query","schemaId":"schema_872","description":"Whether the action was successful."},{"name":"Id","in":"query","schemaId":"schema_873","description":"The unique identifier of the audit entry."},{"name":"EventType","in":"query","schemaId":"schema_874","description":"The type of event to filter audit entries."},{"name":"Severity","in":"query","schemaId":"schema_875","description":"The severity level to filter audit entries."},{"name":"TargetId","in":"query","schemaId":"schema_863","description":"The target entity identifier related to the audit entry.","example":12345},{"name":"TargetIdentifier","in":"query","schemaId":"schema_876","description":"The string identifier of the target entity.","example":"Asset-12345"},{"name":"Timestamp","in":"query","schemaId":"schema_877","description":"The timestamp to filter audit entries.","example":"2025-09-16"},{"name":"UserId","in":"query","schemaId":"schema_878","description":"The user identifier associated with the audit entry.","example":67890},{"name":"ScrollId","in":"query","schemaId":"schema_879","description":"The ID of the scroll session to get the next results for.","example":"scroll-session-abc123"},{"name":"ScrollTime","in":"query","schemaId":"schema_880","description":"The time to keep the scroll session active.","example":"00:05:00"},{"name":"FullText","in":"query","schemaId":"schema_881","description":"The full-text search term to filter audit records.","example":"user login"},{"name":"Raw","in":"query","schemaId":"schema_882","description":"The raw query string for advanced filtering."},{"name":"EntityId","in":"query","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345},{"name":"From","in":"query","schemaId":"schema_883","description":"The start date of the range filter.","example":"2025-01-01"},{"name":"To","in":"query","schemaId":"schema_884","description":"The end date of the range filter.","example":"2025-01-31"},{"name":"Skip","in":"query","schemaId":"schema_885","description":"The number of items to skip for pagination. Null if negative.","example":0},{"name":"Take","in":"query","schemaId":"schema_886","description":"The number of items to take for pagination. Null if negative.","example":25},{"name":"Sort","in":"query","schemaId":"schema_887","description":"The field name to sort by.","example":"timestamp"},{"name":"Order","in":"query","schemaId":"schema_888","description":"The sort order (ascending or descending)."},{"name":"Ascending","in":"query","schemaId":"schema_889","description":"Whether the sort order is ascending."},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"pointer":"/paths/~1api~1audit~1action~1scroll~1{entityId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/audit/action/scroll/{entityId}","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[{"name":"entityId","in":"path","example":12345,"schemaId":"schema_863"}],"query":[{"name":"ActionType","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Actions.Audit.ActionType"},{"name":"ActionPhase","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Actions.Audit.ActionPhase"},{"name":"TargetName","in":"query","example":"\"CMP - Create public links for linked assets\"","schemaId":"schema_866"},{"name":"ExecutionType","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Actions.Audit.ExecutionType"},{"name":"ExecutionSource","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Actions.Audit.ExecutionSource"},{"name":"ExecutionTime","in":"query","example":150,"schemaId":"schema_869"},{"name":"MessageId","in":"query","example":123456,"schemaId":"schema_870"},{"name":"RetryCount","in":"query","example":2,"schemaId":"schema_871"},{"name":"Success","in":"query","schemaId":"schema_872"},{"name":"Id","in":"query","schemaId":"schema_873"},{"name":"EventType","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Audit.EventType"},{"name":"Severity","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Audit.Severity"},{"name":"TargetId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"TargetIdentifier","in":"query","example":"Asset-12345","schemaId":"schema_876"},{"name":"Timestamp","in":"query","example":"2025-09-16","schemaId":"schema_877"},{"name":"UserId","in":"query","example":67890,"schemaId":"schema_878"},{"name":"ScrollId","in":"query","example":"scroll-session-abc123","schemaId":"schema_879"},{"name":"ScrollTime","in":"query","example":"00:05:00","schemaId":"schema_880"},{"name":"FullText","in":"query","example":"user login","schemaId":"schema_881"},{"name":"Raw","in":"query","schemaId":"schema_882"},{"name":"EntityId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"From","in":"query","example":"2025-01-01","schemaId":"schema_883"},{"name":"To","in":"query","example":"2025-01-31","schemaId":"schema_884"},{"name":"Skip","in":"query","example":0,"schemaId":"schema_885"},{"name":"Take","in":"query","example":25,"schemaId":"schema_886"},{"name":"Sort","in":"query","example":"timestamp","schemaId":"schema_887"},{"name":"Order","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Querying.SortOrder"},{"name":"Ascending","in":"query","schemaId":"schema_889"},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/api/audit/action/scroll/{entityId}","href":"actions/auditactionscroll","openApiOperationId":"AuditActionScroll","summary":"Scroll through action audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful operation","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfActionAuditResource"}},"schemaId":"components/schemas/ListResourceOfActionAuditResource"},{"code":"400","description":"Invalid request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request"}],"pointer":"/paths/~1api~1audit~1action~1scroll~1{entityId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListResourceOfActionAuditResource","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfActionAuditResource"}}},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/actions/auditactionscroll"}],"panels":[]}]},"httpPath":"/api/audit/action/scroll/{entityId}"},{"label":"Request a download order for action audit log entries","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/actions/auditactiongenerate","routeSlug":"/ch/audit-api/actions/auditactiongenerate","metadata":{"seo":{"title":"Request a download order for action audit log entries","description":"Creates a download order for action audit log entries."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditActionGenerate","name":"Request a download order for action audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1action~1generate/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Request a download order for action audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Creates a download order for action audit log entries."},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams"}},"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams","pointer":"/paths/~1api~1audit~1action~1generate/post/requestBody","description":"The parameters for generating the download order for action audit logs."}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/audit/action/generate","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams"}},"responseCodes":["202","400","401"],"pointer":"/api/audit/action/generate","href":"actions/auditactiongenerate","openApiOperationId":"AuditActionGenerate","summary":"Request a download order for action audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":"Accepted"},{"code":"400","description":"Invalid request or unsupported file format","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request"}],"pointer":"/paths/~1api~1audit~1action~1generate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202"},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/actions/auditactiongenerate"}],"panels":[]}]},"httpPath":"/api/audit/action/generate"}],"content":{"contentType":"group","meta":{"name":"Actions"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Actions","showPageActions":true},{"nodeType":"markdoc","content":"Query and scroll through action audit log entries for system actions, executions, and operations."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/audit/action/query/{entityId}","summary":"Query action audit log entries","prefix":{"name":"get","color":"get"},"badges":[],"link":"/actions/auditactionquery","deprecated":false},{"title":"/api/audit/action/scroll/{entityId}","summary":"Scroll through action audit log entries","prefix":{"name":"get","color":"get"},"badges":[],"link":"/actions/auditactionscroll","deprecated":false},{"title":"/api/audit/action/generate","summary":"Request a download order for action audit log entries","prefix":{"name":"post","color":"post"},"badges":[],"link":"/actions/auditactiongenerate","deprecated":false}]}]}]}]}},{"type":"group","label":"Business","link":"/ch/audit-api/business","routeSlug":"/ch/audit-api/business","items":[{"label":"Query business audit log entries","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/business/auditbusinessquery","routeSlug":"/ch/audit-api/business/auditbusinessquery","metadata":{"seo":{"title":"Query business audit log entries","description":"Queries the business audit log for entries that match the specified filter and paging parameters. The maximum allowed value for the take parameter is 100."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditBusinessQuery","name":"Query business audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1business~1query~1{entityId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Query business audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Queries the business audit log for entries that match the specified filter and paging parameters. The maximum allowed value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"take"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" parameter is 100."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"entityId","in":"path","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345}],"pointer":"/paths/~1api~1audit~1business~1query~1{entityId}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"EventTypes","in":"query","schemaId":"schema_891","description":"The event types to filter the logs.","example":["lifecycle.created","lifecycle.approved","user.login.success","usergroup.modified"]},{"name":"CreatedBy","in":"query","schemaId":"schema_892","description":"The user who created the log.","example":"admin"},{"name":"ModifiedBy","in":"query","schemaId":"schema_893","description":"The user who modified the log.","example":"editor"},{"name":"Username","in":"query","schemaId":"schema_894","description":"The username associated with the log.","example":"user1"},{"name":"Definition","in":"query","schemaId":"schema_895","description":"The definition of the log.","example":"M.Asset"},{"name":"LogType","in":"query","schemaId":"schema_896","description":"The log types to filter the logs."},{"name":"Aggregate.Name","in":"query","schemaId":"schema_882","description":"The name of the aggregation.","required":true},{"name":"Aggregate.Field","in":"query","schemaId":"schema_882","description":"The field to aggregate on.","required":true},{"name":"Aggregate.Size","in":"query","schemaId":"schema_897","description":"The size of the aggregation."},{"name":"Aggregate.Aggregations","in":"query","schemaId":"schema_898","description":"The collection of aggregation parameters.","required":true},{"name":"ScrollId","in":"query","schemaId":"schema_879","description":"The ID of the scroll session to get the next results for.","example":"scroll-session-abc123"},{"name":"ScrollTime","in":"query","schemaId":"schema_880","description":"The time to keep the scroll session active.","example":"00:05:00"},{"name":"FullText","in":"query","schemaId":"schema_881","description":"The full-text search term to filter audit records.","example":"user login"},{"name":"Raw","in":"query","schemaId":"schema_882","description":"The raw query string for advanced filtering."},{"name":"EntityId","in":"query","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345},{"name":"From","in":"query","schemaId":"schema_883","description":"The start date of the range filter.","example":"2025-01-01"},{"name":"To","in":"query","schemaId":"schema_884","description":"The end date of the range filter.","example":"2025-01-31"},{"name":"Skip","in":"query","schemaId":"schema_885","description":"The number of items to skip for pagination. Null if negative.","example":0},{"name":"Take","in":"query","schemaId":"schema_886","description":"The number of items to take for pagination. Null if negative.","example":25},{"name":"Sort","in":"query","schemaId":"schema_887","description":"The field name to sort by.","example":"timestamp"},{"name":"Order","in":"query","schemaId":"schema_888","description":"The sort order (ascending or descending)."},{"name":"Ascending","in":"query","schemaId":"schema_889","description":"Whether the sort order is ascending."},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"pointer":"/paths/~1api~1audit~1business~1query~1{entityId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/audit/business/query/{entityId}","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[{"name":"entityId","in":"path","example":12345,"schemaId":"schema_863"}],"query":[{"name":"EventTypes","in":"query","example":["lifecycle.created","lifecycle.approved","user.login.success","usergroup.modified"],"schemaId":"schema_891"},{"name":"CreatedBy","in":"query","example":"admin","schemaId":"schema_892"},{"name":"ModifiedBy","in":"query","example":"editor","schemaId":"schema_893"},{"name":"Username","in":"query","example":"user1","schemaId":"schema_894"},{"name":"Definition","in":"query","example":"M.Asset","schemaId":"schema_895"},{"name":"LogType","in":"query","schemaId":"schema_896"},{"name":"Aggregate.Name","in":"query","required":true,"schemaId":"schema_882"},{"name":"Aggregate.Field","in":"query","required":true,"schemaId":"schema_882"},{"name":"Aggregate.Size","in":"query","schemaId":"schema_897"},{"name":"Aggregate.Aggregations","in":"query","required":true,"schemaId":"schema_898"},{"name":"ScrollId","in":"query","example":"scroll-session-abc123","schemaId":"schema_879"},{"name":"ScrollTime","in":"query","example":"00:05:00","schemaId":"schema_880"},{"name":"FullText","in":"query","example":"user login","schemaId":"schema_881"},{"name":"Raw","in":"query","schemaId":"schema_882"},{"name":"EntityId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"From","in":"query","example":"2025-01-01","schemaId":"schema_883"},{"name":"To","in":"query","example":"2025-01-31","schemaId":"schema_884"},{"name":"Skip","in":"query","example":0,"schemaId":"schema_885"},{"name":"Take","in":"query","example":25,"schemaId":"schema_886"},{"name":"Sort","in":"query","example":"timestamp","schemaId":"schema_887"},{"name":"Order","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Querying.SortOrder"},{"name":"Ascending","in":"query","schemaId":"schema_889"},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/api/audit/business/query/{entityId}","href":"business/auditbusinessquery","openApiOperationId":"AuditBusinessQuery","summary":"Query business audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful operation","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfBusinessAuditResource"}},"schemaId":"components/schemas/ListResourceOfBusinessAuditResource"},{"code":"400","description":"Invalid request or maximum allowed value exceeded","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request"}],"pointer":"/paths/~1api~1audit~1business~1query~1{entityId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListResourceOfBusinessAuditResource","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfBusinessAuditResource"}}},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/business/auditbusinessquery"}],"panels":[]}]},"httpPath":"/api/audit/business/query/{entityId}"},{"label":"Scroll through business audit log entries","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/business/auditbusinessscroll","routeSlug":"/ch/audit-api/business/auditbusinessscroll","metadata":{"seo":{"title":"Scroll through business audit log entries","description":"Allows you to scroll through the business audit log in batches using the specified parameters. The maximum allowed value for the take or batchSize parameters is 100."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditBusinessScroll","name":"Scroll through business audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1business~1scroll~1{entityId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Scroll through business audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Allows you to scroll through the business audit log in batches using the specified parameters. The maximum allowed value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"take"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"batchSize"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" parameters is 100."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"entityId","in":"path","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345}],"pointer":"/paths/~1api~1audit~1business~1scroll~1{entityId}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"EventTypes","in":"query","schemaId":"schema_891","description":"The event types to filter the logs.","example":["lifecycle.created","lifecycle.approved","user.login.success","usergroup.modified"]},{"name":"CreatedBy","in":"query","schemaId":"schema_892","description":"The user who created the log.","example":"admin"},{"name":"ModifiedBy","in":"query","schemaId":"schema_893","description":"The user who modified the log.","example":"editor"},{"name":"Username","in":"query","schemaId":"schema_894","description":"The username associated with the log.","example":"user1"},{"name":"Definition","in":"query","schemaId":"schema_895","description":"The definition of the log.","example":"M.Asset"},{"name":"LogType","in":"query","schemaId":"schema_896","description":"The log types to filter the logs."},{"name":"Aggregate.Name","in":"query","schemaId":"schema_882","description":"The name of the aggregation.","required":true},{"name":"Aggregate.Field","in":"query","schemaId":"schema_882","description":"The field to aggregate on.","required":true},{"name":"Aggregate.Size","in":"query","schemaId":"schema_897","description":"The size of the aggregation."},{"name":"Aggregate.Aggregations","in":"query","schemaId":"schema_898","description":"The collection of aggregation parameters.","required":true},{"name":"ScrollId","in":"query","schemaId":"schema_879","description":"The ID of the scroll session to get the next results for.","example":"scroll-session-abc123"},{"name":"ScrollTime","in":"query","schemaId":"schema_880","description":"The time to keep the scroll session active.","example":"00:05:00"},{"name":"FullText","in":"query","schemaId":"schema_881","description":"The full-text search term to filter audit records.","example":"user login"},{"name":"Raw","in":"query","schemaId":"schema_882","description":"The raw query string for advanced filtering."},{"name":"EntityId","in":"query","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345},{"name":"From","in":"query","schemaId":"schema_883","description":"The start date of the range filter.","example":"2025-01-01"},{"name":"To","in":"query","schemaId":"schema_884","description":"The end date of the range filter.","example":"2025-01-31"},{"name":"Skip","in":"query","schemaId":"schema_885","description":"The number of items to skip for pagination. Null if negative.","example":0},{"name":"Take","in":"query","schemaId":"schema_886","description":"The number of items to take for pagination. Null if negative.","example":25},{"name":"Sort","in":"query","schemaId":"schema_887","description":"The field name to sort by.","example":"timestamp"},{"name":"Order","in":"query","schemaId":"schema_888","description":"The sort order (ascending or descending)."},{"name":"Ascending","in":"query","schemaId":"schema_889","description":"Whether the sort order is ascending."},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"pointer":"/paths/~1api~1audit~1business~1scroll~1{entityId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/audit/business/scroll/{entityId}","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[{"name":"entityId","in":"path","example":12345,"schemaId":"schema_863"}],"query":[{"name":"EventTypes","in":"query","example":["lifecycle.created","lifecycle.approved","user.login.success","usergroup.modified"],"schemaId":"schema_891"},{"name":"CreatedBy","in":"query","example":"admin","schemaId":"schema_892"},{"name":"ModifiedBy","in":"query","example":"editor","schemaId":"schema_893"},{"name":"Username","in":"query","example":"user1","schemaId":"schema_894"},{"name":"Definition","in":"query","example":"M.Asset","schemaId":"schema_895"},{"name":"LogType","in":"query","schemaId":"schema_896"},{"name":"Aggregate.Name","in":"query","required":true,"schemaId":"schema_882"},{"name":"Aggregate.Field","in":"query","required":true,"schemaId":"schema_882"},{"name":"Aggregate.Size","in":"query","schemaId":"schema_897"},{"name":"Aggregate.Aggregations","in":"query","required":true,"schemaId":"schema_898"},{"name":"ScrollId","in":"query","example":"scroll-session-abc123","schemaId":"schema_879"},{"name":"ScrollTime","in":"query","example":"00:05:00","schemaId":"schema_880"},{"name":"FullText","in":"query","example":"user login","schemaId":"schema_881"},{"name":"Raw","in":"query","schemaId":"schema_882"},{"name":"EntityId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"From","in":"query","example":"2025-01-01","schemaId":"schema_883"},{"name":"To","in":"query","example":"2025-01-31","schemaId":"schema_884"},{"name":"Skip","in":"query","example":0,"schemaId":"schema_885"},{"name":"Take","in":"query","example":25,"schemaId":"schema_886"},{"name":"Sort","in":"query","example":"timestamp","schemaId":"schema_887"},{"name":"Order","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Querying.SortOrder"},{"name":"Ascending","in":"query","schemaId":"schema_889"},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/api/audit/business/scroll/{entityId}","href":"business/auditbusinessscroll","openApiOperationId":"AuditBusinessScroll","summary":"Scroll through business audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful operation","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfBusinessAuditResource"}},"schemaId":"components/schemas/ListResourceOfBusinessAuditResource"},{"code":"400","description":"Invalid request or maximum allowed value exceeded","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request"}],"pointer":"/paths/~1api~1audit~1business~1scroll~1{entityId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListResourceOfBusinessAuditResource","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfBusinessAuditResource"}}},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/business/auditbusinessscroll"}],"panels":[]}]},"httpPath":"/api/audit/business/scroll/{entityId}"},{"label":"Request a download order for business audit log entries","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/business/auditbusinessgenerate","routeSlug":"/ch/audit-api/business/auditbusinessgenerate","metadata":{"seo":{"title":"Request a download order for business audit log entries","description":"Creates a download order for business audit log entries. By default, the number of rows that can be exported in a single audit log download order is 10,000. The maximum number is 500,000 rows. You can configure the maximum number in the Settings page. If this number is exceeded, use the timestamp from the last row in the exported file to create a new download order starting from this point. If you need to raise these limits, contact Sitecore Support.  "}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditBusinessGenerate","name":"Request a download order for business audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1business~1generate/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Request a download order for business audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Creates a download order for business audit log entries. "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"admonition","inline":true,"attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"By default, the number of rows that can be exported in a single audit log download order is 10,000. The maximum number is 500,000 rows. You can configure the maximum number in the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://doc.sitecore.com/ch/en/users/content-hub/settings.html#auditing"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Settings page"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". If this number is exceeded, use the timestamp from the last row in the exported file to create a new download order starting from this point. If you need to raise these limits, contact "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://support.sitecore.com/csm"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Sitecore Support"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":".  "},"children":[]}]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","mediaTypes":["application/json-patch+json","application/json","text/json","application/*+json"],"mediaTypeSchemas":{"application/json-patch+json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Resources.DownloadBusinessLogsParams"},"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Resources.DownloadBusinessLogsParams"},"text/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Resources.DownloadBusinessLogsParams"},"application/*+json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Resources.DownloadBusinessLogsParams"}},"schemaId":"components/schemas/Stylelabs.M.Reporting.Resources.DownloadBusinessLogsParams","pointer":"/paths/~1api~1audit~1business~1generate/post/requestBody","description":"The parameters for generating the download order for business audit logs."}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/audit/business/generate","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"requestBody":{"application/json-patch+json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Resources.DownloadBusinessLogsParams"},"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Resources.DownloadBusinessLogsParams"},"text/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Resources.DownloadBusinessLogsParams"},"application/*+json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Resources.DownloadBusinessLogsParams"}},"responseCodes":["202","400","401"],"pointer":"/api/audit/business/generate","href":"business/auditbusinessgenerate","openApiOperationId":"AuditBusinessGenerate","summary":"Request a download order for business audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"schemaId":"components/schemas/Stylelabs.M.Reporting.Resources.DownloadBusinessLogsParams","mediaTypes":["application/json-patch+json","application/json","text/json","application/*+json"],"mediaTypeSchemas":{"application/json-patch+json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Resources.DownloadBusinessLogsParams"},"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Resources.DownloadBusinessLogsParams"},"text/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Resources.DownloadBusinessLogsParams"},"application/*+json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Resources.DownloadBusinessLogsParams"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":"Accepted","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfBusinessAuditResource"}},"schemaId":"components/schemas/ListResourceOfBusinessAuditResource"},{"code":"400","description":"Invalid request or unsupported file format","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request"}],"pointer":"/paths/~1api~1audit~1business~1generate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202","schemaId":"components/schemas/ListResourceOfBusinessAuditResource","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfBusinessAuditResource"}}},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/business/auditbusinessgenerate"}],"panels":[]}]},"httpPath":"/api/audit/business/generate"},{"label":"Aggregate business audit log entries","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/business/auditbusinessaggregate","routeSlug":"/ch/audit-api/business/auditbusinessaggregate","metadata":{"seo":{"title":"Aggregate business audit log entries","description":"Aggregates business audit log entries using the specified parameters."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditBusinessAggregate","name":"Aggregate business audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1business~1aggregate/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Aggregate business audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Aggregates business audit log entries using the specified parameters."},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Web.Api.Resources.BusinessLogQueryParams"}},"schemaId":"components/schemas/Stylelabs.M.Reporting.Web.Api.Resources.BusinessLogQueryParams","pointer":"/paths/~1api~1audit~1business~1aggregate/post/requestBody","description":"The parameters for the aggregation."}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/audit/business/aggregate","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Web.Api.Resources.BusinessLogQueryParams"}},"responseCodes":["200","400","401"],"pointer":"/api/audit/business/aggregate","href":"business/auditbusinessaggregate","openApiOperationId":"AuditBusinessAggregate","summary":"Aggregate business audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"schemaId":"components/schemas/Stylelabs.M.Reporting.Web.Api.Resources.BusinessLogQueryParams","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Web.Api.Resources.BusinessLogQueryParams"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful operation","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_899"}},"schemaId":"schema_899"},{"code":"400","description":"Invalid request","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request"}],"pointer":"/paths/~1api~1audit~1business~1aggregate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"schema_899","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_899"}}},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/business/auditbusinessaggregate"}],"panels":[]}]},"httpPath":"/api/audit/business/aggregate"}],"content":{"contentType":"group","meta":{"name":"Business"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Business","showPageActions":true},{"nodeType":"markdoc","content":"Query and scroll through business audit log entries for entity lifecycle events and user activities."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/audit/business/query/{entityId}","summary":"Query business audit log entries","prefix":{"name":"get","color":"get"},"badges":[],"link":"/business/auditbusinessquery","deprecated":false},{"title":"/api/audit/business/scroll/{entityId}","summary":"Scroll through business audit log entries","prefix":{"name":"get","color":"get"},"badges":[],"link":"/business/auditbusinessscroll","deprecated":false},{"title":"/api/audit/business/generate","summary":"Request a download order for business audit log entries","prefix":{"name":"post","color":"post"},"badges":[],"link":"/business/auditbusinessgenerate","deprecated":false},{"title":"/api/audit/business/aggregate","summary":"Aggregate business audit log entries","prefix":{"name":"post","color":"post"},"badges":[],"link":"/business/auditbusinessaggregate","deprecated":false}]}]}]}]}},{"type":"group","label":"Raw","link":"/ch/audit-api/raw","routeSlug":"/ch/audit-api/raw","items":[{"label":"Query raw audit log entries","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/raw/auditrawquery","routeSlug":"/ch/audit-api/raw/auditrawquery","metadata":{"seo":{"title":"Query raw audit log entries","description":"Queries the raw audit log for entries that match the specified filter and paging parameters. The maximum allowed value for the take parameter is 100."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditRawQuery","name":"Query raw audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1raw~1query~1{entityId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Query raw audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Queries the raw audit log for entries that match the specified filter and paging parameters. The maximum allowed value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"take"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" parameter is 100."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"entityId","in":"path","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345}],"pointer":"/paths/~1api~1audit~1raw~1query~1{entityId}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"EventTypes","in":"query","schemaId":"schema_900","description":"The event types to filter the logs.","example":["EntityUpdated","EntityCreated","PackageExported","downloadordercompleted","Original Updated","PolicySaved","EntityDefinitionCreated","EntityDefinitionUpdated","EntityDefinitionDeleted"]},{"name":"DefinitionNames","in":"query","schemaId":"schema_901","description":"The definition names to filter the logs.","example":["M.Asset","User","M.Job"]},{"name":"UserIds","in":"query","schemaId":"schema_902","description":"The user IDs to filter the logs.","example":[10001,10002,10003]},{"name":"UserNames","in":"query","schemaId":"schema_903","description":"The usernames to filter the logs.","example":["admin","user1","editor"]},{"name":"MessageId","in":"query","schemaId":"schema_870","description":"The message ID to filter the logs.","example":123456},{"name":"Properties","in":"query","schemaId":"schema_904","description":"The properties' names to filter the logs.","example":["Title","Description","Status"]},{"name":"Relations","in":"query","schemaId":"schema_905","description":"The relations' names to filter the logs.","example":["AssetToAssetType","UserToUserProfile"]},{"name":"Culture","in":"query","schemaId":"schema_906","description":"The culture to filter the logs.","example":"en-US"},{"name":"ScrollId","in":"query","schemaId":"schema_879","description":"The ID of the scroll session to get the next results for.","example":"scroll-session-abc123"},{"name":"ScrollTime","in":"query","schemaId":"schema_880","description":"The time to keep the scroll session active.","example":"00:05:00"},{"name":"FullText","in":"query","schemaId":"schema_881","description":"The full-text search term to filter audit records.","example":"user login"},{"name":"Raw","in":"query","schemaId":"schema_882","description":"The raw query string for advanced filtering."},{"name":"EntityId","in":"query","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345},{"name":"From","in":"query","schemaId":"schema_883","description":"The start date of the range filter.","example":"2025-01-01"},{"name":"To","in":"query","schemaId":"schema_884","description":"The end date of the range filter.","example":"2025-01-31"},{"name":"Skip","in":"query","schemaId":"schema_885","description":"The number of items to skip for pagination. Null if negative.","example":0},{"name":"Take","in":"query","schemaId":"schema_886","description":"The number of items to take for pagination. Null if negative.","example":25},{"name":"Sort","in":"query","schemaId":"schema_887","description":"The field name to sort by.","example":"timestamp"},{"name":"Order","in":"query","schemaId":"schema_888","description":"The sort order (ascending or descending)."},{"name":"Ascending","in":"query","schemaId":"schema_889","description":"Whether the sort order is ascending."},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"pointer":"/paths/~1api~1audit~1raw~1query~1{entityId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/audit/raw/query/{entityId}","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[{"name":"entityId","in":"path","example":12345,"schemaId":"schema_863"}],"query":[{"name":"EventTypes","in":"query","example":["EntityUpdated","EntityCreated","PackageExported","downloadordercompleted","Original Updated","PolicySaved","EntityDefinitionCreated","EntityDefinitionUpdated","EntityDefinitionDeleted"],"schemaId":"schema_900"},{"name":"DefinitionNames","in":"query","example":["M.Asset","User","M.Job"],"schemaId":"schema_901"},{"name":"UserIds","in":"query","example":[10001,10002,10003],"schemaId":"schema_902"},{"name":"UserNames","in":"query","example":["admin","user1","editor"],"schemaId":"schema_903"},{"name":"MessageId","in":"query","example":123456,"schemaId":"schema_870"},{"name":"Properties","in":"query","example":["Title","Description","Status"],"schemaId":"schema_904"},{"name":"Relations","in":"query","example":["AssetToAssetType","UserToUserProfile"],"schemaId":"schema_905"},{"name":"Culture","in":"query","example":"en-US","schemaId":"schema_906"},{"name":"ScrollId","in":"query","example":"scroll-session-abc123","schemaId":"schema_879"},{"name":"ScrollTime","in":"query","example":"00:05:00","schemaId":"schema_880"},{"name":"FullText","in":"query","example":"user login","schemaId":"schema_881"},{"name":"Raw","in":"query","schemaId":"schema_882"},{"name":"EntityId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"From","in":"query","example":"2025-01-01","schemaId":"schema_883"},{"name":"To","in":"query","example":"2025-01-31","schemaId":"schema_884"},{"name":"Skip","in":"query","example":0,"schemaId":"schema_885"},{"name":"Take","in":"query","example":25,"schemaId":"schema_886"},{"name":"Sort","in":"query","example":"timestamp","schemaId":"schema_887"},{"name":"Order","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Querying.SortOrder"},{"name":"Ascending","in":"query","schemaId":"schema_889"},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/api/audit/raw/query/{entityId}","href":"raw/auditrawquery","openApiOperationId":"AuditRawQuery","summary":"Query raw audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful operation","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfRawAuditResource"}},"schemaId":"components/schemas/ListResourceOfRawAuditResource"},{"code":"400","description":"Invalid request or maximum allowed value exceeded","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request"}],"pointer":"/paths/~1api~1audit~1raw~1query~1{entityId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListResourceOfRawAuditResource","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfRawAuditResource"}}},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/raw/auditrawquery"}],"panels":[]}]},"httpPath":"/api/audit/raw/query/{entityId}"},{"label":"Scroll through raw audit log entries","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/raw/auditrawscroll","routeSlug":"/ch/audit-api/raw/auditrawscroll","metadata":{"seo":{"title":"Scroll through raw audit log entries","description":"Allows you to scroll through the raw audit log in batches using the specified parameters. The maximum allowed value for the take or batchSize parameters is 100."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditRawScroll","name":"Scroll through raw audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1raw~1scroll~1{entityId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Scroll through raw audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Allows you to scroll through the raw audit log in batches using the specified parameters. The maximum allowed value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"take"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"batchSize"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" parameters is 100."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"entityId","in":"path","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345}],"pointer":"/paths/~1api~1audit~1raw~1scroll~1{entityId}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"EventTypes","in":"query","schemaId":"schema_900","description":"The event types to filter the logs.","example":["EntityUpdated","EntityCreated","PackageExported","downloadordercompleted","Original Updated","PolicySaved","EntityDefinitionCreated","EntityDefinitionUpdated","EntityDefinitionDeleted"]},{"name":"DefinitionNames","in":"query","schemaId":"schema_901","description":"The definition names to filter the logs.","example":["M.Asset","User","M.Job"]},{"name":"UserIds","in":"query","schemaId":"schema_902","description":"The user IDs to filter the logs.","example":[10001,10002,10003]},{"name":"UserNames","in":"query","schemaId":"schema_903","description":"The usernames to filter the logs.","example":["admin","user1","editor"]},{"name":"MessageId","in":"query","schemaId":"schema_870","description":"The message ID to filter the logs.","example":123456},{"name":"Properties","in":"query","schemaId":"schema_904","description":"The properties' names to filter the logs.","example":["Title","Description","Status"]},{"name":"Relations","in":"query","schemaId":"schema_905","description":"The relations' names to filter the logs.","example":["AssetToAssetType","UserToUserProfile"]},{"name":"Culture","in":"query","schemaId":"schema_906","description":"The culture to filter the logs.","example":"en-US"},{"name":"ScrollId","in":"query","schemaId":"schema_879","description":"The ID of the scroll session to get the next results for.","example":"scroll-session-abc123"},{"name":"ScrollTime","in":"query","schemaId":"schema_880","description":"The time to keep the scroll session active.","example":"00:05:00"},{"name":"FullText","in":"query","schemaId":"schema_881","description":"The full-text search term to filter audit records.","example":"user login"},{"name":"Raw","in":"query","schemaId":"schema_882","description":"The raw query string for advanced filtering."},{"name":"EntityId","in":"query","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345},{"name":"From","in":"query","schemaId":"schema_883","description":"The start date of the range filter.","example":"2025-01-01"},{"name":"To","in":"query","schemaId":"schema_884","description":"The end date of the range filter.","example":"2025-01-31"},{"name":"Skip","in":"query","schemaId":"schema_885","description":"The number of items to skip for pagination. Null if negative.","example":0},{"name":"Take","in":"query","schemaId":"schema_886","description":"The number of items to take for pagination. Null if negative.","example":25},{"name":"Sort","in":"query","schemaId":"schema_887","description":"The field name to sort by.","example":"timestamp"},{"name":"Order","in":"query","schemaId":"schema_888","description":"The sort order (ascending or descending)."},{"name":"Ascending","in":"query","schemaId":"schema_889","description":"Whether the sort order is ascending."},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"pointer":"/paths/~1api~1audit~1raw~1scroll~1{entityId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/audit/raw/scroll/{entityId}","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[{"name":"entityId","in":"path","example":12345,"schemaId":"schema_863"}],"query":[{"name":"EventTypes","in":"query","example":["EntityUpdated","EntityCreated","PackageExported","downloadordercompleted","Original Updated","PolicySaved","EntityDefinitionCreated","EntityDefinitionUpdated","EntityDefinitionDeleted"],"schemaId":"schema_900"},{"name":"DefinitionNames","in":"query","example":["M.Asset","User","M.Job"],"schemaId":"schema_901"},{"name":"UserIds","in":"query","example":[10001,10002,10003],"schemaId":"schema_902"},{"name":"UserNames","in":"query","example":["admin","user1","editor"],"schemaId":"schema_903"},{"name":"MessageId","in":"query","example":123456,"schemaId":"schema_870"},{"name":"Properties","in":"query","example":["Title","Description","Status"],"schemaId":"schema_904"},{"name":"Relations","in":"query","example":["AssetToAssetType","UserToUserProfile"],"schemaId":"schema_905"},{"name":"Culture","in":"query","example":"en-US","schemaId":"schema_906"},{"name":"ScrollId","in":"query","example":"scroll-session-abc123","schemaId":"schema_879"},{"name":"ScrollTime","in":"query","example":"00:05:00","schemaId":"schema_880"},{"name":"FullText","in":"query","example":"user login","schemaId":"schema_881"},{"name":"Raw","in":"query","schemaId":"schema_882"},{"name":"EntityId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"From","in":"query","example":"2025-01-01","schemaId":"schema_883"},{"name":"To","in":"query","example":"2025-01-31","schemaId":"schema_884"},{"name":"Skip","in":"query","example":0,"schemaId":"schema_885"},{"name":"Take","in":"query","example":25,"schemaId":"schema_886"},{"name":"Sort","in":"query","example":"timestamp","schemaId":"schema_887"},{"name":"Order","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Querying.SortOrder"},{"name":"Ascending","in":"query","schemaId":"schema_889"},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200","400","401","404"],"pointer":"/api/audit/raw/scroll/{entityId}","href":"raw/auditrawscroll","openApiOperationId":"AuditRawScroll","summary":"Scroll through raw audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful operation","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfRawAuditResource"}},"schemaId":"components/schemas/ListResourceOfRawAuditResource"},{"code":"400","description":"Invalid request or maximum allowed value exceeded","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request"},{"code":"404","description":"Not Found","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"}],"pointer":"/paths/~1api~1audit~1raw~1scroll~1{entityId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListResourceOfRawAuditResource","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfRawAuditResource"}}},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"},{"code":"404","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/raw/auditrawscroll"}],"panels":[]}]},"httpPath":"/api/audit/raw/scroll/{entityId}"},{"label":"Request a download order for raw audit log entries","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/raw/auditrawgenerate","routeSlug":"/ch/audit-api/raw/auditrawgenerate","metadata":{"seo":{"title":"Request a download order for raw audit log entries","description":"Creates a download order for raw audit log entries. For nonbusiness audit types, only supported file formats are allowed.        By default, the number of rows that can be exported in a single audit log download order is 10,000. The maximum number is 500,000 rows. You can configure the maximum number in the Settings page. If this number is exceeded, use the timestamp from the last row in the exported file to create a new download order starting from this point. If you need to raise these limits, contact Sitecore Support.   "}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditRawGenerate","name":"Request a download order for raw audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1raw~1generate/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Request a download order for raw audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Creates a download order for raw audit log entries. For nonbusiness audit types, only supported file formats are allowed.        "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"admonition","inline":true,"attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"By default, the number of rows that can be exported in a single audit log download order is 10,000. The maximum number is 500,000 rows. You can configure the maximum number in the "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://doc.sitecore.com/ch/en/users/content-hub/settings.html#auditing"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Settings page"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":". If this number is exceeded, use the timestamp from the last row in the exported file to create a new download order starting from this point. If you need to raise these limits, contact "},"children":[]},{"$$mdtype":"Node","type":"link","inline":true,"attributes":{"href":"https://support.sitecore.com/csm"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Sitecore Support"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":".   "},"children":[]}]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams"}},"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams","pointer":"/paths/~1api~1audit~1raw~1generate/post/requestBody","description":"The parameters for generating the download order for raw audit logs."}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/audit/raw/generate","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams"}},"responseCodes":["202","400","401"],"pointer":"/api/audit/raw/generate","href":"raw/auditrawgenerate","openApiOperationId":"AuditRawGenerate","summary":"Request a download order for raw audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":"Accepted"},{"code":"400","description":"Invalid request or unsupported file format","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request"}],"pointer":"/paths/~1api~1audit~1raw~1generate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202"},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/raw/auditrawgenerate"}],"panels":[]}]},"httpPath":"/api/audit/raw/generate"}],"content":{"contentType":"group","meta":{"name":"Raw"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Raw","showPageActions":true},{"nodeType":"markdoc","content":"Query and scroll through raw audit log entries for low-level system events and operational data."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/audit/raw/query/{entityId}","summary":"Query raw audit log entries","prefix":{"name":"get","color":"get"},"badges":[],"link":"/raw/auditrawquery","deprecated":false},{"title":"/api/audit/raw/scroll/{entityId}","summary":"Scroll through raw audit log entries","prefix":{"name":"get","color":"get"},"badges":[],"link":"/raw/auditrawscroll","deprecated":false},{"title":"/api/audit/raw/generate","summary":"Request a download order for raw audit log entries","prefix":{"name":"post","color":"post"},"badges":[],"link":"/raw/auditrawgenerate","deprecated":false}]}]}]}]}},{"type":"group","label":"Operational","link":"/ch/audit-api/operational","routeSlug":"/ch/audit-api/operational","items":[{"label":"Query raw operational audit log entries","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/operational/auditrawoperationalquery","routeSlug":"/ch/audit-api/operational/auditrawoperationalquery","metadata":{"seo":{"title":"Query raw operational audit log entries","description":"Queries the raw operational audit log for entries that match the specified filter and paging parameters. The maximum allowed value for the take parameter is 100.This endpoint is used exclusively for operational events, encompassing entity updates for M.Job, M.Target, M.JobDescription, M.Agent, and M.AgentActivity entities.\""}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditRawOperationalQuery","name":"Query raw operational audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1raw~1operational~1query~1{entityId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Query raw operational audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Queries the raw operational audit log for entries that match the specified filter and paging parameters. The maximum allowed value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"take"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" parameter is 100."},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"br","attrs":{}},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"admonition","inline":true,"attributes":{"type":"info","name":"Note"},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"This endpoint is used exclusively for operational events, encompassing entity updates for "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"M.Job"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"M.Target"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"M.JobDescription"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"M.Agent"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":", and "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"M.AgentActivity"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" entities."},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"\""},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"entityId","in":"path","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345}],"pointer":"/paths/~1api~1audit~1raw~1operational~1query~1{entityId}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"EventTypes","in":"query","schemaId":"schema_900","description":"The event types to filter the logs.","example":["EntityUpdated","EntityCreated","PackageExported","downloadordercompleted","Original Updated","PolicySaved","EntityDefinitionCreated","EntityDefinitionUpdated","EntityDefinitionDeleted"]},{"name":"DefinitionNames","in":"query","schemaId":"schema_901","description":"The definition names to filter the logs.","example":["M.Asset","User","M.Job"]},{"name":"UserIds","in":"query","schemaId":"schema_902","description":"The user IDs to filter the logs.","example":[10001,10002,10003]},{"name":"UserNames","in":"query","schemaId":"schema_903","description":"The usernames to filter the logs.","example":["admin","user1","editor"]},{"name":"MessageId","in":"query","schemaId":"schema_870","description":"The message ID to filter the logs.","example":123456},{"name":"Properties","in":"query","schemaId":"schema_904","description":"The properties' names to filter the logs.","example":["Title","Description","Status"]},{"name":"Relations","in":"query","schemaId":"schema_905","description":"The relations' names to filter the logs.","example":["AssetToAssetType","UserToUserProfile"]},{"name":"Culture","in":"query","schemaId":"schema_906","description":"The culture to filter the logs.","example":"en-US"},{"name":"ScrollId","in":"query","schemaId":"schema_879","description":"The ID of the scroll session to get the next results for.","example":"scroll-session-abc123"},{"name":"ScrollTime","in":"query","schemaId":"schema_880","description":"The time to keep the scroll session active.","example":"00:05:00"},{"name":"FullText","in":"query","schemaId":"schema_881","description":"The full-text search term to filter audit records.","example":"user login"},{"name":"Raw","in":"query","schemaId":"schema_882","description":"The raw query string for advanced filtering."},{"name":"EntityId","in":"query","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345},{"name":"From","in":"query","schemaId":"schema_883","description":"The start date of the range filter.","example":"2025-01-01"},{"name":"To","in":"query","schemaId":"schema_884","description":"The end date of the range filter.","example":"2025-01-31"},{"name":"Skip","in":"query","schemaId":"schema_885","description":"The number of items to skip for pagination. Null if negative.","example":0},{"name":"Take","in":"query","schemaId":"schema_886","description":"The number of items to take for pagination. Null if negative.","example":25},{"name":"Sort","in":"query","schemaId":"schema_887","description":"The field name to sort by.","example":"timestamp"},{"name":"Order","in":"query","schemaId":"schema_888","description":"The sort order (ascending or descending)."},{"name":"Ascending","in":"query","schemaId":"schema_889","description":"Whether the sort order is ascending."},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"pointer":"/paths/~1api~1audit~1raw~1operational~1query~1{entityId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/audit/raw/operational/query/{entityId}","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[{"name":"entityId","in":"path","example":12345,"schemaId":"schema_863"}],"query":[{"name":"EventTypes","in":"query","example":["EntityUpdated","EntityCreated","PackageExported","downloadordercompleted","Original Updated","PolicySaved","EntityDefinitionCreated","EntityDefinitionUpdated","EntityDefinitionDeleted"],"schemaId":"schema_900"},{"name":"DefinitionNames","in":"query","example":["M.Asset","User","M.Job"],"schemaId":"schema_901"},{"name":"UserIds","in":"query","example":[10001,10002,10003],"schemaId":"schema_902"},{"name":"UserNames","in":"query","example":["admin","user1","editor"],"schemaId":"schema_903"},{"name":"MessageId","in":"query","example":123456,"schemaId":"schema_870"},{"name":"Properties","in":"query","example":["Title","Description","Status"],"schemaId":"schema_904"},{"name":"Relations","in":"query","example":["AssetToAssetType","UserToUserProfile"],"schemaId":"schema_905"},{"name":"Culture","in":"query","example":"en-US","schemaId":"schema_906"},{"name":"ScrollId","in":"query","example":"scroll-session-abc123","schemaId":"schema_879"},{"name":"ScrollTime","in":"query","example":"00:05:00","schemaId":"schema_880"},{"name":"FullText","in":"query","example":"user login","schemaId":"schema_881"},{"name":"Raw","in":"query","schemaId":"schema_882"},{"name":"EntityId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"From","in":"query","example":"2025-01-01","schemaId":"schema_883"},{"name":"To","in":"query","example":"2025-01-31","schemaId":"schema_884"},{"name":"Skip","in":"query","example":0,"schemaId":"schema_885"},{"name":"Take","in":"query","example":25,"schemaId":"schema_886"},{"name":"Sort","in":"query","example":"timestamp","schemaId":"schema_887"},{"name":"Order","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Querying.SortOrder"},{"name":"Ascending","in":"query","schemaId":"schema_889"},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/api/audit/raw/operational/query/{entityId}","href":"operational/auditrawoperationalquery","openApiOperationId":"AuditRawOperationalQuery","summary":"Query raw operational audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful operation","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfRawAuditResource"}},"schemaId":"components/schemas/ListResourceOfRawAuditResource"},{"code":"400","description":"Invalid request or maximum allowed value exceeded","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request"}],"pointer":"/paths/~1api~1audit~1raw~1operational~1query~1{entityId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListResourceOfRawAuditResource","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfRawAuditResource"}}},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/operational/auditrawoperationalquery"}],"panels":[]}]},"httpPath":"/api/audit/raw/operational/query/{entityId}"},{"label":"Scroll through raw operational audit log entries","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/operational/auditrawoperationalscroll","routeSlug":"/ch/audit-api/operational/auditrawoperationalscroll","metadata":{"seo":{"title":"Scroll through raw operational audit log entries","description":"Allows you to scroll through the raw operational audit log in batches using the specified parameters. The maximum allowed value for the take or batchSize parameters is 100."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditRawOperationalScroll","name":"Scroll through raw operational audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1raw~1operational~1scroll~1{entityId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Scroll through raw operational audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Allows you to scroll through the raw operational audit log in batches using the specified parameters. The maximum allowed value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"take"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"batchSize"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" parameters is 100."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"entityId","in":"path","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345}],"pointer":"/paths/~1api~1audit~1raw~1operational~1scroll~1{entityId}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"EventTypes","in":"query","schemaId":"schema_900","description":"The event types to filter the logs.","example":["EntityUpdated","EntityCreated","PackageExported","downloadordercompleted","Original Updated","PolicySaved","EntityDefinitionCreated","EntityDefinitionUpdated","EntityDefinitionDeleted"]},{"name":"DefinitionNames","in":"query","schemaId":"schema_901","description":"The definition names to filter the logs.","example":["M.Asset","User","M.Job"]},{"name":"UserIds","in":"query","schemaId":"schema_902","description":"The user IDs to filter the logs.","example":[10001,10002,10003]},{"name":"UserNames","in":"query","schemaId":"schema_903","description":"The usernames to filter the logs.","example":["admin","user1","editor"]},{"name":"MessageId","in":"query","schemaId":"schema_870","description":"The message ID to filter the logs.","example":123456},{"name":"Properties","in":"query","schemaId":"schema_904","description":"The properties' names to filter the logs.","example":["Title","Description","Status"]},{"name":"Relations","in":"query","schemaId":"schema_905","description":"The relations' names to filter the logs.","example":["AssetToAssetType","UserToUserProfile"]},{"name":"Culture","in":"query","schemaId":"schema_906","description":"The culture to filter the logs.","example":"en-US"},{"name":"ScrollId","in":"query","schemaId":"schema_879","description":"The ID of the scroll session to get the next results for.","example":"scroll-session-abc123"},{"name":"ScrollTime","in":"query","schemaId":"schema_880","description":"The time to keep the scroll session active.","example":"00:05:00"},{"name":"FullText","in":"query","schemaId":"schema_881","description":"The full-text search term to filter audit records.","example":"user login"},{"name":"Raw","in":"query","schemaId":"schema_882","description":"The raw query string for advanced filtering."},{"name":"EntityId","in":"query","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345},{"name":"From","in":"query","schemaId":"schema_883","description":"The start date of the range filter.","example":"2025-01-01"},{"name":"To","in":"query","schemaId":"schema_884","description":"The end date of the range filter.","example":"2025-01-31"},{"name":"Skip","in":"query","schemaId":"schema_885","description":"The number of items to skip for pagination. Null if negative.","example":0},{"name":"Take","in":"query","schemaId":"schema_886","description":"The number of items to take for pagination. Null if negative.","example":25},{"name":"Sort","in":"query","schemaId":"schema_887","description":"The field name to sort by.","example":"timestamp"},{"name":"Order","in":"query","schemaId":"schema_888","description":"The sort order (ascending or descending)."},{"name":"Ascending","in":"query","schemaId":"schema_889","description":"Whether the sort order is ascending."},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"pointer":"/paths/~1api~1audit~1raw~1operational~1scroll~1{entityId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/audit/raw/operational/scroll/{entityId}","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[{"name":"entityId","in":"path","example":12345,"schemaId":"schema_863"}],"query":[{"name":"EventTypes","in":"query","example":["EntityUpdated","EntityCreated","PackageExported","downloadordercompleted","Original Updated","PolicySaved","EntityDefinitionCreated","EntityDefinitionUpdated","EntityDefinitionDeleted"],"schemaId":"schema_900"},{"name":"DefinitionNames","in":"query","example":["M.Asset","User","M.Job"],"schemaId":"schema_901"},{"name":"UserIds","in":"query","example":[10001,10002,10003],"schemaId":"schema_902"},{"name":"UserNames","in":"query","example":["admin","user1","editor"],"schemaId":"schema_903"},{"name":"MessageId","in":"query","example":123456,"schemaId":"schema_870"},{"name":"Properties","in":"query","example":["Title","Description","Status"],"schemaId":"schema_904"},{"name":"Relations","in":"query","example":["AssetToAssetType","UserToUserProfile"],"schemaId":"schema_905"},{"name":"Culture","in":"query","example":"en-US","schemaId":"schema_906"},{"name":"ScrollId","in":"query","example":"scroll-session-abc123","schemaId":"schema_879"},{"name":"ScrollTime","in":"query","example":"00:05:00","schemaId":"schema_880"},{"name":"FullText","in":"query","example":"user login","schemaId":"schema_881"},{"name":"Raw","in":"query","schemaId":"schema_882"},{"name":"EntityId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"From","in":"query","example":"2025-01-01","schemaId":"schema_883"},{"name":"To","in":"query","example":"2025-01-31","schemaId":"schema_884"},{"name":"Skip","in":"query","example":0,"schemaId":"schema_885"},{"name":"Take","in":"query","example":25,"schemaId":"schema_886"},{"name":"Sort","in":"query","example":"timestamp","schemaId":"schema_887"},{"name":"Order","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Querying.SortOrder"},{"name":"Ascending","in":"query","schemaId":"schema_889"},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/api/audit/raw/operational/scroll/{entityId}","href":"operational/auditrawoperationalscroll","openApiOperationId":"AuditRawOperationalScroll","summary":"Scroll through raw operational audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful operation","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfRawAuditResource"}},"schemaId":"components/schemas/ListResourceOfRawAuditResource"},{"code":"400","description":"Invalid request or maximum allowed value exceeded","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request"}],"pointer":"/paths/~1api~1audit~1raw~1operational~1scroll~1{entityId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListResourceOfRawAuditResource","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfRawAuditResource"}}},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/operational/auditrawoperationalscroll"}],"panels":[]}]},"httpPath":"/api/audit/raw/operational/scroll/{entityId}"},{"label":"Request a download order for raw operational audit log entries","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/operational/auditrawoperationalgenerate","routeSlug":"/ch/audit-api/operational/auditrawoperationalgenerate","metadata":{"seo":{"title":"Request a download order for raw operational audit log entries","description":"Creates a download order for raw operational audit log entries."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditRawOperationalGenerate","name":"Request a download order for raw operational audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1raw~1operational~1generate/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Request a download order for raw operational audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Creates a download order for raw operational audit log entries."},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams"}},"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams","pointer":"/paths/~1api~1audit~1raw~1operational~1generate/post/requestBody","description":"The parameters for generating the download order for raw operational audit logs."}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/audit/raw/operational/generate","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams"}},"responseCodes":["202","400","401"],"pointer":"/api/audit/raw/operational/generate","href":"operational/auditrawoperationalgenerate","openApiOperationId":"AuditRawOperationalGenerate","summary":"Request a download order for raw operational audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":"Accepted"},{"code":"400","description":"Invalid request or unsupported file format","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request"}],"pointer":"/paths/~1api~1audit~1raw~1operational~1generate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202"},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/operational/auditrawoperationalgenerate"}],"panels":[]}]},"httpPath":"/api/audit/raw/operational/generate"}],"content":{"contentType":"group","meta":{"name":"Operational"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Operational","showPageActions":true},{"nodeType":"markdoc","content":"Query and scroll through raw operational audit log entries for internal system operations."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/audit/raw/operational/query/{entityId}","summary":"Query raw operational audit log entries","prefix":{"name":"get","color":"get"},"badges":[],"link":"/operational/auditrawoperationalquery","deprecated":false},{"title":"/api/audit/raw/operational/scroll/{entityId}","summary":"Scroll through raw operational audit log entries","prefix":{"name":"get","color":"get"},"badges":[],"link":"/operational/auditrawoperationalscroll","deprecated":false},{"title":"/api/audit/raw/operational/generate","summary":"Request a download order for raw operational audit log entries","prefix":{"name":"post","color":"post"},"badges":[],"link":"/operational/auditrawoperationalgenerate","deprecated":false}]}]}]}]}},{"type":"group","label":"Scripting","link":"/ch/audit-api/scripting","routeSlug":"/ch/audit-api/scripting","items":[{"label":"Query scripting audit log entries","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/scripting/auditscriptingquery","routeSlug":"/ch/audit-api/scripting/auditscriptingquery","metadata":{"seo":{"title":"Query scripting audit log entries","description":"Queries the scripting audit log for entries that match the specified filter and paging parameters. The maximum allowed value for the take parameter is 100."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditScriptingQuery","name":"Query scripting audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1scripting~1query~1{entityId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Query scripting audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Queries the scripting audit log for entries that match the specified filter and paging parameters. The maximum allowed value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"take"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" parameter is 100."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"entityId","in":"path","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345}],"pointer":"/paths/~1api~1audit~1scripting~1query~1{entityId}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"ScriptType","in":"query","schemaId":"schema_907","description":"Gets or sets the type of script usage."},{"name":"ScriptName","in":"query","schemaId":"schema_908","description":"Gets or sets the name of the script.","example":"MyCustomScript"},{"name":"ScriptContentId","in":"query","schemaId":"schema_863","description":"Gets or sets the content ID of the script.","example":12345},{"name":"ScriptContentIdentifier","in":"query","schemaId":"schema_909","description":"Gets or sets the content identifier of the script.","example":"Script-12345"},{"name":"ErrorMessage","in":"query","schemaId":"schema_910","description":"Gets or sets the error message associated with the script execution.","example":"Script execution failed: Invalid parameter"},{"name":"ExecutionSource","in":"query","schemaId":"schema_911","description":"Gets or sets the source of script execution."},{"name":"Id","in":"query","schemaId":"schema_873","description":"The unique identifier of the audit entry."},{"name":"EventType","in":"query","schemaId":"schema_874","description":"The type of event to filter audit entries."},{"name":"Severity","in":"query","schemaId":"schema_875","description":"The severity level to filter audit entries."},{"name":"TargetId","in":"query","schemaId":"schema_863","description":"The target entity identifier related to the audit entry.","example":12345},{"name":"TargetIdentifier","in":"query","schemaId":"schema_876","description":"The string identifier of the target entity.","example":"Asset-12345"},{"name":"Timestamp","in":"query","schemaId":"schema_877","description":"The timestamp to filter audit entries.","example":"2025-09-16"},{"name":"UserId","in":"query","schemaId":"schema_878","description":"The user identifier associated with the audit entry.","example":67890},{"name":"ScrollId","in":"query","schemaId":"schema_879","description":"The ID of the scroll session to get the next results for.","example":"scroll-session-abc123"},{"name":"ScrollTime","in":"query","schemaId":"schema_880","description":"The time to keep the scroll session active.","example":"00:05:00"},{"name":"FullText","in":"query","schemaId":"schema_881","description":"The full-text search term to filter audit records.","example":"user login"},{"name":"Raw","in":"query","schemaId":"schema_882","description":"The raw query string for advanced filtering."},{"name":"EntityId","in":"query","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345},{"name":"From","in":"query","schemaId":"schema_883","description":"The start date of the range filter.","example":"2025-01-01"},{"name":"To","in":"query","schemaId":"schema_884","description":"The end date of the range filter.","example":"2025-01-31"},{"name":"Skip","in":"query","schemaId":"schema_885","description":"The number of items to skip for pagination. Null if negative.","example":0},{"name":"Take","in":"query","schemaId":"schema_886","description":"The number of items to take for pagination. Null if negative.","example":25},{"name":"Sort","in":"query","schemaId":"schema_887","description":"The field name to sort by.","example":"timestamp"},{"name":"Order","in":"query","schemaId":"schema_888","description":"The sort order (ascending or descending)."},{"name":"Ascending","in":"query","schemaId":"schema_889","description":"Whether the sort order is ascending."},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"pointer":"/paths/~1api~1audit~1scripting~1query~1{entityId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/audit/scripting/query/{entityId}","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[{"name":"entityId","in":"path","example":12345,"schemaId":"schema_863"}],"query":[{"name":"ScriptType","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Scripting.Base.ScriptUseType"},{"name":"ScriptName","in":"query","example":"MyCustomScript","schemaId":"schema_908"},{"name":"ScriptContentId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"ScriptContentIdentifier","in":"query","example":"Script-12345","schemaId":"schema_909"},{"name":"ErrorMessage","in":"query","example":"Script execution failed: Invalid parameter","schemaId":"schema_910"},{"name":"ExecutionSource","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Scripting.Audit.ExecutionSource"},{"name":"Id","in":"query","schemaId":"schema_873"},{"name":"EventType","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Audit.EventType"},{"name":"Severity","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Audit.Severity"},{"name":"TargetId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"TargetIdentifier","in":"query","example":"Asset-12345","schemaId":"schema_876"},{"name":"Timestamp","in":"query","example":"2025-09-16","schemaId":"schema_877"},{"name":"UserId","in":"query","example":67890,"schemaId":"schema_878"},{"name":"ScrollId","in":"query","example":"scroll-session-abc123","schemaId":"schema_879"},{"name":"ScrollTime","in":"query","example":"00:05:00","schemaId":"schema_880"},{"name":"FullText","in":"query","example":"user login","schemaId":"schema_881"},{"name":"Raw","in":"query","schemaId":"schema_882"},{"name":"EntityId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"From","in":"query","example":"2025-01-01","schemaId":"schema_883"},{"name":"To","in":"query","example":"2025-01-31","schemaId":"schema_884"},{"name":"Skip","in":"query","example":0,"schemaId":"schema_885"},{"name":"Take","in":"query","example":25,"schemaId":"schema_886"},{"name":"Sort","in":"query","example":"timestamp","schemaId":"schema_887"},{"name":"Order","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Querying.SortOrder"},{"name":"Ascending","in":"query","schemaId":"schema_889"},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/api/audit/scripting/query/{entityId}","href":"scripting/auditscriptingquery","openApiOperationId":"AuditScriptingQuery","summary":"Query scripting audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful operation","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfScriptingAuditResource"}},"schemaId":"components/schemas/ListResourceOfScriptingAuditResource"},{"code":"400","description":"Invalid request or maximum allowed value exceeded","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request"}],"pointer":"/paths/~1api~1audit~1scripting~1query~1{entityId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListResourceOfScriptingAuditResource","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfScriptingAuditResource"}}},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/scripting/auditscriptingquery"}],"panels":[]}]},"httpPath":"/api/audit/scripting/query/{entityId}"},{"label":"Scroll through scripting audit log entries","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/scripting/auditscriptingscroll","routeSlug":"/ch/audit-api/scripting/auditscriptingscroll","metadata":{"seo":{"title":"Scroll through scripting audit log entries","description":"Allows you to scroll through the scripting audit log in batches using the specified parameters. The maximum allowed value for the take or batchSize parameters is 100."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditScriptingScroll","name":"Scroll through scripting audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1scripting~1scroll~1{entityId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Scroll through scripting audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Allows you to scroll through the scripting audit log in batches using the specified parameters. The maximum allowed value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"take"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"batchSize"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" parameters is 100."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"entityId","in":"path","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345}],"pointer":"/paths/~1api~1audit~1scripting~1scroll~1{entityId}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"ScriptType","in":"query","schemaId":"schema_907","description":"Gets or sets the type of script usage."},{"name":"ScriptName","in":"query","schemaId":"schema_908","description":"Gets or sets the name of the script.","example":"MyCustomScript"},{"name":"ScriptContentId","in":"query","schemaId":"schema_863","description":"Gets or sets the content ID of the script.","example":12345},{"name":"ScriptContentIdentifier","in":"query","schemaId":"schema_909","description":"Gets or sets the content identifier of the script.","example":"Script-12345"},{"name":"ErrorMessage","in":"query","schemaId":"schema_910","description":"Gets or sets the error message associated with the script execution.","example":"Script execution failed: Invalid parameter"},{"name":"ExecutionSource","in":"query","schemaId":"schema_911","description":"Gets or sets the source of script execution."},{"name":"Id","in":"query","schemaId":"schema_873","description":"The unique identifier of the audit entry."},{"name":"EventType","in":"query","schemaId":"schema_874","description":"The type of event to filter audit entries."},{"name":"Severity","in":"query","schemaId":"schema_875","description":"The severity level to filter audit entries."},{"name":"TargetId","in":"query","schemaId":"schema_863","description":"The target entity identifier related to the audit entry.","example":12345},{"name":"TargetIdentifier","in":"query","schemaId":"schema_876","description":"The string identifier of the target entity.","example":"Asset-12345"},{"name":"Timestamp","in":"query","schemaId":"schema_877","description":"The timestamp to filter audit entries.","example":"2025-09-16"},{"name":"UserId","in":"query","schemaId":"schema_878","description":"The user identifier associated with the audit entry.","example":67890},{"name":"ScrollId","in":"query","schemaId":"schema_879","description":"The ID of the scroll session to get the next results for.","example":"scroll-session-abc123"},{"name":"ScrollTime","in":"query","schemaId":"schema_880","description":"The time to keep the scroll session active.","example":"00:05:00"},{"name":"FullText","in":"query","schemaId":"schema_881","description":"The full-text search term to filter audit records.","example":"user login"},{"name":"Raw","in":"query","schemaId":"schema_882","description":"The raw query string for advanced filtering."},{"name":"EntityId","in":"query","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345},{"name":"From","in":"query","schemaId":"schema_883","description":"The start date of the range filter.","example":"2025-01-01"},{"name":"To","in":"query","schemaId":"schema_884","description":"The end date of the range filter.","example":"2025-01-31"},{"name":"Skip","in":"query","schemaId":"schema_885","description":"The number of items to skip for pagination. Null if negative.","example":0},{"name":"Take","in":"query","schemaId":"schema_886","description":"The number of items to take for pagination. Null if negative.","example":25},{"name":"Sort","in":"query","schemaId":"schema_887","description":"The field name to sort by.","example":"timestamp"},{"name":"Order","in":"query","schemaId":"schema_888","description":"The sort order (ascending or descending)."},{"name":"Ascending","in":"query","schemaId":"schema_889","description":"Whether the sort order is ascending."},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"pointer":"/paths/~1api~1audit~1scripting~1scroll~1{entityId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/audit/scripting/scroll/{entityId}","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[{"name":"entityId","in":"path","example":12345,"schemaId":"schema_863"}],"query":[{"name":"ScriptType","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Scripting.Base.ScriptUseType"},{"name":"ScriptName","in":"query","example":"MyCustomScript","schemaId":"schema_908"},{"name":"ScriptContentId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"ScriptContentIdentifier","in":"query","example":"Script-12345","schemaId":"schema_909"},{"name":"ErrorMessage","in":"query","example":"Script execution failed: Invalid parameter","schemaId":"schema_910"},{"name":"ExecutionSource","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Scripting.Audit.ExecutionSource"},{"name":"Id","in":"query","schemaId":"schema_873"},{"name":"EventType","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Audit.EventType"},{"name":"Severity","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Audit.Severity"},{"name":"TargetId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"TargetIdentifier","in":"query","example":"Asset-12345","schemaId":"schema_876"},{"name":"Timestamp","in":"query","example":"2025-09-16","schemaId":"schema_877"},{"name":"UserId","in":"query","example":67890,"schemaId":"schema_878"},{"name":"ScrollId","in":"query","example":"scroll-session-abc123","schemaId":"schema_879"},{"name":"ScrollTime","in":"query","example":"00:05:00","schemaId":"schema_880"},{"name":"FullText","in":"query","example":"user login","schemaId":"schema_881"},{"name":"Raw","in":"query","schemaId":"schema_882"},{"name":"EntityId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"From","in":"query","example":"2025-01-01","schemaId":"schema_883"},{"name":"To","in":"query","example":"2025-01-31","schemaId":"schema_884"},{"name":"Skip","in":"query","example":0,"schemaId":"schema_885"},{"name":"Take","in":"query","example":25,"schemaId":"schema_886"},{"name":"Sort","in":"query","example":"timestamp","schemaId":"schema_887"},{"name":"Order","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Querying.SortOrder"},{"name":"Ascending","in":"query","schemaId":"schema_889"},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/api/audit/scripting/scroll/{entityId}","href":"scripting/auditscriptingscroll","openApiOperationId":"AuditScriptingScroll","summary":"Scroll through scripting audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful operation","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfScriptingAuditResource"}},"schemaId":"components/schemas/ListResourceOfScriptingAuditResource"},{"code":"400","description":"Invalid request or maximum allowed value exceeded","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request"}],"pointer":"/paths/~1api~1audit~1scripting~1scroll~1{entityId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListResourceOfScriptingAuditResource","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfScriptingAuditResource"}}},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/scripting/auditscriptingscroll"}],"panels":[]}]},"httpPath":"/api/audit/scripting/scroll/{entityId}"},{"label":"Requests a download order for scripting audit log entries","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/scripting/auditscriptinggenerate","routeSlug":"/ch/audit-api/scripting/auditscriptinggenerate","metadata":{"seo":{"title":"Requests a download order for scripting audit log entries","description":"This endpoint creates a download order for scripting audit log entries based on the specified parameters."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditScriptingGenerate","name":"Requests a download order for scripting audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1scripting~1generate/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Requests a download order for scripting audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"This endpoint creates a download order for scripting audit log entries based on the specified parameters."},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams"}},"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams","pointer":"/paths/~1api~1audit~1scripting~1generate/post/requestBody","description":"The parameters for generating the download order for scripting audit logs."}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/audit/scripting/generate","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams"}},"responseCodes":["202","400","401"],"pointer":"/api/audit/scripting/generate","href":"scripting/auditscriptinggenerate","openApiOperationId":"AuditScriptingGenerate","summary":"Requests a download order for scripting audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":"Accepted"},{"code":"400","description":"Invalid request or unsupported file format","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request or invalid access token"}],"pointer":"/paths/~1api~1audit~1scripting~1generate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202"},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/scripting/auditscriptinggenerate"}],"panels":[]}]},"httpPath":"/api/audit/scripting/generate"}],"content":{"contentType":"group","meta":{"name":"Scripting"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Scripting","showPageActions":true},{"nodeType":"markdoc","content":"Query and scroll through scripting audit log entries for script executions and automation events."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/audit/scripting/query/{entityId}","summary":"Query scripting audit log entries","prefix":{"name":"get","color":"get"},"badges":[],"link":"/scripting/auditscriptingquery","deprecated":false},{"title":"/api/audit/scripting/scroll/{entityId}","summary":"Scroll through scripting audit log entries","prefix":{"name":"get","color":"get"},"badges":[],"link":"/scripting/auditscriptingscroll","deprecated":false},{"title":"/api/audit/scripting/generate","summary":"Requests a download order for scripting audit log entries","prefix":{"name":"post","color":"post"},"badges":[],"link":"/scripting/auditscriptinggenerate","deprecated":false}]}]}]}]}},{"type":"group","label":"Triggers","link":"/ch/audit-api/triggers","routeSlug":"/ch/audit-api/triggers","items":[{"label":"Query trigger audit log entries","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/triggers/audittriggerquery","routeSlug":"/ch/audit-api/triggers/audittriggerquery","metadata":{"seo":{"title":"Query trigger audit log entries","description":"Queries the trigger audit log for entries that match the specified filter and paging parameters. The maximum allowed value for the take parameter is 100."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditTriggerQuery","name":"Query trigger audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1trigger~1query~1{entityId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Query trigger audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Queries the trigger audit log for entries that match the specified filter and paging parameters. The maximum allowed value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"take"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" parameter is 100."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"entityId","in":"path","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345}],"pointer":"/paths/~1api~1audit~1trigger~1query~1{entityId}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"ExecutionType","in":"query","schemaId":"schema_867","description":"The execution type to filter trigger logs."},{"name":"Objective","in":"query","schemaId":"schema_912","description":"The objective of the auditing trigger to filter logs."},{"name":"AssociatedId","in":"query","schemaId":"schema_863","description":"The associated entity ID to filter trigger logs.","example":12345},{"name":"ActivatedForEvent","in":"query","schemaId":"schema_872","description":"Whether the trigger was activated for the event."},{"name":"Id","in":"query","schemaId":"schema_873","description":"The unique identifier of the audit entry."},{"name":"EventType","in":"query","schemaId":"schema_874","description":"The type of event to filter audit entries."},{"name":"Severity","in":"query","schemaId":"schema_875","description":"The severity level to filter audit entries."},{"name":"TargetId","in":"query","schemaId":"schema_863","description":"The target entity identifier related to the audit entry.","example":12345},{"name":"TargetIdentifier","in":"query","schemaId":"schema_876","description":"The string identifier of the target entity.","example":"Asset-12345"},{"name":"Timestamp","in":"query","schemaId":"schema_877","description":"The timestamp to filter audit entries.","example":"2025-09-16"},{"name":"UserId","in":"query","schemaId":"schema_878","description":"The user identifier associated with the audit entry.","example":67890},{"name":"ScrollId","in":"query","schemaId":"schema_879","description":"The ID of the scroll session to get the next results for.","example":"scroll-session-abc123"},{"name":"ScrollTime","in":"query","schemaId":"schema_880","description":"The time to keep the scroll session active.","example":"00:05:00"},{"name":"FullText","in":"query","schemaId":"schema_881","description":"The full-text search term to filter audit records.","example":"user login"},{"name":"Raw","in":"query","schemaId":"schema_882","description":"The raw query string for advanced filtering."},{"name":"EntityId","in":"query","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345},{"name":"From","in":"query","schemaId":"schema_883","description":"The start date of the range filter.","example":"2025-01-01"},{"name":"To","in":"query","schemaId":"schema_884","description":"The end date of the range filter.","example":"2025-01-31"},{"name":"Skip","in":"query","schemaId":"schema_885","description":"The number of items to skip for pagination. Null if negative.","example":0},{"name":"Take","in":"query","schemaId":"schema_886","description":"The number of items to take for pagination. Null if negative.","example":25},{"name":"Sort","in":"query","schemaId":"schema_887","description":"The field name to sort by.","example":"timestamp"},{"name":"Order","in":"query","schemaId":"schema_888","description":"The sort order (ascending or descending)."},{"name":"Ascending","in":"query","schemaId":"schema_889","description":"Whether the sort order is ascending."},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"pointer":"/paths/~1api~1audit~1trigger~1query~1{entityId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/audit/trigger/query/{entityId}","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[{"name":"entityId","in":"path","example":12345,"schemaId":"schema_863"}],"query":[{"name":"ExecutionType","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Actions.Audit.ExecutionType"},{"name":"Objective","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Triggers.Audit.AuditingTriggerObjective"},{"name":"AssociatedId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"ActivatedForEvent","in":"query","schemaId":"schema_872"},{"name":"Id","in":"query","schemaId":"schema_873"},{"name":"EventType","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Audit.EventType"},{"name":"Severity","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Audit.Severity"},{"name":"TargetId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"TargetIdentifier","in":"query","example":"Asset-12345","schemaId":"schema_876"},{"name":"Timestamp","in":"query","example":"2025-09-16","schemaId":"schema_877"},{"name":"UserId","in":"query","example":67890,"schemaId":"schema_878"},{"name":"ScrollId","in":"query","example":"scroll-session-abc123","schemaId":"schema_879"},{"name":"ScrollTime","in":"query","example":"00:05:00","schemaId":"schema_880"},{"name":"FullText","in":"query","example":"user login","schemaId":"schema_881"},{"name":"Raw","in":"query","schemaId":"schema_882"},{"name":"EntityId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"From","in":"query","example":"2025-01-01","schemaId":"schema_883"},{"name":"To","in":"query","example":"2025-01-31","schemaId":"schema_884"},{"name":"Skip","in":"query","example":0,"schemaId":"schema_885"},{"name":"Take","in":"query","example":25,"schemaId":"schema_886"},{"name":"Sort","in":"query","example":"timestamp","schemaId":"schema_887"},{"name":"Order","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Querying.SortOrder"},{"name":"Ascending","in":"query","schemaId":"schema_889"},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/api/audit/trigger/query/{entityId}","href":"triggers/audittriggerquery","openApiOperationId":"AuditTriggerQuery","summary":"Query trigger audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful operation","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfTriggerAuditResource"}},"schemaId":"components/schemas/ListResourceOfTriggerAuditResource"},{"code":"400","description":"Invalid request or maximum allowed value exceeded","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request"}],"pointer":"/paths/~1api~1audit~1trigger~1query~1{entityId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListResourceOfTriggerAuditResource","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfTriggerAuditResource"}}},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/triggers/audittriggerquery"}],"panels":[]}]},"httpPath":"/api/audit/trigger/query/{entityId}"},{"label":"Scroll through trigger audit log entries","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/triggers/audittriggerscroll","routeSlug":"/ch/audit-api/triggers/audittriggerscroll","metadata":{"seo":{"title":"Scroll through trigger audit log entries","description":"Allows you to scroll through the trigger audit log in batches using the specified parameters. The maximum allowed value for the take or batchSize parameters is 100."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditTriggerScroll","name":"Scroll through trigger audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1trigger~1scroll~1{entityId}/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Scroll through trigger audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Allows you to scroll through the trigger audit log in batches using the specified parameters. The maximum allowed value for the "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"take"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" or "},"children":[]},{"$$mdtype":"Node","type":"code","inline":true,"attributes":{"content":"batchSize"},"children":[]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":" parameters is 100."},"children":[]}]}]}]},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"path","label":"Path","labelTranslationKey":"path","parameters":[{"name":"entityId","in":"path","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345}],"pointer":"/paths/~1api~1audit~1trigger~1scroll~1{entityId}/get/parameters"},{"nodeType":"item-content","variant":"query","label":"Query","labelTranslationKey":"query","parameters":[{"name":"ExecutionType","in":"query","schemaId":"schema_867","description":"The execution type to filter trigger logs."},{"name":"Objective","in":"query","schemaId":"schema_912","description":"The objective of the auditing trigger to filter logs."},{"name":"AssociatedId","in":"query","schemaId":"schema_863","description":"The associated entity ID to filter trigger logs.","example":12345},{"name":"ActivatedForEvent","in":"query","schemaId":"schema_872","description":"Whether the trigger was activated for the event."},{"name":"Id","in":"query","schemaId":"schema_873","description":"The unique identifier of the audit entry."},{"name":"EventType","in":"query","schemaId":"schema_874","description":"The type of event to filter audit entries."},{"name":"Severity","in":"query","schemaId":"schema_875","description":"The severity level to filter audit entries."},{"name":"TargetId","in":"query","schemaId":"schema_863","description":"The target entity identifier related to the audit entry.","example":12345},{"name":"TargetIdentifier","in":"query","schemaId":"schema_876","description":"The string identifier of the target entity.","example":"Asset-12345"},{"name":"Timestamp","in":"query","schemaId":"schema_877","description":"The timestamp to filter audit entries.","example":"2025-09-16"},{"name":"UserId","in":"query","schemaId":"schema_878","description":"The user identifier associated with the audit entry.","example":67890},{"name":"ScrollId","in":"query","schemaId":"schema_879","description":"The ID of the scroll session to get the next results for.","example":"scroll-session-abc123"},{"name":"ScrollTime","in":"query","schemaId":"schema_880","description":"The time to keep the scroll session active.","example":"00:05:00"},{"name":"FullText","in":"query","schemaId":"schema_881","description":"The full-text search term to filter audit records.","example":"user login"},{"name":"Raw","in":"query","schemaId":"schema_882","description":"The raw query string for advanced filtering."},{"name":"EntityId","in":"query","schemaId":"schema_863","description":"The identifier of the entity to filter audit records.","example":12345},{"name":"From","in":"query","schemaId":"schema_883","description":"The start date of the range filter.","example":"2025-01-01"},{"name":"To","in":"query","schemaId":"schema_884","description":"The end date of the range filter.","example":"2025-01-31"},{"name":"Skip","in":"query","schemaId":"schema_885","description":"The number of items to skip for pagination. Null if negative.","example":0},{"name":"Take","in":"query","schemaId":"schema_886","description":"The number of items to take for pagination. Null if negative.","example":25},{"name":"Sort","in":"query","schemaId":"schema_887","description":"The field name to sort by.","example":"timestamp"},{"name":"Order","in":"query","schemaId":"schema_888","description":"The sort order (ascending or descending)."},{"name":"Ascending","in":"query","schemaId":"schema_889","description":"Whether the sort order is ascending."},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"pointer":"/paths/~1api~1audit~1trigger~1scroll~1{entityId}/get/parameters"}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/api/audit/trigger/scroll/{entityId}","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[{"name":"entityId","in":"path","example":12345,"schemaId":"schema_863"}],"query":[{"name":"ExecutionType","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Actions.Audit.ExecutionType"},{"name":"Objective","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Triggers.Audit.AuditingTriggerObjective"},{"name":"AssociatedId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"ActivatedForEvent","in":"query","schemaId":"schema_872"},{"name":"Id","in":"query","schemaId":"schema_873"},{"name":"EventType","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Audit.EventType"},{"name":"Severity","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Audit.Severity"},{"name":"TargetId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"TargetIdentifier","in":"query","example":"Asset-12345","schemaId":"schema_876"},{"name":"Timestamp","in":"query","example":"2025-09-16","schemaId":"schema_877"},{"name":"UserId","in":"query","example":67890,"schemaId":"schema_878"},{"name":"ScrollId","in":"query","example":"scroll-session-abc123","schemaId":"schema_879"},{"name":"ScrollTime","in":"query","example":"00:05:00","schemaId":"schema_880"},{"name":"FullText","in":"query","example":"user login","schemaId":"schema_881"},{"name":"Raw","in":"query","schemaId":"schema_882"},{"name":"EntityId","in":"query","example":12345,"schemaId":"schema_863"},{"name":"From","in":"query","example":"2025-01-01","schemaId":"schema_883"},{"name":"To","in":"query","example":"2025-01-31","schemaId":"schema_884"},{"name":"Skip","in":"query","example":0,"schemaId":"schema_885"},{"name":"Take","in":"query","example":25,"schemaId":"schema_886"},{"name":"Sort","in":"query","example":"timestamp","schemaId":"schema_887"},{"name":"Order","in":"query","schemaId":"components/schemas/Stylelabs.M.Base.Querying.SortOrder"},{"name":"Ascending","in":"query","schemaId":"schema_889"},{"name":"Range.Begin","in":"query","schemaId":"schema_890"},{"name":"Range.End","in":"query","schemaId":"schema_890"}],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"responseCodes":["200","400","401"],"pointer":"/api/audit/trigger/scroll/{entityId}","href":"triggers/audittriggerscroll","openApiOperationId":"AuditTriggerScroll","summary":"Scroll through trigger audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Successful operation","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfTriggerAuditResource"}},"schemaId":"components/schemas/ListResourceOfTriggerAuditResource"},{"code":"400","description":"Invalid request or maximum allowed value exceeded","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request"}],"pointer":"/paths/~1api~1audit~1trigger~1scroll~1{entityId}/get/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"200","schemaId":"components/schemas/ListResourceOfTriggerAuditResource","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"components/schemas/ListResourceOfTriggerAuditResource"}}},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/triggers/audittriggerscroll"}],"panels":[]}]},"httpPath":"/api/audit/trigger/scroll/{entityId}"},{"label":"Requests a download order for trigger audit log entries","deprecated":false,"httpVerb":"post","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/ch/audit-api/triggers/audittriggergenerate","routeSlug":"/ch/audit-api/triggers/audittriggergenerate","metadata":{"seo":{"title":"Requests a download order for trigger audit log entries","description":"Creates a download order for trigger audit log entries based on the specified parameters."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"AuditTriggerGenerate","name":"Requests a download order for trigger audit log entries","isWebhook":false,"pointer":"/paths/~1api~1audit~1trigger~1generate/post","hasSamples":true},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Requests a download order for trigger audit log entries","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Creates a download order for trigger audit log entries based on the specified parameters."},{"nodeType":"security","requirements":[{"schemes":[{"name":"OAuth2","scopes":[],"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}]}]},{"nodeType":"item-content","variant":"body","label":"Request Body","labelTranslationKey":"body","required":true,"mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams"}},"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams","pointer":"/paths/~1api~1audit~1trigger~1generate/post/requestBody","description":"The parameters for generating the download order for trigger audit logs."}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"POST","path":"/api/audit/trigger/generate","servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}],"scopes":[]}],"requestBody":{"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams"}},"responseCodes":["202","400","401"],"pointer":"/api/audit/trigger/generate","href":"triggers/audittriggergenerate","openApiOperationId":"AuditTriggerGenerate","summary":"Requests a download order for trigger audit log entries"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams","mediaTypes":["application/json"],"mediaTypeSchemas":{"application/json":{"schemaId":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams"}},"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"202","description":"Accepted"},{"code":"400","description":"Request not valid or unsupported file format","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}},"schemaId":"schema_882"},{"code":"401","description":"Unauthorized request"}],"pointer":"/paths/~1api~1audit~1trigger~1generate/post/responses"}],"panels":[{"children":[{"kind":"response","responseCodes":[{"code":"202"},{"code":"400","schemaId":"schema_882","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_882"}}},{"code":"401"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/triggers/audittriggergenerate"}],"panels":[]}]},"httpPath":"/api/audit/trigger/generate"}],"content":{"contentType":"group","meta":{"name":"Triggers"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Triggers","showPageActions":true},{"nodeType":"markdoc","content":"Query and scroll through trigger audit log entries for automated system triggers and workflows."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/api/audit/trigger/query/{entityId}","summary":"Query trigger audit log entries","prefix":{"name":"get","color":"get"},"badges":[],"link":"/triggers/audittriggerquery","deprecated":false},{"title":"/api/audit/trigger/scroll/{entityId}","summary":"Scroll through trigger audit log entries","prefix":{"name":"get","color":"get"},"badges":[],"link":"/triggers/audittriggerscroll","deprecated":false},{"title":"/api/audit/trigger/generate","summary":"Requests a download order for trigger audit log entries","prefix":{"name":"post","color":"post"},"badges":[],"link":"/triggers/audittriggergenerate","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/Sitecore.ContentHub.Search.Filters.FilterOperator":{"id":"components/schemas/Sitecore.ContentHub.Search.Filters.FilterOperator","kind":"json-schema","title":"FilterOperator","data":{"title":"FilterOperator","enum":["None","Equals","LessThan","GreaterThan","Between","StartsWith","EndsWith","Contains","FacetEquals","DoesNotContain","DoesNotStartWith","DoesNotEndWith","LessThanOrEquals","GreaterThanOrEquals","DoesNotEqual","AnyOf","AllOf","NoneOf","Missing","Exists","Changed"],"type":"string"}},"components/schemas/Stylelabs.M.Base.Actions.Audit.ActionPhase":{"id":"components/schemas/Stylelabs.M.Base.Actions.Audit.ActionPhase","kind":"json-schema","title":"ActionPhase","data":{"title":"ActionPhase","enum":["Post","Pre","Security","Validation","Audit"],"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Represents the different phases of an action within the system. "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"b","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"IMPORTANT"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Do not change the number of existing entries because this will break compatibility with older versions."},"children":[]}]}]}]}},"components/schemas/Stylelabs.M.Base.Actions.Audit.ActionType":{"id":"components/schemas/Stylelabs.M.Base.Actions.Audit.ActionType","kind":"json-schema","title":"ActionType","data":{"title":"ActionType","enum":["ApiCall","ActionScript","AzureEventHub","ReportingChannel","PrintEntityGeneration","StartBpmAutomation","StartSmAutomation","AzureServiceBus","MAzureServiceBus"],"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Represents the types of actions that can be audited. "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"b","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"IMPORTANT"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Do not change the number of existing entries because this will break compatibility with older versions."},"children":[]}]}]}]}},"components/schemas/Stylelabs.M.Base.Actions.Audit.ExecutionSource":{"id":"components/schemas/Stylelabs.M.Base.Actions.Audit.ExecutionSource","kind":"json-schema","title":"ExecutionSource","data":{"title":"ExecutionSource","enum":["Unknown","Trigger","ExternalAction","Command","WebApi","MassEdit","BPM"],"type":"string","description":"Specifies the source from which an execution originates."}},"components/schemas/Stylelabs.M.Base.Actions.Audit.ExecutionType":{"id":"components/schemas/Stylelabs.M.Base.Actions.Audit.ExecutionType","kind":"json-schema","title":"ExecutionType","data":{"title":"ExecutionType","enum":["OutOfProcess","InProcess"],"type":"string","description":"Specifies the type of execution for an action."}},"components/schemas/Stylelabs.M.Base.Audit.AuditType":{"id":"components/schemas/Stylelabs.M.Base.Audit.AuditType","kind":"json-schema","title":"AuditType","data":{"title":"AuditType","enum":["Trigger","Action","Scripting","Business","Raw","Edge","PublicLink","RawOperational","DataPackageExport","DataPackageImport"],"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Represents the type of audit event. "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"b","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"IMPORTANT"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Do not change the number of existing entries or their order because this will break compatibility with older versions."},"children":[]}]}]}]}},"components/schemas/Stylelabs.M.Base.Audit.EventType":{"id":"components/schemas/Stylelabs.M.Base.Audit.EventType","kind":"json-schema","title":"EventType","data":{"title":"EventType","enum":["Created","Updated","Deleted","Enabled","Disabled","Executed","PackageExported","PackageImported"],"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Represents the type of audit event. "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"b","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"IMPORTANT"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Do not change the number of existing entries because this will break compatibility with older versions."},"children":[]}]}]}]}},"components/schemas/Stylelabs.M.Base.Audit.Severity":{"id":"components/schemas/Stylelabs.M.Base.Audit.Severity","kind":"json-schema","title":"Severity","data":{"title":"Severity","enum":["Debug","Warning","Info","Error","Fatal"],"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Represents the severity level for audit events. "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"b","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"IMPORTANT"},"children":[]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":": Do not change the number of existing entries. Doing so will break compatibility with older versions."},"children":[]}]}]}]}},"components/schemas/Stylelabs.M.Base.Querying.SortOrder":{"id":"components/schemas/Stylelabs.M.Base.Querying.SortOrder","kind":"json-schema","title":"SortOrder","data":{"title":"SortOrder","enum":["ascending","descending"],"type":"string"}},"components/schemas/Stylelabs.M.Base.Scripting.Audit.ExecutionSource":{"id":"components/schemas/Stylelabs.M.Base.Scripting.Audit.ExecutionSource","kind":"json-schema","title":"Stylelabs.M.Base.Scripting.Audit.ExecutionSource","data":{"title":"Stylelabs.M.Base.Scripting.Audit.ExecutionSource","enum":["Automatic","Trigger","WebApi","Command","ExternalAction","MassEdit"],"type":"string","description":"Execution source."}},"components/schemas/Stylelabs.M.Base.Scripting.Base.ScriptUseType":{"id":"components/schemas/Stylelabs.M.Base.Scripting.Base.ScriptUseType","kind":"json-schema","title":"ScriptUseType","data":{"title":"ScriptUseType","enum":["UserPreRegistration","UserPostRegistration","UserSignIn","MetadataProcessing","ActionScript","Shared","AIResultProcessing","AIInputProcessing"],"type":"string","description":[{"$$mdtype":"Node","type":"paragraph","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Collection of all available script types derived from "},"children":[]},{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"see","attrs":{}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","inline":true,"attributes":{"name":"cref","attrs":{}},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Names.ScriptType"},"children":[]}]}]},{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"."},"children":[]}]}]}]}},"components/schemas/Stylelabs.M.Base.Search.Resources.Components.AggregationRequestResource":{"id":"components/schemas/Stylelabs.M.Base.Search.Resources.Components.AggregationRequestResource","kind":"json-schema","title":"AggregationRequestResource","data":{"title":"AggregationRequestResource","type":"object","properties":{"name":{"title":"String","type":"string","nullable":true},"field":{"title":"String","type":"string","nullable":true},"size":{"title":"Int32","type":"integer","format":"int32"},"datasource":{"title":"String","type":"string","nullable":true},"children":{"title":"ListOfAggregationRequestResource","type":"array","items":{"$ref":"#/components/schemas/Stylelabs.M.Base.Search.Resources.Components.AggregationRequestResource"},"nullable":true},"metric_option":{"$ref":"#/components/schemas/Stylelabs.M.Base.Search.Resources.Components.MetricOptionRequestResource"},"type":{"$ref":"#/components/schemas/Stylelabs.M.Base.Search.Resources.Components.RequestedAggregationType"},"interval":{"$ref":"#/components/schemas/Stylelabs.M.Base.Search.Resources.Components.DateInterval"},"format":{"title":"String","type":"string","nullable":true},"include_missing":{"title":"Boolean","type":"boolean"}},"additionalProperties":false}},"components/schemas/Stylelabs.M.Base.Search.Resources.Components.DateInterval":{"id":"components/schemas/Stylelabs.M.Base.Search.Resources.Components.DateInterval","kind":"json-schema","title":"DateInterval","data":{"title":"DateInterval","enum":["second","minute","hour","day","week","month","quarter","year"],"type":"string"}},"components/schemas/Stylelabs.M.Base.Search.Resources.Components.FieldFilterRequestResource":{"id":"components/schemas/Stylelabs.M.Base.Search.Resources.Components.FieldFilterRequestResource","kind":"json-schema","title":"FieldFilterRequestResource","data":{"title":"FieldFilterRequestResource","type":"object","properties":{"name":{"title":"String","type":"string","nullable":true},"definition":{"title":"String","type":"string","nullable":true},"group_identifier":{"title":"String","type":"string","nullable":true},"operator":{"$ref":"#/components/schemas/Sitecore.ContentHub.Search.Filters.FilterOperator"},"values":{"title":"ListOfObject","type":"array","items":{"title":"Object"},"nullable":true},"nested_values":{"title":"ListOfFieldFilterRequestResource","type":"array","items":{"$ref":"#/components/schemas/Stylelabs.M.Base.Search.Resources.Components.FieldFilterRequestResource"},"nullable":true},"hidden":{"title":"Boolean","type":"boolean"},"type":{"$ref":"#/components/schemas/Stylelabs.M.Base.Search.Resources.Components.RequestedFilterType"},"role":{"title":"String","type":"string","nullable":true},"visible":{"title":"Boolean","type":"boolean"},"multi_select":{"title":"Boolean","type":"boolean"},"selection_pool_specs":{"$ref":"#/components/schemas/Stylelabs.M.Base.Search.Resources.Components.SelectionPoolSpecs"}},"additionalProperties":false}},"components/schemas/Stylelabs.M.Base.Search.Resources.Components.FieldFilterResponseResource":{"id":"components/schemas/Stylelabs.M.Base.Search.Resources.Components.FieldFilterResponseResource","kind":"json-schema","title":"FieldFilterResponseResource","data":{"title":"FieldFilterResponseResource","type":"object","properties":{"name":{"title":"String","type":"string","nullable":true},"label":{"title":"String","type":"string","nullable":true},"type":{"title":"String","type":"string","nullable":true},"values":{"title":"ListOfFieldFilterValueResponseResource","type":"array","items":{"$ref":"#/components/schemas/Stylelabs.M.Base.Search.Resources.Components.FieldFilterValueResponseResource"},"nullable":true},"nested_values":{"title":"ListOfFieldFilterResponseResource","type":"array","items":{"$ref":"#/components/schemas/Stylelabs.M.Base.Search.Resources.Components.FieldFilterResponseResource"},"nullable":true},"definition":{"title":"String","type":"string","nullable":true},"operator":{"$ref":"#/components/schemas/Sitecore.ContentHub.Search.Filters.FilterOperator"},"removeQuery":{"title":"String","type":"string","nullable":true},"dynamic":{"title":"Boolean","type":"boolean"},"nested":{"title":"Boolean","type":"boolean"},"group":{"title":"String","type":"string","nullable":true},"visible":{"title":"Boolean","type":"boolean"},"multi_select":{"title":"Boolean","type":"boolean"}},"additionalProperties":false}},"components/schemas/Stylelabs.M.Base.Search.Resources.Components.FieldFilterValueResponseResource":{"id":"components/schemas/Stylelabs.M.Base.Search.Resources.Components.FieldFilterValueResponseResource","kind":"json-schema","title":"FieldFilterValueResponseResource","data":{"title":"FieldFilterValueResponseResource","type":"object","properties":{"value":{"title":"Object","type":"object","nullable":true},"label":{"title":"String","type":"string","nullable":true},"data":{"title":"JToken","type":"object","nullable":true}},"additionalProperties":false}},"components/schemas/Stylelabs.M.Base.Search.Resources.Components.MetricOptionRequestResource":{"id":"components/schemas/Stylelabs.M.Base.Search.Resources.Components.MetricOptionRequestResource","kind":"json-schema","title":"MetricOptionRequestResource","data":{"title":"MetricOptionRequestResource","type":"object","properties":{"name":{"title":"String","type":"string","nullable":true},"type":{"title":"String","type":"string","nullable":true},"field":{"title":"String","type":"string","nullable":true}},"additionalProperties":false}},"components/schemas/Stylelabs.M.Base.Search.Resources.Components.RequestedAggregationType":{"id":"components/schemas/Stylelabs.M.Base.Search.Resources.Components.RequestedAggregationType","kind":"json-schema","title":"RequestedAggregationType","data":{"title":"RequestedAggregationType","enum":["Term","Metric","Date"],"type":"string"}},"components/schemas/Stylelabs.M.Base.Search.Resources.Components.RequestedFilterType":{"id":"components/schemas/Stylelabs.M.Base.Search.Resources.Components.RequestedFilterType","kind":"json-schema","title":"RequestedFilterType","data":{"title":"RequestedFilterType","enum":["FieldFilter","InFilter","DynamicFilter","Nested","IdFilter","SelectionPoolFilter"],"type":"string"}},"components/schemas/Stylelabs.M.Base.Search.Resources.Components.SelectionPoolSpecs":{"id":"components/schemas/Stylelabs.M.Base.Search.Resources.Components.SelectionPoolSpecs","kind":"json-schema","title":"SelectionPoolSpecs","data":{"title":"SelectionPoolSpecs","type":"object","properties":{"pool_id":{"title":"Int64","type":"integer","format":"int64"},"sub_pool_id":{"title":"NullableOfInt64","type":"integer","format":"int64","nullable":true}},"additionalProperties":false}},"components/schemas/Stylelabs.M.Base.Triggers.Audit.AuditingTriggerObjective":{"id":"components/schemas/Stylelabs.M.Base.Triggers.Audit.AuditingTriggerObjective","kind":"json-schema","title":"AuditingTriggerObjective","data":{"title":"AuditingTriggerObjective","enum":["EntityDefinitionCreation","EntityDefinitionModification","EntityDefinitionDeletion","EntityCreation","EntityModification","EntityDeletion"],"type":"string","description":"Collection of all available objectives for M triggers for auditing purposes"}},"components/schemas/Stylelabs.M.Base.Web.Api.Models.EntityCopyOptions":{"id":"components/schemas/Stylelabs.M.Base.Web.Api.Models.EntityCopyOptions","kind":"json-schema","title":"EntityCopyOptions","data":{"title":"EntityCopyOptions","type":"object","properties":{"copy_profile_identifier":{"title":"String","type":"string","description":"Identifier of a copy profile that could be used for copying of an entity.","nullable":true},"copy_profile_id":{"title":"NullableOfInt64","type":"integer","description":"Identifier of a copy profile that could be used for copying of an entity.","format":"int64","nullable":true},"destination_entity_id":{"title":"NullableOfInt64","type":"integer","description":"ID of an entity that will be updated by copying values from an original entity.","format":"int64","nullable":true},"relation_copy_options":{"title":"IEnumerableOfRelationCopyOptions","type":"array","items":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.RelationCopyOptions"},"description":"Relation copy options if copy profile is not specified.","nullable":true},"property_copy_options":{"title":"IEnumerableOfPropertyCopyOptions","type":"array","items":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.PropertyCopyOptions"},"description":"Property copy options if copy profile is not specified.","nullable":true}},"additionalProperties":false}},"components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link":{"id":"components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link","kind":"json-schema","title":"Link","data":{"title":"Link","type":"object","properties":{"href":{"title":"String","type":"string","description":"Gets or sets the URI that points to the resource this link refers to.","nullable":true},"filename_properties":{"title":"String[]","type":"array","items":{"title":"String","type":"string"},"description":"Gets or sets the URI that points to the resource this link refers to.","nullable":true},"title":{"title":"String","type":"string","description":"Gets or sets the title that describes this link.","nullable":true},"templated":{"title":"Boolean","type":"boolean","description":"Gets or sets a value indicating whether the contained URI is a template.","default":false}},"additionalProperties":false,"description":"Represents a link to a resource."}},"components/schemas/ListResourceOfActionAuditResource":{"id":"components/schemas/ListResourceOfActionAuditResource","kind":"json-schema","title":"ListResourceOfActionAuditResource","data":{"title":"ListResourceOfActionAuditResource","type":"object","properties":{"items":{"title":"ListOfActionAuditResource","type":"array","items":{"$ref":"#/components/schemas/Stylelabs.M.Reporting.Resources.ActionAuditResource"},"description":"Gets or sets the list of items.","nullable":true},"total_items":{"title":"NullableOfInt64","type":"integer","description":"Gets or sets the total number of items.","format":"int64","nullable":true},"returned_items":{"title":"NullableOfInt64","type":"integer","description":"Gets or sets the number of returned items.","format":"int64","nullable":true},"offset":{"title":"NullableOfInt32","type":"integer","description":"Gets or sets the offset of the items.","format":"int32","nullable":true},"next":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"},"previous":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"},"identifier":{"title":"String","type":"string","description":"Gets or sets the identifier of the resource.","nullable":true},"self":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"}},"additionalProperties":{"title":"JToken"},"description":"Represents a paginated list resource."}},"components/schemas/ListResourceOfBusinessAuditResource":{"id":"components/schemas/ListResourceOfBusinessAuditResource","kind":"json-schema","title":"ListResourceOfBusinessAuditResource","data":{"title":"ListResourceOfBusinessAuditResource","type":"object","properties":{"items":{"title":"ListOfBusinessAuditResource","type":"array","items":{"$ref":"#/components/schemas/Stylelabs.M.Reporting.Resources.BusinessAuditResource"},"description":"Gets or sets the list of items.","nullable":true},"total_items":{"title":"NullableOfInt64","type":"integer","description":"Gets or sets the total number of items.","format":"int64","nullable":true},"returned_items":{"title":"NullableOfInt64","type":"integer","description":"Gets or sets the number of returned items.","format":"int64","nullable":true},"offset":{"title":"NullableOfInt32","type":"integer","description":"Gets or sets the offset of the items.","format":"int32","nullable":true},"next":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"},"previous":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"},"identifier":{"title":"String","type":"string","description":"Gets or sets the identifier of the resource.","nullable":true},"self":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"}},"additionalProperties":{"title":"JToken"},"description":"Represents a paginated list resource."}},"components/schemas/ListResourceOfPublicLinkAuditResource":{"id":"components/schemas/ListResourceOfPublicLinkAuditResource","kind":"json-schema","title":"ListResourceOfPublicLinkAuditResource","data":{"title":"ListResourceOfPublicLinkAuditResource","type":"object","properties":{"items":{"title":"ListOfPublicLinkAuditResource","type":"array","items":{"$ref":"#/components/schemas/Stylelabs.M.Reporting.Resources.PublicLinkAuditResource"},"description":"Gets or sets the list of items.","nullable":true},"total_items":{"title":"NullableOfInt64","type":"integer","description":"Gets or sets the total number of items.","format":"int64","nullable":true},"returned_items":{"title":"NullableOfInt64","type":"integer","description":"Gets or sets the number of returned items.","format":"int64","nullable":true},"offset":{"title":"NullableOfInt32","type":"integer","description":"Gets or sets the offset of the items.","format":"int32","nullable":true},"next":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"},"previous":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"},"identifier":{"title":"String","type":"string","description":"Gets or sets the identifier of the resource.","nullable":true},"self":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"}},"additionalProperties":{"title":"JToken"},"description":"Represents a paginated list resource."}},"components/schemas/ListResourceOfRawAuditResource":{"id":"components/schemas/ListResourceOfRawAuditResource","kind":"json-schema","title":"ListResourceOfRawAuditResource","data":{"title":"ListResourceOfRawAuditResource","type":"object","properties":{"items":{"title":"ListOfRawAuditResource","type":"array","items":{"$ref":"#/components/schemas/Stylelabs.M.Reporting.Resources.RawAuditResource"},"description":"Gets or sets the list of items.","nullable":true},"total_items":{"title":"NullableOfInt64","type":"integer","description":"Gets or sets the total number of items.","format":"int64","nullable":true},"returned_items":{"title":"NullableOfInt64","type":"integer","description":"Gets or sets the number of returned items.","format":"int64","nullable":true},"offset":{"title":"NullableOfInt32","type":"integer","description":"Gets or sets the offset of the items.","format":"int32","nullable":true},"next":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"},"previous":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"},"identifier":{"title":"String","type":"string","description":"Gets or sets the identifier of the resource.","nullable":true},"self":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"}},"additionalProperties":{"title":"JToken"},"description":"Represents a paginated list resource."}},"components/schemas/ListResourceOfScriptingAuditResource":{"id":"components/schemas/ListResourceOfScriptingAuditResource","kind":"json-schema","title":"ListResourceOfScriptingAuditResource","data":{"title":"ListResourceOfScriptingAuditResource","type":"object","properties":{"items":{"title":"ListOfScriptingAuditResource","type":"array","items":{"$ref":"#/components/schemas/Stylelabs.M.Reporting.Resources.ScriptingAuditResource"},"description":"Gets or sets the list of items.","nullable":true},"total_items":{"title":"NullableOfInt64","type":"integer","description":"Gets or sets the total number of items.","format":"int64","nullable":true},"returned_items":{"title":"NullableOfInt64","type":"integer","description":"Gets or sets the number of returned items.","format":"int64","nullable":true},"offset":{"title":"NullableOfInt32","type":"integer","description":"Gets or sets the offset of the items.","format":"int32","nullable":true},"next":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"},"previous":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"},"identifier":{"title":"String","type":"string","description":"Gets or sets the identifier of the resource.","nullable":true},"self":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"}},"additionalProperties":{"title":"JToken"},"description":"Represents a paginated list resource."}},"components/schemas/ListResourceOfTriggerAuditResource":{"id":"components/schemas/ListResourceOfTriggerAuditResource","kind":"json-schema","title":"ListResourceOfTriggerAuditResource","data":{"title":"ListResourceOfTriggerAuditResource","type":"object","properties":{"items":{"title":"ListOfTriggerAuditResource","type":"array","items":{"$ref":"#/components/schemas/Stylelabs.M.Reporting.Resources.TriggerAuditResource"},"description":"Gets or sets the list of items.","nullable":true},"total_items":{"title":"NullableOfInt64","type":"integer","description":"Gets or sets the total number of items.","format":"int64","nullable":true},"returned_items":{"title":"NullableOfInt64","type":"integer","description":"Gets or sets the number of returned items.","format":"int64","nullable":true},"offset":{"title":"NullableOfInt32","type":"integer","description":"Gets or sets the offset of the items.","format":"int32","nullable":true},"next":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"},"previous":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"},"identifier":{"title":"String","type":"string","description":"Gets or sets the identifier of the resource.","nullable":true},"self":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"}},"additionalProperties":{"title":"JToken"},"description":"Represents a paginated list resource."}},"components/schemas/Stylelabs.M.Base.Web.Api.Models.PropertyCopyOptions":{"id":"components/schemas/Stylelabs.M.Base.Web.Api.Models.PropertyCopyOptions","kind":"json-schema","title":"PropertyCopyOptions","data":{"title":"PropertyCopyOptions","type":"object","properties":{"property":{"title":"String","type":"string","description":"Property name","nullable":true},"method":{"title":"String","type":"string","description":"Copy method name","nullable":true},"new_value":{"title":"String","type":"string","description":"New value of property","nullable":true}},"additionalProperties":false}},"components/schemas/Stylelabs.M.Base.Web.Api.Models.RelationCopyOptions":{"id":"components/schemas/Stylelabs.M.Base.Web.Api.Models.RelationCopyOptions","kind":"json-schema","title":"RelationCopyOptions","data":{"title":"RelationCopyOptions","type":"object","properties":{"relation":{"title":"String","type":"string","description":"Relation name","nullable":true},"method":{"title":"String","type":"string","description":"Copy method name","nullable":true},"related_copy_options":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.EntityCopyOptions"},"new_value":{"title":"ICollectionOfInt64","type":"array","items":{"title":"Int64","type":"integer","format":"int64"},"description":"New value of relation","nullable":true}},"additionalProperties":false}},"components/schemas/Stylelabs.M.Base.Web.Api.Models.Status.ServiceStatusResource":{"id":"components/schemas/Stylelabs.M.Base.Web.Api.Models.Status.ServiceStatusResource","kind":"json-schema","title":"ServiceStatusResource","data":{"title":"ServiceStatusResource","type":"object","properties":{"service_status_label":{"title":"String","type":"string","description":"Label for Stylelabs.M.Base.Web.Api.Models.Status.ServiceStatusResource.Status","nullable":true,"readOnly":true},"service_status_message":{"title":"String","type":"string","description":"Message describing the Stylelabs.M.Base.Web.Api.Models.Status.ServiceStatusResource.Status in more detail.","nullable":true},"data":{"title":"Object","type":"object","description":"Optional additional json serializable data for this Stylelabs.M.Framework.Infrastructure.ServiceStatus. Defaults to null.","nullable":true},"aggregated_service_status_label":{"title":"String","type":"string","description":"Label for Stylelabs.M.Base.Web.Api.Models.Status.ServiceStatusResource.AggregatedStatus","nullable":true,"readOnly":true},"downstream_services":{"title":"DictionaryOfStringAndServiceStatusResource","type":"object","additionalProperties":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Status.ServiceStatusResource"},"description":"Optional collection of individual downstream-services. Can be null statuses.","nullable":true},"self":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"}},"additionalProperties":false,"description":"Hierarchical service status information"}},"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams":{"id":"components/schemas/Stylelabs.M.Reporting.Dto.Worker.DownloadReportingLogsParams","kind":"json-schema","title":"DownloadReportingLogsParams","data":{"title":"DownloadReportingLogsParams","type":"object","properties":{"audit_type":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.AuditType"},"format":{"$ref":"#/components/schemas/Stylelabs.M.Reporting.Input.FileFormat"},"from":{"title":"NullableOfDateTime","type":"string","format":"date-time","nullable":true},"to":{"title":"NullableOfDateTime","type":"string","format":"date-time","nullable":true},"filter":{"title":"DictionaryOfStringAndIEnumerableOfObject","type":"object","additionalProperties":{"title":"IEnumerableOfObject","type":"array","items":{"title":"Object"},"nullable":true},"nullable":true},"raw":{"title":"String","type":"string","nullable":true},"fullText":{"title":"String","type":"string","nullable":true},"logType":{"title":"String[]","type":"array","items":{"title":"String","type":"string"},"nullable":true}},"additionalProperties":false}},"components/schemas/Stylelabs.M.Reporting.Input.FileFormat":{"id":"components/schemas/Stylelabs.M.Reporting.Input.FileFormat","kind":"json-schema","title":"FileFormat","data":{"title":"FileFormat","enum":["CSV","Json"],"type":"string"}},"components/schemas/Stylelabs.M.Reporting.Resources.ActionAuditResource":{"id":"components/schemas/Stylelabs.M.Reporting.Resources.ActionAuditResource","kind":"json-schema","title":"ActionAuditResource","data":{"title":"ActionAuditResource","type":"object","properties":{"action_type":{"$ref":"#/components/schemas/Stylelabs.M.Base.Actions.Audit.ActionType"},"action_phase":{"$ref":"#/components/schemas/Stylelabs.M.Base.Actions.Audit.ActionPhase"},"execution_type":{"$ref":"#/components/schemas/Stylelabs.M.Base.Actions.Audit.ExecutionType"},"execution_source":{"$ref":"#/components/schemas/Stylelabs.M.Base.Actions.Audit.ExecutionSource"},"execution_time":{"title":"NullableOfInt64","type":"integer","format":"int64","nullable":true},"error_message":{"title":"String","type":"string","nullable":true},"target_name":{"title":"String","type":"string","nullable":true},"message_id":{"title":"NullableOfInt64","type":"integer","format":"int64","nullable":true},"retry_count":{"title":"NullableOfInt32","type":"integer","format":"int32","nullable":true},"success":{"title":"Boolean","type":"boolean"},"entity_id":{"title":"NullableOfInt64","type":"integer","format":"int64","nullable":true},"input":{"title":"JToken","type":"object","nullable":true},"output":{"title":"JToken","type":"object","nullable":true},"id":{"title":"Guid","type":"string","format":"uuid"},"audit_type":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.AuditType"},"event_type":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.EventType"},"severity":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.Severity"},"target_definition":{"title":"String","type":"string","nullable":true},"target_id":{"title":"NullableOfInt64","type":"integer","format":"int64","nullable":true},"target_identifier":{"title":"String","type":"string","nullable":true},"timestamp":{"title":"DateTime","type":"string","format":"date-time"},"user_id":{"title":"NullableOfInt64","type":"integer","format":"int64","nullable":true},"self":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"}},"additionalProperties":false}},"components/schemas/Stylelabs.M.Reporting.Resources.BusinessAuditResource":{"id":"components/schemas/Stylelabs.M.Reporting.Resources.BusinessAuditResource","kind":"json-schema","title":"BusinessAuditResource","data":{"title":"BusinessAuditResource","type":"object","properties":{"event_type":{"title":"String","type":"string","nullable":true},"created_by":{"title":"String","type":"string","nullable":true},"modified_by":{"title":"String","type":"string","nullable":true},"created_on":{"title":"String","type":"string","nullable":true},"modified_on":{"title":"String","type":"string","nullable":true},"username":{"title":"String","type":"string","nullable":true},"log_type":{"title":"String","type":"string","nullable":true},"browser_information":{"title":"String","type":"string","nullable":true},"geoip":{"title":"Object","type":"object","nullable":true},"authentication_type":{"title":"String","type":"string","nullable":true},"ip_address":{"title":"String","type":"string","nullable":true},"email_address":{"title":"String","type":"string","nullable":true},"transformation_name":{"title":"String","type":"string","nullable":true},"asset_id":{"title":"String","type":"string","nullable":true},"foreign_source":{"title":"String","type":"string","nullable":true},"foreign_id":{"title":"String","type":"string","nullable":true},"properties":{"title":"Object","type":"object","nullable":true},"ancestors":{"title":"Object","type":"object","nullable":true},"usage_request":{"title":"Object","type":"object","nullable":true},"user_agent":{"title":"Object","type":"object","nullable":true},"privileges":{"title":"Object","type":"object","nullable":true},"location":{"title":"String","type":"string","nullable":true},"delivery_mode":{"title":"String","type":"string","nullable":true},"rendition_type":{"title":"String","type":"string","nullable":true},"removed_rules":{"title":"Object","type":"object","nullable":true},"updated_rules":{"title":"Object","type":"object","nullable":true},"added_rules":{"title":"Object","type":"object","nullable":true},"impersonator_userid":{"title":"String","type":"string","nullable":true},"impersonator_username":{"title":"String","type":"string","nullable":true},"impersonator_email_address":{"title":"String","type":"string","nullable":true},"groupname":{"title":"String","type":"string","nullable":true},"deleted_by_username":{"title":"String","type":"string","nullable":true},"deleted_by_userid":{"title":"String","type":"string","nullable":true},"email_confirmation_pending":{"title":"String","type":"string","nullable":true},"reason":{"title":"String","type":"string","nullable":true},"external_provider":{"title":"String","type":"string","nullable":true},"requester_username":{"title":"String","type":"string","nullable":true},"requester_email_address":{"title":"String","type":"string","nullable":true},"usergroups_added":{"title":"Object","type":"object","nullable":true},"usergroups_removed":{"title":"Object","type":"object","nullable":true},"users_added":{"title":"Object","type":"object","nullable":true},"users_removed":{"title":"Object","type":"object","nullable":true},"modules_added":{"title":"Object","type":"object","nullable":true},"modules_removed":{"title":"Object","type":"object","nullable":true},"speed_test":{"title":"Object","type":"object","nullable":true},"notification_type":{"title":"String","type":"string","nullable":true},"recipient_email_address":{"title":"String","type":"string","nullable":true},"recipient_user_id":{"title":"String","type":"string","nullable":true},"id":{"title":"Guid","type":"string","format":"uuid"},"audit_type":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.AuditType"},"severity":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.Severity"},"target_definition":{"title":"String","type":"string","nullable":true},"target_id":{"title":"NullableOfInt64","type":"integer","format":"int64","nullable":true},"target_identifier":{"title":"String","type":"string","nullable":true},"timestamp":{"title":"DateTime","type":"string","format":"date-time"},"user_id":{"title":"NullableOfInt64","type":"integer","format":"int64","nullable":true},"self":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"}},"additionalProperties":false}},"components/schemas/Stylelabs.M.Reporting.Resources.DownloadBusinessLogsParams":{"id":"components/schemas/Stylelabs.M.Reporting.Resources.DownloadBusinessLogsParams","kind":"json-schema","title":"DownloadBusinessLogsParams","data":{"title":"DownloadBusinessLogsParams","type":"object","properties":{"logType":{"title":"String[]","type":"array","items":{"title":"String","type":"string"},"nullable":true},"filter":{"title":"DictionaryOfStringAndIEnumerableOfObject","type":"object","additionalProperties":{"title":"IEnumerableOfObject","type":"array","items":{"title":"Object"},"nullable":true},"nullable":true},"audit_type":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.AuditType"},"format":{"$ref":"#/components/schemas/Stylelabs.M.Reporting.Input.FileFormat"},"from":{"title":"NullableOfDateTime","type":"string","format":"date-time","nullable":true},"to":{"title":"NullableOfDateTime","type":"string","format":"date-time","nullable":true},"raw":{"title":"String","type":"string","nullable":true},"fullText":{"title":"String","type":"string","nullable":true}},"additionalProperties":false}},"components/schemas/Stylelabs.M.Reporting.Resources.PublicLinkAuditResource":{"id":"components/schemas/Stylelabs.M.Reporting.Resources.PublicLinkAuditResource","kind":"json-schema","title":"PublicLinkAuditResource","data":{"title":"PublicLinkAuditResource","type":"object","properties":{"data":{"title":"JToken","type":"object","nullable":true},"event_type":{"title":"String","type":"string","nullable":true},"created_by":{"title":"String","type":"string","nullable":true},"modified_by":{"title":"String","type":"string","nullable":true},"created_on":{"title":"String","type":"string","nullable":true},"modified_on":{"title":"String","type":"string","nullable":true},"username":{"title":"String","type":"string","nullable":true},"log_type":{"title":"String","type":"string","nullable":true},"browser_information":{"title":"String","type":"string","nullable":true},"geoip":{"title":"Object","type":"object","nullable":true},"authentication_type":{"title":"String","type":"string","nullable":true},"ip_address":{"title":"String","type":"string","nullable":true},"email_address":{"title":"String","type":"string","nullable":true},"transformation_name":{"title":"String","type":"string","nullable":true},"asset_id":{"title":"String","type":"string","nullable":true},"foreign_source":{"title":"String","type":"string","nullable":true},"foreign_id":{"title":"String","type":"string","nullable":true},"properties":{"title":"Object","type":"object","nullable":true},"ancestors":{"title":"Object","type":"object","nullable":true},"usage_request":{"title":"Object","type":"object","nullable":true},"user_agent":{"title":"Object","type":"object","nullable":true},"privileges":{"title":"Object","type":"object","nullable":true},"location":{"title":"String","type":"string","nullable":true},"delivery_mode":{"title":"String","type":"string","nullable":true},"rendition_type":{"title":"String","type":"string","nullable":true},"removed_rules":{"title":"Object","type":"object","nullable":true},"updated_rules":{"title":"Object","type":"object","nullable":true},"added_rules":{"title":"Object","type":"object","nullable":true},"impersonator_userid":{"title":"String","type":"string","nullable":true},"impersonator_username":{"title":"String","type":"string","nullable":true},"impersonator_email_address":{"title":"String","type":"string","nullable":true},"groupname":{"title":"String","type":"string","nullable":true},"deleted_by_username":{"title":"String","type":"string","nullable":true},"deleted_by_userid":{"title":"String","type":"string","nullable":true},"email_confirmation_pending":{"title":"String","type":"string","nullable":true},"reason":{"title":"String","type":"string","nullable":true},"external_provider":{"title":"String","type":"string","nullable":true},"requester_username":{"title":"String","type":"string","nullable":true},"requester_email_address":{"title":"String","type":"string","nullable":true},"usergroups_added":{"title":"Object","type":"object","nullable":true},"usergroups_removed":{"title":"Object","type":"object","nullable":true},"users_added":{"title":"Object","type":"object","nullable":true},"users_removed":{"title":"Object","type":"object","nullable":true},"modules_added":{"title":"Object","type":"object","nullable":true},"modules_removed":{"title":"Object","type":"object","nullable":true},"speed_test":{"title":"Object","type":"object","nullable":true},"notification_type":{"title":"String","type":"string","nullable":true},"recipient_email_address":{"title":"String","type":"string","nullable":true},"recipient_user_id":{"title":"String","type":"string","nullable":true},"id":{"title":"Guid","type":"string","format":"uuid"},"audit_type":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.AuditType"},"severity":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.Severity"},"target_definition":{"title":"String","type":"string","nullable":true},"target_id":{"title":"NullableOfInt64","type":"integer","format":"int64","nullable":true},"target_identifier":{"title":"String","type":"string","nullable":true},"timestamp":{"title":"DateTime","type":"string","format":"date-time"},"user_id":{"title":"NullableOfInt64","type":"integer","format":"int64","nullable":true},"self":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"}},"additionalProperties":false}},"components/schemas/Stylelabs.M.Reporting.Resources.RawAuditResource":{"id":"components/schemas/Stylelabs.M.Reporting.Resources.RawAuditResource","kind":"json-schema","title":"RawAuditResource","data":{"title":"RawAuditResource","type":"object","properties":{"event_type":{"title":"String","type":"string","nullable":true},"message_id":{"title":"NullableOfInt64","type":"integer","format":"int64","nullable":true},"username":{"title":"String","type":"string","nullable":true},"data":{"title":"JToken","type":"object","nullable":true},"id":{"title":"Guid","type":"string","format":"uuid"},"audit_type":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.AuditType"},"severity":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.Severity"},"target_definition":{"title":"String","type":"string","nullable":true},"target_id":{"title":"NullableOfInt64","type":"integer","format":"int64","nullable":true},"target_identifier":{"title":"String","type":"string","nullable":true},"timestamp":{"title":"DateTime","type":"string","format":"date-time"},"user_id":{"title":"NullableOfInt64","type":"integer","format":"int64","nullable":true},"self":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"}},"additionalProperties":false}},"components/schemas/Stylelabs.M.Reporting.Resources.ScriptingAuditResource":{"id":"components/schemas/Stylelabs.M.Reporting.Resources.ScriptingAuditResource","kind":"json-schema","title":"ScriptingAuditResource","data":{"title":"ScriptingAuditResource","type":"object","properties":{"script_type":{"$ref":"#/components/schemas/Stylelabs.M.Base.Scripting.Base.ScriptUseType"},"script_name":{"title":"String","type":"string","nullable":true},"script_content_id":{"title":"NullableOfInt64","type":"integer","format":"int64","nullable":true},"script_content_identifier":{"title":"String","type":"string","nullable":true},"execution_time":{"title":"Int64","type":"integer","format":"int64"},"execution_source":{"$ref":"#/components/schemas/Stylelabs.M.Base.Scripting.Audit.ExecutionSource"},"error_message":{"title":"String","type":"string","nullable":true},"context_data":{"title":"Object","type":"object","nullable":true},"id":{"title":"Guid","type":"string","format":"uuid"},"audit_type":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.AuditType"},"event_type":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.EventType"},"severity":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.Severity"},"target_definition":{"title":"String","type":"string","nullable":true},"target_id":{"title":"NullableOfInt64","type":"integer","format":"int64","nullable":true},"target_identifier":{"title":"String","type":"string","nullable":true},"timestamp":{"title":"DateTime","type":"string","format":"date-time"},"user_id":{"title":"NullableOfInt64","type":"integer","format":"int64","nullable":true},"self":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"}},"additionalProperties":false}},"components/schemas/Stylelabs.M.Reporting.Resources.TriggerAuditResource":{"id":"components/schemas/Stylelabs.M.Reporting.Resources.TriggerAuditResource","kind":"json-schema","title":"TriggerAuditResource","data":{"title":"TriggerAuditResource","type":"object","properties":{"execution_type":{"$ref":"#/components/schemas/Stylelabs.M.Base.Actions.Audit.ExecutionType"},"objective":{"$ref":"#/components/schemas/Stylelabs.M.Base.Triggers.Audit.AuditingTriggerObjective"},"objective_description":{"title":"String","type":"string","nullable":true},"activated":{"title":"Boolean","type":"boolean"},"probing_time":{"title":"Double","type":"number","format":"double"},"io_time":{"title":"Double","type":"number","format":"double"},"io_time_shared_among_triggers":{"title":"NullableOfInt32","type":"integer","format":"int32","nullable":true},"id":{"title":"Guid","type":"string","format":"uuid"},"audit_type":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.AuditType"},"event_type":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.EventType"},"severity":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.Severity"},"target_definition":{"title":"String","type":"string","nullable":true},"target_id":{"title":"NullableOfInt64","type":"integer","format":"int64","nullable":true},"target_identifier":{"title":"String","type":"string","nullable":true},"timestamp":{"title":"DateTime","type":"string","format":"date-time"},"user_id":{"title":"NullableOfInt64","type":"integer","format":"int64","nullable":true},"self":{"$ref":"#/components/schemas/Stylelabs.M.Base.Web.Api.Models.Linking.Link"}},"additionalProperties":false}},"components/schemas/Stylelabs.M.Reporting.Web.Api.Resources.AuditAggregate":{"id":"components/schemas/Stylelabs.M.Reporting.Web.Api.Resources.AuditAggregate","kind":"json-schema","title":"AuditAggregate","data":{"title":"AuditAggregate","required":["aggregations","field","name"],"type":"object","properties":{"name":{"title":"String","minLength":1,"type":"string","description":"The name of the aggregation."},"field":{"title":"String","minLength":1,"type":"string","description":"The field to aggregate on."},"size":{"title":"Int32","type":"integer","description":"The size of the aggregation.","format":"int32","default":10000},"aggregations":{"title":"IEnumerableOfAuditAggregation","type":"array","items":{"$ref":"#/components/schemas/Stylelabs.M.Reporting.Web.Api.Resources.AuditAggregation"},"description":"The collection of aggregation parameters."}},"additionalProperties":false,"description":"Represents an audit aggregation."}},"components/schemas/Stylelabs.M.Reporting.Web.Api.Resources.AuditAggregation":{"id":"components/schemas/Stylelabs.M.Reporting.Web.Api.Resources.AuditAggregation","kind":"json-schema","title":"AuditAggregation","data":{"title":"AuditAggregation","required":["script","type"],"type":"object","properties":{"script":{"title":"String","minLength":1,"type":"string","description":"The script to execute for the aggregation."},"type":{"$ref":"#/components/schemas/Stylelabs.M.Reporting.Web.Api.Resources.AuditAggregationType"}},"additionalProperties":false,"description":"Base class for an audit aggregation."}},"components/schemas/Stylelabs.M.Reporting.Web.Api.Resources.AuditAggregationType":{"id":"components/schemas/Stylelabs.M.Reporting.Web.Api.Resources.AuditAggregationType","kind":"json-schema","title":"AuditAggregationType","data":{"title":"AuditAggregationType","enum":["cardinality","filter"],"type":"string","description":"Enumeration of audit aggregation types."}},"components/schemas/Stylelabs.M.Reporting.Web.Api.Resources.BusinessLogQueryParams":{"id":"components/schemas/Stylelabs.M.Reporting.Web.Api.Resources.BusinessLogQueryParams","kind":"json-schema","title":"BusinessLogQueryParams","data":{"title":"BusinessLogQueryParams","type":"object","properties":{"eventTypes":{"title":"String[]","type":"array","items":{"title":"String","type":"string"},"description":"The event types to filter the logs.","nullable":true,"example":["lifecycle.created","lifecycle.approved","user.login.success","usergroup.modified"]},"createdBy":{"title":"String","type":"string","description":"The user who created the log.","nullable":true,"example":"admin"},"modifiedBy":{"title":"String","type":"string","description":"The user who modified the log.","nullable":true,"example":"editor"},"username":{"title":"String","type":"string","description":"The username associated with the log.","nullable":true,"example":"user1"},"definition":{"title":"String","type":"string","description":"The definition of the log.","nullable":true,"example":"M.Asset"},"logType":{"title":"String[]","type":"array","items":{"title":"String","type":"string"},"description":"The log types to filter the logs.","nullable":true},"aggregate":{"$ref":"#/components/schemas/Stylelabs.M.Reporting.Web.Api.Resources.AuditAggregate"},"scrollId":{"title":"String","type":"string","description":"The ID of the scroll session to get the next results for.","nullable":true,"example":"scroll-session-abc123"},"scrollTime":{"title":"NullableOfTimeSpan","type":"string","description":"The time to keep the scroll session active.","format":"date-span","nullable":true,"example":"00:05:00"},"fullText":{"title":"String","type":"string","description":"The full-text search term to filter audit records.","nullable":true,"example":"user login"},"raw":{"title":"String","type":"string","description":"The raw query string for advanced filtering.","nullable":true},"entityId":{"title":"NullableOfInt64","type":"integer","description":"The identifier of the entity to filter audit records.","format":"int64","nullable":true,"example":12345},"from":{"title":"NullableOfDateTime","type":"string","description":"The start date of the range filter.","format":"date-time","nullable":true,"example":"2025-01-01"},"to":{"title":"NullableOfDateTime","type":"string","description":"The end date of the range filter.","format":"date-time","nullable":true,"example":"2025-01-31"},"skip":{"title":"NullableOfInt32","type":"integer","description":"The number of items to skip for pagination. Null if negative.","format":"int32","default":0,"nullable":true,"example":0},"take":{"title":"NullableOfInt32","type":"integer","description":"The number of items to take for pagination. Null if negative.","format":"int32","default":25,"nullable":true,"example":25},"sort":{"title":"String","type":"string","description":"The field name to sort by.","nullable":true,"example":"timestamp"},"order":{"$ref":"#/components/schemas/Stylelabs.M.Base.Querying.SortOrder"}},"additionalProperties":false,"description":"Represents the query parameters for business log operations."}},"schema_863":{"kind":"json-schema","data":{"title":"NullableOfInt64","type":"integer","format":"int64","example":12345},"id":"schema_863"},"schema_864":{"kind":"json-schema","data":{"$ref":"#/components/schemas/Stylelabs.M.Base.Actions.Audit.ActionType"},"id":"schema_864"},"schema_865":{"kind":"json-schema","data":{"$ref":"#/components/schemas/Stylelabs.M.Base.Actions.Audit.ActionPhase"},"id":"schema_865"},"schema_866":{"kind":"json-schema","data":{"title":"String","type":"string","example":"\"CMP - Create public links for linked assets\""},"id":"schema_866"},"schema_867":{"kind":"json-schema","data":{"$ref":"#/components/schemas/Stylelabs.M.Base.Actions.Audit.ExecutionType"},"id":"schema_867"},"schema_868":{"kind":"json-schema","data":{"$ref":"#/components/schemas/Stylelabs.M.Base.Actions.Audit.ExecutionSource"},"id":"schema_868"},"schema_869":{"kind":"json-schema","data":{"title":"NullableOfInt64","type":"integer","format":"int64","example":150},"id":"schema_869"},"schema_870":{"kind":"json-schema","data":{"title":"NullableOfInt64","type":"integer","format":"int64","example":123456},"id":"schema_870"},"schema_871":{"kind":"json-schema","data":{"title":"NullableOfInt32","type":"integer","format":"int32","example":2},"id":"schema_871"},"schema_872":{"kind":"json-schema","data":{"title":"NullableOfBoolean","type":"boolean"},"id":"schema_872"},"schema_873":{"kind":"json-schema","data":{"title":"NullableOfGuid","type":"string","format":"uuid"},"id":"schema_873"},"schema_874":{"kind":"json-schema","data":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.EventType"},"id":"schema_874"},"schema_875":{"kind":"json-schema","data":{"$ref":"#/components/schemas/Stylelabs.M.Base.Audit.Severity"},"id":"schema_875"},"schema_876":{"kind":"json-schema","data":{"title":"String","type":"string","example":"Asset-12345"},"id":"schema_876"},"schema_877":{"kind":"json-schema","data":{"title":"NullableOfDateTime","type":"string","format":"date-time","example":"2025-09-16"},"id":"schema_877"},"schema_878":{"kind":"json-schema","data":{"title":"NullableOfInt64","type":"integer","format":"int64","example":67890},"id":"schema_878"},"schema_879":{"kind":"json-schema","data":{"title":"String","type":"string","example":"scroll-session-abc123"},"id":"schema_879"},"schema_880":{"kind":"json-schema","data":{"title":"NullableOfTimeSpan","type":"string","format":"date-span","example":"00:05:00"},"id":"schema_880"},"schema_881":{"kind":"json-schema","data":{"title":"String","type":"string","example":"user login"},"id":"schema_881"},"schema_882":{"kind":"json-schema","data":{"title":"String","type":"string"},"id":"schema_882"},"schema_883":{"kind":"json-schema","data":{"title":"NullableOfDateTime","type":"string","format":"date-time","example":"2025-01-01"},"id":"schema_883"},"schema_884":{"kind":"json-schema","data":{"title":"NullableOfDateTime","type":"string","format":"date-time","example":"2025-01-31"},"id":"schema_884"},"schema_885":{"kind":"json-schema","data":{"title":"NullableOfInt32","type":"integer","format":"int32","default":0,"example":0},"id":"schema_885"},"schema_886":{"kind":"json-schema","data":{"title":"NullableOfInt32","type":"integer","format":"int32","default":25,"example":25},"id":"schema_886"},"schema_887":{"kind":"json-schema","data":{"title":"String","type":"string","example":"timestamp"},"id":"schema_887"},"schema_888":{"kind":"json-schema","data":{"$ref":"#/components/schemas/Stylelabs.M.Base.Querying.SortOrder"},"id":"schema_888"},"schema_889":{"kind":"json-schema","data":{"title":"Boolean","type":"boolean"},"id":"schema_889"},"schema_890":{"kind":"json-schema","data":{"title":"DateTime","type":"string","format":"date-time"},"id":"schema_890"},"schema_891":{"kind":"json-schema","data":{"title":"String[]","type":"array","items":{"title":"String","type":"string"},"example":["lifecycle.created","lifecycle.approved","user.login.success","usergroup.modified"]},"id":"schema_891"},"schema_892":{"kind":"json-schema","data":{"title":"String","type":"string","example":"admin"},"id":"schema_892"},"schema_893":{"kind":"json-schema","data":{"title":"String","type":"string","example":"editor"},"id":"schema_893"},"schema_894":{"kind":"json-schema","data":{"title":"String","type":"string","example":"user1"},"id":"schema_894"},"schema_895":{"kind":"json-schema","data":{"title":"String","type":"string","example":"M.Asset"},"id":"schema_895"},"schema_896":{"kind":"json-schema","data":{"title":"String[]","type":"array","items":{"title":"String","type":"string"}},"id":"schema_896"},"schema_897":{"kind":"json-schema","data":{"title":"Int32","type":"integer","format":"int32","default":10000},"id":"schema_897"},"schema_898":{"kind":"json-schema","data":{"title":"IEnumerableOfAuditAggregation","type":"array","items":{"$ref":"#/components/schemas/Stylelabs.M.Reporting.Web.Api.Resources.AuditAggregation"}},"id":"schema_898"},"schema_899":{"kind":"json-schema","data":{"title":"IDictionaryOfStringAndInt64","type":"object","additionalProperties":{"title":"Int64","type":"integer","format":"int64"}},"id":"schema_899"},"schema_900":{"kind":"json-schema","data":{"title":"String[]","type":"array","items":{"title":"String","type":"string"},"example":["EntityUpdated","EntityCreated","PackageExported","downloadordercompleted","Original Updated","PolicySaved","EntityDefinitionCreated","EntityDefinitionUpdated","EntityDefinitionDeleted"]},"id":"schema_900"},"schema_901":{"kind":"json-schema","data":{"title":"String[]","type":"array","items":{"title":"String","type":"string"},"example":["M.Asset","User","M.Job"]},"id":"schema_901"},"schema_902":{"kind":"json-schema","data":{"title":"Int64[]","type":"array","items":{"title":"Int64","type":"integer","format":"int64"},"example":[10001,10002,10003]},"id":"schema_902"},"schema_903":{"kind":"json-schema","data":{"title":"String[]","type":"array","items":{"title":"String","type":"string"},"example":["admin","user1","editor"]},"id":"schema_903"},"schema_904":{"kind":"json-schema","data":{"title":"String[]","type":"array","items":{"title":"String","type":"string"},"example":["Title","Description","Status"]},"id":"schema_904"},"schema_905":{"kind":"json-schema","data":{"title":"String[]","type":"array","items":{"title":"String","type":"string"},"example":["AssetToAssetType","UserToUserProfile"]},"id":"schema_905"},"schema_906":{"kind":"json-schema","data":{"title":"String","type":"string","example":"en-US"},"id":"schema_906"},"schema_907":{"kind":"json-schema","data":{"$ref":"#/components/schemas/Stylelabs.M.Base.Scripting.Base.ScriptUseType"},"id":"schema_907"},"schema_908":{"kind":"json-schema","data":{"title":"String","type":"string","example":"MyCustomScript"},"id":"schema_908"},"schema_909":{"kind":"json-schema","data":{"title":"String","type":"string","example":"Script-12345"},"id":"schema_909"},"schema_910":{"kind":"json-schema","data":{"title":"String","type":"string","example":"Script execution failed: Invalid parameter"},"id":"schema_910"},"schema_911":{"kind":"json-schema","data":{"$ref":"#/components/schemas/Stylelabs.M.Base.Scripting.Audit.ExecutionSource"},"id":"schema_911"},"schema_912":{"kind":"json-schema","data":{"$ref":"#/components/schemas/Stylelabs.M.Base.Triggers.Audit.AuditingTriggerObjective"},"id":"schema_912"}},"exampleStore":{},"securitySchemeStore":{"OAuth2":{"id":"OAuth2","type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"/oauth/token","scopes":{}},"authorizationCode":{"authorizationUrl":"/oauth/authorize","tokenUrl":"/oauth/token","scopes":{}}}}},"servers":[{"url":"https://{server}","variables":{"server":{"default":"your-server"}}}],"specType":"openapi"},"options":{"hideInfoMetadata":true,"sanitize":true,"sortRequiredPropsFirst":true,"corsProxyUrl":"https://cors.redoc.ly","mockServer":{"off":true,"position":"off"},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/ch/audit-api/index.json?download"},{"url":"/_bundle/ch/audit-api/index.yaml?download"}],"excludeFromSearch":false,"replayFeatures":{"graphql":false},"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Audit API","description":"Use the Audit API to query and retrieve audit log entries so you can monitor system and user activities, ensure compliance and security, and search, filter, sort, or export audit data for further analysis. <br><br> This REST API lets you query, scroll through, and download the following audit logs:\n\n   - <i>Action audit logs</i> for system actions, executions, and operations.\n   - <i>Business audit logs</i> for entity lifecycle events and user activities.\n   - <i>Raw audit logs</i> for low-level system events and operational data.\n   - <i>Operational audit logs</i> for internal system operations.\n   - <i>Scripting audit logs</i> for script executions and automation events.\n   - <i>Trigger audit logs</i> for automated system triggers and workflows.\n\n{% admonition type=\"info\" name=\"Note\" %}You can also use the [command line interface (CLI)](https://doc.sitecore.com/ch/en/developers/cloud-dev/content-hub-command-line-interface--cli-.html) and the [tail command](https://doc.sitecore.com/ch/en/developers/api-reference/cli--sitecore.ch.cli.plugin.audit.commands.html) in particular to query logs.{% /admonition %}\n\n ## Authentication\n\n To use the Audit API, you need:\n\n  - The URL of your Content Hub server. You can get this from your Content Hub Administrator. Enter this URL in the <b>{{server}}</b> variable by hovering your mouse over the variable in the <b>Try it</b> pane and then clicking <b>Edit</b>.\n  - An [access token and the client ID](https://doc.sitecore.com/ch/en/developers/cloud-dev/oauth-tokens.html#making-requests). Both are sent with every request. You can create a token through the [Content Hub interface](https://doc.sitecore.com/ch/en/users/content-hub/create-an-oauth-client.html)  or by [requesting one using the API itself](https://doc.sitecore.com/ch/en/developers/cloud-dev/oauth-tokens.html#making-requests).\n","product":"Content Hub"}},"baseSlug":"/ch/audit-api","routesMapping":{}}