# Fetch Data

## Table of Contents

* [#jira](#jira "mention")
* [#azure-boards](#azure-boards "mention")
* [#datadog](#datadog "mention")
* [#splunk](#splunk "mention")
* [#azure-data-explorer-adx](#azure-data-explorer-adx "mention")
* [#devrev](#devrev "mention")
* [#servicenow](#servicenow "mention")
* [#microsoft-defender](#microsoft-defender "mention")
* [#sentinelone](#sentinelone "mention")
* [#generic-integrations](#generic-integrations "mention")
* [#slack-webhooks](#slack-webhooks "mention")
* [#custom-webhooks](#custom-webhooks "mention")

## Jira

<table data-full-width="true"><thead><tr><th width="50">#</th><th width="400">API</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td><strong>POST /api/jira/fetchProjectStatuses</strong></td><td>Fetches all issue statuses for a Jira project, used to configure bi-directional sync status mappings.</td></tr><tr><td>2</td><td><strong>POST /api/jira/fetchPriorities</strong></td><td>Fetches available priority levels from the configured Jira instance.</td></tr><tr><td>3</td><td><strong>POST /api/jira/fetchAvailableFieldsForMapping</strong></td><td>Fetches Jira issue fields available for priority field mapping for a given project and issue type.</td></tr><tr><td>4</td><td><strong>POST /api/jira/fetchFieldValues</strong></td><td>Fetches allowed values for a specific Jira field in a given project.</td></tr><tr><td>5</td><td><strong>POST /api/jira/fetchPriorityFieldMapping</strong></td><td>Retrieves the saved Akto severity to Jira field value mapping for a project.</td></tr><tr><td>6</td><td><strong>POST /api/fetchCreateJiraIssueFieldMetaData</strong></td><td>Fetches field metadata required to create a Jira issue for a given project and issue type.</td></tr></tbody></table>

## POST /api/jira/fetchProjectStatuses

> POST request for endpoint /api/jira/fetchProjectStatuses

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/jira/fetchProjectStatuses":{"post":{"summary":"POST request for endpoint /api/jira/fetchProjectStatuses","operationId":"/api/jira/fetchProjectStatuses-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["projId"],"properties":{"projId":{"type":"string"}}}}}},"responses":{"200":{"description":"Project statuses retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"projectMappings":{"type":"object"}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable — Jira not integrated","content":{"application/json":{"schema":{"type":"object","properties":{"actionErrors":{"type":"array","items":{"type":"string"}}}}}}}}}}}}
```

## POST /api/jira/fetchPriorities

> POST request for endpoint /api/jira/fetchPriorities

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/jira/fetchPriorities":{"post":{"summary":"POST request for endpoint /api/jira/fetchPriorities","operationId":"/api/jira/fetchPriorities-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Jira priorities retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"jiraPriorities":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"}}}}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable — Jira not integrated"}}}}}}
```

## POST /api/jira/fetchAvailableFieldsForMapping

> POST request for endpoint /api/jira/fetchAvailableFieldsForMapping

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/jira/fetchAvailableFieldsForMapping":{"post":{"summary":"POST request for endpoint /api/jira/fetchAvailableFieldsForMapping","operationId":"/api/jira/fetchAvailableFieldsForMapping-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["projId","issueType"],"properties":{"projId":{"type":"string"},"issueType":{"type":"string"}}}}}},"responses":{"200":{"description":"Available fields retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}}}}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable"}}}}}}
```

## POST /api/jira/fetchFieldValues

> POST request for endpoint /api/jira/fetchFieldValues

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/jira/fetchFieldValues":{"post":{"summary":"POST request for endpoint /api/jira/fetchFieldValues","operationId":"/api/jira/fetchFieldValues-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["projId","fieldId"],"properties":{"projId":{"type":"string"},"fieldId":{"type":"string"}}}}}},"responses":{"200":{"description":"Field values retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"fieldValues":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"value":{"type":"string"}}}}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable"}}}}}}
```

## POST /api/jira/fetchPriorityFieldMapping

> POST request for endpoint /api/jira/fetchPriorityFieldMapping

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/jira/fetchPriorityFieldMapping":{"post":{"summary":"POST request for endpoint /api/jira/fetchPriorityFieldMapping","operationId":"/api/jira/fetchPriorityFieldMapping-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["projId"],"properties":{"projId":{"type":"string"}}}}}},"responses":{"200":{"description":"Priority mapping retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"priorityMapping":{"type":"object","properties":{"fieldId":{"type":"string"},"fieldValuesMap":{"type":"object"}}}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable"}}}}}}
```

## POST /api/fetchCreateJiraIssueFieldMetaData

> POST request for endpoint /api/fetchCreateJiraIssueFieldMetaData

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchCreateJiraIssueFieldMetaData":{"post":{"summary":"POST request for endpoint /api/fetchCreateJiraIssueFieldMetaData","operationId":"/api/fetchCreateJiraIssueFieldMetaData-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["projId","issueType"],"properties":{"projId":{"type":"string"},"issueType":{"type":"string"}}}}}},"responses":{"200":{"description":"Field metadata retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"jiraMetaData":{"type":"object","description":"Field metadata for issue creation — required fields, field types, allowed values"}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable — Jira not integrated"}}}}}}
```

## Azure Boards

<table data-full-width="true"><thead><tr><th width="50">#</th><th width="400">API</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td><strong>POST /api/fetchAzureBoardsIntegration</strong></td><td>Fetches the current Azure Boards integration configuration and status.</td></tr><tr><td>2</td><td><strong>POST /api/fetchCreateABWorkItemFieldMetaData</strong></td><td>Fetches field metadata required to create an Azure Boards work item for a given project and issue type.</td></tr></tbody></table>

## POST /api/fetchAzureBoardsIntegration

> POST request for endpoint /api/fetchAzureBoardsIntegration

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchAzureBoardsIntegration":{"post":{"summary":"POST request for endpoint /api/fetchAzureBoardsIntegration","operationId":"/api/fetchAzureBoardsIntegration-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Azure Boards integration retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"azureBoardsIntegration":{"type":"object","properties":{"azureBoardsBaseUrl":{"type":"string"},"organization":{"type":"string"},"projectList":{"type":"array","items":{"type":"string"}}}}}}}}},"403":{"description":"Forbidden"}}}}}}
```

## POST /api/fetchCreateABWorkItemFieldMetaData

> POST request for endpoint /api/fetchCreateABWorkItemFieldMetaData

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchCreateABWorkItemFieldMetaData":{"post":{"summary":"POST request for endpoint /api/fetchCreateABWorkItemFieldMetaData","operationId":"/api/fetchCreateABWorkItemFieldMetaData-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["projectName"],"properties":{"projectName":{"type":"string"}}}}}},"responses":{"200":{"description":"Field metadata retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"object","properties":{"referenceName":{"type":"string"},"name":{"type":"string"},"type":{"type":"string"}}}}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable"}}}}}}
```

## Datadog

<table data-full-width="true"><thead><tr><th width="50">#</th><th width="400">API</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td><strong>POST /api/fetchDatadogIntegration</strong></td><td>Fetches the current Datadog integration configuration and status.</td></tr></tbody></table>

## POST /api/fetchDatadogIntegration

> POST request for endpoint /api/fetchDatadogIntegration

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchDatadogIntegration":{"post":{"summary":"POST request for endpoint /api/fetchDatadogIntegration","operationId":"/api/fetchDatadogIntegration-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Datadog integration retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"datadogForwarderConfig":{"type":"object","properties":{"datadogSite":{"type":"string"},"enabled":{"type":"boolean"}}}}}}}},"403":{"description":"Forbidden"}}}}}}
```

## Splunk

<table data-full-width="true"><thead><tr><th width="50">#</th><th width="400">API</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td><strong>POST /api/fetchSplunkIntegration</strong></td><td>Fetches the current Splunk SIEM integration configuration and status.</td></tr></tbody></table>

## POST /api/fetchSplunkIntegration

> POST request for endpoint /api/fetchSplunkIntegration

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchSplunkIntegration":{"post":{"summary":"POST request for endpoint /api/fetchSplunkIntegration","operationId":"/api/fetchSplunkIntegration-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Splunk integration retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"splunkSiemConfig":{"type":"object","properties":{"splunkUrl":{"type":"string"}}}}}}}},"403":{"description":"Forbidden"}}}}}}
```

## Azure Data Explorer (ADX)

<table data-full-width="true"><thead><tr><th width="50">#</th><th width="400">API</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td><strong>POST /api/fetchAdxIntegration</strong></td><td>Fetches the current Azure Data Explorer integration configuration and status.</td></tr><tr><td>2</td><td><strong>POST /api/getAdxExportStatus</strong></td><td>Retrieves the current export status and progress for the Azure Data Explorer integration.</td></tr></tbody></table>

## POST /api/fetchAdxIntegration

> POST request for endpoint /api/fetchAdxIntegration

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchAdxIntegration":{"post":{"summary":"POST request for endpoint /api/fetchAdxIntegration","operationId":"/api/fetchAdxIntegration-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"ADX integration retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"adxIntegration":{"type":"object","properties":{"clusterEndpoint":{"type":"string"},"databaseName":{"type":"string"},"tenantId":{"type":"string"},"applicationClientId":{"type":"string"}}}}}}}},"403":{"description":"Forbidden"}}}}}}
```

## POST /api/getAdxExportStatus

> POST request for endpoint /api/getAdxExportStatus

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/getAdxExportStatus":{"post":{"summary":"POST request for endpoint /api/getAdxExportStatus","operationId":"/api/getAdxExportStatus-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Export status retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"exportSuccess":{"type":"boolean"},"exportMessage":{"type":"string"},"exportedCount":{"type":"integer"}}}}}},"403":{"description":"Forbidden"}}}}}}
```

## DevRev

<table data-full-width="true"><thead><tr><th width="50">#</th><th width="400">API</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td><strong>POST /api/fetchDevRevIntegration</strong></td><td>Fetches the current DevRev integration configuration and status.</td></tr><tr><td>2</td><td><strong>POST /api/fetchDevRevParts</strong></td><td>Retrieves available DevRev parts/components for ticket creation and linking.</td></tr></tbody></table>

## POST /api/fetchDevRevIntegration

> POST request for endpoint /api/fetchDevRevIntegration

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchDevRevIntegration":{"post":{"summary":"POST request for endpoint /api/fetchDevRevIntegration","operationId":"/api/fetchDevRevIntegration-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"DevRev integration retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"devrevIntegration":{"type":"object","properties":{"orgUrl":{"type":"string"}}}}}}}},"403":{"description":"Forbidden"}}}}}}
```

## POST /api/fetchDevRevParts

> POST request for endpoint /api/fetchDevRevParts

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchDevRevParts":{"post":{"summary":"POST request for endpoint /api/fetchDevRevParts","operationId":"/api/fetchDevRevParts-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"DevRev parts retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"partsIdToNameMap":{"type":"object","description":"Map of DevRev part ID to display name"},"partTypes":{"type":"array","items":{"type":"string"}}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable — DevRev not configured"}}}}}}
```

## ServiceNow

<table data-full-width="true"><thead><tr><th width="50">#</th><th width="400">API</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td><strong>POST /api/fetchServiceNowIntegration</strong></td><td>Fetches the current ServiceNow integration configuration and status.</td></tr><tr><td>2</td><td><strong>POST /api/fetchServiceNowTables</strong></td><td>Retrieves available ServiceNow tables for ticket creation configuration.</td></tr></tbody></table>

## POST /api/fetchServiceNowIntegration

> POST request for endpoint /api/fetchServiceNowIntegration

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchServiceNowIntegration":{"post":{"summary":"POST request for endpoint /api/fetchServiceNowIntegration","operationId":"/api/fetchServiceNowIntegration-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"ServiceNow integration retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"serviceNowIntegration":{"type":"object","properties":{"instanceUrl":{"type":"string"},"tableNames":{"type":"array","items":{"type":"string"}}}}}}}}},"403":{"description":"Forbidden"}}}}}}
```

## POST /api/fetchServiceNowTables

> POST request for endpoint /api/fetchServiceNowTables

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchServiceNowTables":{"post":{"summary":"POST request for endpoint /api/fetchServiceNowTables","operationId":"/api/fetchServiceNowTables-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["instanceUrl","clientId","clientSecret"],"properties":{"instanceUrl":{"type":"string"},"clientId":{"type":"string"},"clientSecret":{"type":"string"}}}}}},"responses":{"200":{"description":"ServiceNow tables retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"tables":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"label":{"type":"string"}}}}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable — OAuth token fetch failed or invalid credentials"}}}}}}
```

## Microsoft Defender

<table data-full-width="true"><thead><tr><th width="50">#</th><th width="400">API</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td><strong>POST /api/fetchMicrosoftDefenderIntegration</strong></td><td>Fetches the current Microsoft Defender for Endpoint integration configuration and status.</td></tr><tr><td>2</td><td><strong>POST /api/fetchDefenderDevices</strong></td><td>Retrieves devices enrolled in Microsoft Defender for Endpoint.</td></tr><tr><td>3</td><td><strong>POST /api/listDefenderLibraryScripts</strong></td><td>Lists available scripts from the Microsoft Defender Live Response library.</td></tr></tbody></table>

## POST /api/fetchMicrosoftDefenderIntegration

> POST request for endpoint /api/fetchMicrosoftDefenderIntegration

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchMicrosoftDefenderIntegration":{"post":{"summary":"POST request for endpoint /api/fetchMicrosoftDefenderIntegration","operationId":"/api/fetchMicrosoftDefenderIntegration-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Integration retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"microsoftDefenderIntegration":{"type":"object","properties":{"tenantId":{"type":"string"},"clientId":{"type":"string"},"dataIngestionUrl":{"type":"string"}}}}}}}},"403":{"description":"Forbidden"}}}}}}
```

## POST /api/fetchDefenderDevices

> POST request for endpoint /api/fetchDefenderDevices

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchDefenderDevices":{"post":{"summary":"POST request for endpoint /api/fetchDefenderDevices","operationId":"/api/fetchDefenderDevices-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Devices retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"devices":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"computerName":{"type":"string"},"osName":{"type":"string"},"lastActiveDate":{"type":"string"},"siteId":{"type":"string"}}}}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable — integration not configured"}}}}}}
```

## POST /api/listDefenderLibraryScripts

> POST request for endpoint /api/listDefenderLibraryScripts

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/listDefenderLibraryScripts":{"post":{"summary":"POST request for endpoint /api/listDefenderLibraryScripts","operationId":"/api/listDefenderLibraryScripts-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Library scripts retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"libraryScripts":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"fileName":{"type":"string"},"description":{"type":"string"},"createdBy":{"type":"string"},"creationTime":{"type":"string"}}}}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable — integration not configured"}}}}}}
```

## SentinelOne

<table data-full-width="true"><thead><tr><th width="50">#</th><th width="400">API</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td><strong>POST /api/fetchSentinelOneIntegration</strong></td><td>Fetches the current SentinelOne integration configuration and status.</td></tr><tr><td>2</td><td><strong>POST /api/fetchSentinelOneAgents</strong></td><td>Retrieves agents enrolled in SentinelOne for endpoint management.</td></tr><tr><td>3</td><td><strong>POST /api/getSentinelOneScriptTaskStatus</strong></td><td>Gets the execution status of a remote script task run via SentinelOne.</td></tr></tbody></table>

## POST /api/fetchSentinelOneIntegration

> POST request for endpoint /api/fetchSentinelOneIntegration

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchSentinelOneIntegration":{"post":{"summary":"POST request for endpoint /api/fetchSentinelOneIntegration","operationId":"/api/fetchSentinelOneIntegration-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"SentinelOne integration retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"sentinelOneIntegration":{"type":"object","properties":{"consoleUrl":{"type":"string"},"dataIngestionUrl":{"type":"string"},"guardrailType":{"type":"array","items":{"type":"string"}},"guardrailTargetMode":{"type":"string"},"guardrailStatus":{"type":"string"}}}}}}}},"403":{"description":"Forbidden"}}}}}}
```

## POST /api/fetchSentinelOneAgents

> POST request for endpoint /api/fetchSentinelOneAgents

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchSentinelOneAgents":{"post":{"summary":"POST request for endpoint /api/fetchSentinelOneAgents","operationId":"/api/fetchSentinelOneAgents-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Agents retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"agents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"computerName":{"type":"string"},"osName":{"type":"string"},"lastActiveDate":{"type":"string"},"siteId":{"type":"string"}}}}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable — SentinelOne integration not configured"}}}}}}
```

## POST /api/getSentinelOneScriptTaskStatus

> POST request for endpoint /api/getSentinelOneScriptTaskStatus

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/getSentinelOneScriptTaskStatus":{"post":{"summary":"POST request for endpoint /api/getSentinelOneScriptTaskStatus","operationId":"/api/getSentinelOneScriptTaskStatus-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["parentTaskId"],"properties":{"parentTaskId":{"type":"string","description":"Parent task ID returned by executeSentinelOneRemoteScript"}}}}}},"responses":{"200":{"description":"Task status retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"remoteScripts":{"type":"array","items":{"type":"object","properties":{"agentComputerName":{"type":"string"},"status":{"type":"string"},"detailedStatus":{"type":"string"},"updatedAt":{"type":"string"}}}}}}}}},"403":{"description":"Forbidden"},"422":{"description":"Unprocessable — parentTaskId missing or integration not configured"}}}}}}
```

## Generic Integrations

<table data-full-width="true"><thead><tr><th width="50">#</th><th width="400">API</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td><strong>POST /api/fetchIntegration</strong></td><td>Fetches configuration and status of a generic integration by type.</td></tr><tr><td>2</td><td><strong>POST /api/getIntegratedConnectionsInfo</strong></td><td>Retrieves info about all currently connected and active integrations.</td></tr></tbody></table>

## POST /api/fetchIntegration

> POST request for endpoint /api/fetchIntegration

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchIntegration":{"post":{"summary":"POST request for endpoint /api/fetchIntegration","operationId":"/api/fetchIntegration-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Jira integration retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"jiraIntegration":{"type":"object","properties":{"baseUrl":{"type":"string"},"userEmail":{"type":"string"},"projectIdsMap":{"type":"object"},"projectMappings":{"type":"object"},"createdTs":{"type":"integer"},"updatedTs":{"type":"integer"}}}}}}}},"403":{"description":"Forbidden"}}}}}}
```

## POST /api/getIntegratedConnectionsInfo

> POST request for endpoint /api/getIntegratedConnectionsInfo

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/getIntegratedConnectionsInfo":{"post":{"summary":"POST request for endpoint /api/getIntegratedConnectionsInfo","operationId":"/api/getIntegratedConnectionsInfo-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Connection info retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"integratedConnectionsInfo":{"type":"object","description":"Map of connection type to status. Keys: AUTOMATED_TRAFFIC, GITHUB_SSO, SLACK_ALERTS, CI_CD_INTEGRATIONS, INVITE_MEMBERS","additionalProperties":{"type":"object","properties":{"timestamp":{"type":"integer"},"skipped":{"type":"boolean"}}}}}}}}},"403":{"description":"Forbidden"}}}}}}
```

## Slack Webhooks

<table data-full-width="true"><thead><tr><th width="50">#</th><th width="400">API</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td><strong>POST /api/fetchSlackWebhooks</strong></td><td>Retrieves all configured Slack webhook integrations for the account.</td></tr></tbody></table>

## POST /api/fetchSlackWebhooks

> POST request for endpoint /api/fetchSlackWebhooks

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchSlackWebhooks":{"post":{"summary":"POST request for endpoint /api/fetchSlackWebhooks","operationId":"/api/fetchSlackWebhooks-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Slack webhooks retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"slackWebhooks":{"type":"array","items":{"type":"object","properties":{"webhookUrl":{"type":"string"},"webhookName":{"type":"string"},"frequencyInSeconds":{"type":"integer"}}}}}}}}},"403":{"description":"Forbidden"}}}}}}
```

## Custom Webhooks

<table data-full-width="true"><thead><tr><th width="50">#</th><th width="400">API</th><th>Description</th></tr></thead><tbody><tr><td>1</td><td><strong>POST /api/fetchCustomWebhooks</strong></td><td>Retrieves all configured custom webhook integrations for the account.</td></tr><tr><td>2</td><td><strong>POST /api/fetchLatestWebhookResult</strong></td><td>Fetches the result of the most recent webhook invocation for debugging and verification.</td></tr></tbody></table>

## POST /api/fetchCustomWebhooks

> POST request for endpoint /api/fetchCustomWebhooks

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchCustomWebhooks":{"post":{"summary":"POST request for endpoint /api/fetchCustomWebhooks","operationId":"/api/fetchCustomWebhooks-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Custom webhooks retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"customWebhooks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"integer"},"webhookName":{"type":"string"},"url":{"type":"string"},"method":{"type":"string"},"frequencyInSeconds":{"type":"integer"},"activeStatus":{"type":"string"},"selectedWebhookOptions":{"type":"array","items":{"type":"string"}}}}}}}}}},"403":{"description":"Forbidden"}}}}}}
```

## POST /api/fetchLatestWebhookResult

> POST request for endpoint /api/fetchLatestWebhookResult

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchLatestWebhookResult":{"post":{"summary":"POST request for endpoint /api/fetchLatestWebhookResult","operationId":"/api/fetchLatestWebhookResult-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["customWebhookId"],"properties":{"customWebhookId":{"type":"integer"}}}}}},"responses":{"200":{"description":"Latest webhook result retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"customWebhookResult":{"type":"object","properties":{"webhookId":{"type":"integer"},"statusCode":{"type":"integer"},"message":{"type":"string"},"timestamp":{"type":"integer"}}}}}}}},"403":{"description":"Forbidden"}}}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://ai-security-docs.akto.io/api-reference/integration/fetch-data.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
