# Fetch Data

## Table of Contents

* [#system-and-health](#system-and-health "mention")
* [#settings-and-toggles](#settings-and-toggles "mention")
* [#sso-and-authentication](#sso-and-authentication "mention")
* [#runtime-and-infrastructure](#runtime-and-infrastructure "mention")
* [#logs-audit-and-traffic](#logs-audit-and-traffic "mention")
* [#dashboard-filters-and-misc](#dashboard-filters-and-misc "mention")
* [#service-graph-tracing-and-misc](#service-graph-tracing-and-misc "mention")
* [#maintenance](#maintenance "mention")

## System & Health

<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><a href="#post-api-metrics"><strong>POST /api/metrics</strong></a></td><td>Fetches system metrics and performance data.</td></tr><tr><td>2</td><td><strong>GET /api/allMetricsDescription</strong></td><td>Retrieves descriptions and metadata for all available system metrics.</td></tr><tr><td>3</td><td><strong>GET /api/health</strong></td><td>Checks the health status of the system and services.</td></tr><tr><td>4</td><td><strong>GET /api/fetchModuleInfo</strong></td><td>Fetches information about system modules and their status.</td></tr></tbody></table>

## POST /api/metrics

> POST request for endpoint /api/metrics

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/metrics":{"post":{"summary":"POST request for endpoint /api/metrics","operationId":"/api/metrics-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"startTime":{"type":"integer"},"endTime":{"type":"integer"},"metricIdPrefix":{"type":"string"},"instanceId":{"type":"string"}}}}}},"responses":{"200":{"description":"Metrics retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"metrics":{"type":"array","items":{"type":"object","properties":{"metricId":{"type":"string"},"value":{"type":"integer"},"timestamp":{"type":"integer"},"instanceId":{"type":"string"}}}}}}}}}}}}}}
```

## GET /api/allMetricsDescription

> GET request for endpoint /api/allMetricsDescription

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/allMetricsDescription":{"get":{"summary":"GET request for endpoint /api/allMetricsDescription","operationId":"/api/allMetricsDescription-GET","responses":{"200":{"description":"Metrics descriptions retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"names":{"type":"array","items":{"type":"string"}}}}}}}}}}}}
```

## GET /api/health

> GET request for endpoint /api/health

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/health":{"get":{"summary":"GET request for endpoint /api/health","operationId":"/api/health-GET","responses":{"200":{"description":"System is healthy","content":{"application/json":{"schema":{"type":"object","properties":{"status":{"type":"string"},"timestamp":{"type":"integer"}}}}}}}}}}}
```

## Settings & Toggles

<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>GET /api/fetchAdminSettings</strong></td><td>Fetches admin-level settings for the current account or organization.</td></tr><tr><td>2</td><td><strong>GET /api/getAccountSettingsForAdvancedFilters</strong></td><td>Retrieves account settings specific to advanced filter configurations.</td></tr></tbody></table>

## GET /api/fetchAdminSettings

> GET request for endpoint /api/fetchAdminSettings

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchAdminSettings":{"get":{"summary":"GET request for endpoint /api/fetchAdminSettings","operationId":"/api/fetchAdminSettings-GET","responses":{"200":{"description":"Admin settings retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"dashboardVersion":{"type":"string"},"urlRegexMatchingEnabled":{"type":"boolean"},"telemetrySettings":{"type":"object","properties":{"customerEnabled":{"type":"boolean"},"telemetryEnabled":{"type":"boolean"}}},"showOnboarding":{"type":"boolean"}}}}}}}}}}}
```

## GET /api/getAccountSettingsForAdvancedFilters

> GET request for endpoint /api/getAccountSettingsForAdvancedFilters

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/getAccountSettingsForAdvancedFilters":{"get":{"summary":"GET request for endpoint /api/getAccountSettingsForAdvancedFilters","operationId":"/api/getAccountSettingsForAdvancedFilters-GET","responses":{"200":{"description":"Advanced filter settings retrieved"}}}}}}
```

## SSO & Authentication

<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/fetchGithubSso</strong></td><td>Fetches the current GitHub SSO configuration for the organization.</td></tr><tr><td>2</td><td><strong>POST /api/fetchGithubAppId</strong></td><td>Retrieves the GitHub App ID configured for SSO integration.</td></tr><tr><td>3</td><td><strong>POST /api/fetchOktaSso</strong></td><td>Fetches the current Okta SSO configuration and settings.</td></tr><tr><td>4</td><td><strong>POST /api/fetchOktaGroups</strong></td><td>Retrieves available Okta groups for role mapping configuration.</td></tr><tr><td>5</td><td><strong>POST /api/fetchSAMLSso</strong></td><td>Fetches the current SAML SSO configuration and metadata.</td></tr></tbody></table>

## POST /api/fetchGithubSso

> POST request for endpoint /api/fetchGithubSso

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchGithubSso":{"post":{"summary":"POST request for endpoint /api/fetchGithubSso","operationId":"/api/fetchGithubSso-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"GitHub SSO configuration retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"githubClientId":{"type":"string","description":"GitHub OAuth App client ID currently configured"},"githubUrl":{"type":"string","description":"GitHub Enterprise base URL, null for github.com"},"githubApiUrl":{"type":"string","description":"GitHub Enterprise API URL, null for github.com"}}}}}},"403":{"description":"Forbidden — caller lacks ADMIN_ACTIONS / READ permission"},"422":{"description":"Unprocessable — a different SSO type is already active","content":{"application/json":{"schema":{"type":"object","properties":{"actionErrors":{"type":"array","items":{"type":"string"}}}}}}}}}}}}
```

## POST /api/fetchGithubAppId

> POST request for endpoint /api/fetchGithubAppId

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchGithubAppId":{"post":{"summary":"POST request for endpoint /api/fetchGithubAppId","operationId":"/api/fetchGithubAppId-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"GitHub App ID retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"githubAppId":{"type":"string","description":"GitHub App numeric or string identifier"}}}}}},"403":{"description":"Forbidden — caller lacks ADMIN_ACTIONS / READ permission"}}}}}}
```

## POST /api/fetchOktaSso

> POST request for endpoint /api/fetchOktaSso

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchOktaSso":{"post":{"summary":"POST request for endpoint /api/fetchOktaSso","operationId":"/api/fetchOktaSso-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Okta SSO configuration retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"clientId":{"type":"string","description":"Okta OIDC application client ID"},"oktaDomain":{"type":"string","description":"Okta organization domain URL"},"authorisationServerId":{"type":"string","description":"Okta Authorization Server ID"},"redirectUri":{"type":"string","description":"Configured redirect URI"},"oktaGroupToAktoUserRoleMap":{"type":"object","description":"Map of Okta group name to Akto role. Valid Akto roles: ADMIN, MEMBER, DEVELOPER, GUEST, or any custom role name.","additionalProperties":{"type":"string"}},"managementApiToken":{"type":"string","description":"Returns '*' if a management API token is stored, null otherwise"}}}}}},"403":{"description":"Forbidden — caller lacks ADMIN_ACTIONS permission"},"422":{"description":"Unprocessable — a different SSO type is already active","content":{"application/json":{"schema":{"type":"object","properties":{"actionErrors":{"type":"array","items":{"type":"string"}}}}}}}}}}}}
```

## POST /api/fetchOktaGroups

> POST request for endpoint /api/fetchOktaGroups

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchOktaGroups":{"post":{"summary":"POST request for endpoint /api/fetchOktaGroups","operationId":"/api/fetchOktaGroups-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Okta group names retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"oktaGroupNames":{"type":"array","description":"List of all group names in the Okta organization","items":{"type":"string"}}}}}}},"403":{"description":"Forbidden — caller lacks ADMIN_ACTIONS permission"},"422":{"description":"Unprocessable — Okta SSO not configured, or management API token missing","content":{"application/json":{"schema":{"type":"object","properties":{"actionErrors":{"type":"array","items":{"type":"string"}}}}}}}}}}}}
```

## POST /api/fetchSAMLSso

> POST request for endpoint /api/fetchSAMLSso

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchSAMLSso":{"post":{"summary":"POST request for endpoint /api/fetchSAMLSso","operationId":"/api/fetchSAMLSso-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","required":["configType"],"properties":{"configType":{"type":"string","description":"SAML provider type to fetch","enum":["AZURE","GOOGLE_SAML"]}}}}}},"responses":{"200":{"description":"SAML SSO configuration retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"loginUrl":{"type":"string","description":"Identity provider SAML SSO login URL"},"ssoEntityId":{"type":"string","description":"Identity provider SAML Entity ID / Issuer URI"}}}}}},"403":{"description":"Forbidden — caller lacks ADMIN_ACTIONS / READ permission"},"422":{"description":"Unprocessable — a different SSO type is already active","content":{"application/json":{"schema":{"type":"object","properties":{"actionErrors":{"type":"array","items":{"type":"string"}}}}}}}}}}}}
```

## Runtime & Infrastructure

<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>GET /api/fetchRuntimeInstances</strong></td><td>Fetches information about all configured runtime instances and their status.</td></tr><tr><td>2</td><td><strong>POST /api/fetchRuntimeMetrics</strong></td><td>Retrieves metrics and performance data for runtime instances.</td></tr><tr><td>3</td><td><strong>GET /api/fetchRuntimeHelmCommand</strong></td><td>Fetches the Helm command required for deploying the runtime.</td></tr><tr><td>4</td><td><strong>GET /api/fetchAwsAccountIdsForApiGatewayLogging</strong></td><td>Retrieves AWS account IDs configured for API Gateway logging.</td></tr><tr><td>5</td><td><strong>GET /api/fetchLoadBalancers</strong></td><td>Fetches all configured load balancers and their settings.</td></tr></tbody></table>

## GET /api/fetchRuntimeInstances

> GET request for endpoint /api/fetchRuntimeInstances

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchRuntimeInstances":{"get":{"summary":"GET request for endpoint /api/fetchRuntimeInstances","operationId":"/api/fetchRuntimeInstances-GET","parameters":[{"name":"status","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Runtime instances retrieved successfully"}}}}}}
```

## POST /api/fetchRuntimeMetrics

> POST request for endpoint /api/fetchRuntimeMetrics

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchRuntimeMetrics":{"post":{"summary":"POST request for endpoint /api/fetchRuntimeMetrics","operationId":"/api/fetchRuntimeMetrics-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"instanceId":{"type":"string"},"metricType":{"type":"string"}}}}}},"responses":{"200":{"description":"Runtime metrics retrieved"}}}}}}
```

## GET /api/fetchRuntimeHelmCommand

> GET request for endpoint /api/fetchRuntimeHelmCommand

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchRuntimeHelmCommand":{"get":{"summary":"GET request for endpoint /api/fetchRuntimeHelmCommand","operationId":"/api/fetchRuntimeHelmCommand-GET","responses":{"200":{"description":"Helm command retrieved"}}}}}}
```

## GET /api/fetchAwsAccountIdsForApiGatewayLogging

> GET request for endpoint /api/fetchAwsAccountIdsForApiGatewayLogging

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchAwsAccountIdsForApiGatewayLogging":{"get":{"summary":"GET request for endpoint /api/fetchAwsAccountIdsForApiGatewayLogging","operationId":"/api/fetchAwsAccountIdsForApiGatewayLogging-GET","responses":{"200":{"description":"AWS account IDs retrieved"}}}}}}
```

## GET /api/fetchLoadBalancers

> GET request for endpoint /api/fetchLoadBalancers

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchLoadBalancers":{"get":{"summary":"GET request for endpoint /api/fetchLoadBalancers","operationId":"/api/fetchLoadBalancers-GET","parameters":[{"name":"provider","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Load balancers retrieved"}}}}}}
```

## Logs, Audit & Traffic

<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/fetchLogs</strong></td><td>Fetches system logs from the current session or a specified timeframe.</td></tr><tr><td>2</td><td><strong>POST /api/fetchLogsFromDb</strong></td><td>Retrieves logs stored in the database with filtering and pagination options.</td></tr><tr><td>3</td><td><strong>POST /api/fetchTestingLogs</strong></td><td>Fetches logs specific to security testing operations.</td></tr><tr><td>4</td><td><strong>POST /api/fetchApiAuditLogsFromDb</strong></td><td>Retrieves audit logs for API operations from the database.</td></tr><tr><td>5</td><td><strong>POST /api/fetchAuditData</strong></td><td>Fetches audit trail data and user activity logs.</td></tr><tr><td>6</td><td><strong>POST /api/fetchTrafficMetrics</strong></td><td>Retrieves traffic metrics and analytics data.</td></tr><tr><td>7</td><td><strong>POST /api/fetchTrafficMetricsDesciptions</strong></td><td>Fetches descriptions and metadata for traffic metrics.</td></tr><tr><td>8</td><td><strong>POST /api/fetchHistoricalData</strong></td><td>Retrieves historical data for analysis and reporting.</td></tr><tr><td>9</td><td><strong>POST /api/fetchApiStats</strong></td><td>Fetches statistics and performance metrics for APIs.</td></tr></tbody></table>

## POST /api/fetchLogs

> POST request for endpoint /api/fetchLogs

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchLogs":{"post":{"summary":"POST request for endpoint /api/fetchLogs","operationId":"/api/fetchLogs-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"startTime":{"type":"integer"},"endTime":{"type":"integer"},"logLevel":{"type":"string"},"limit":{"type":"integer"}}}}}},"responses":{"200":{"description":"Logs retrieved successfully","content":{"application/json":{"schema":{"type":"object","properties":{"logs":{"type":"array","items":{"type":"object","properties":{"key":{"type":"string"},"log":{"type":"string"},"timestamp":{"type":"integer"}}}},"total":{"type":"integer"}}}}}}}}}}}
```

## POST /api/fetchLogsFromDb

> POST request for endpoint /api/fetchLogsFromDb

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchLogsFromDb":{"post":{"summary":"POST request for endpoint /api/fetchLogsFromDb","operationId":"/api/fetchLogsFromDb-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"skip":{"type":"integer"},"limit":{"type":"integer"}}}}}},"responses":{"200":{"description":"Database logs retrieved"}}}}}}
```

## POST /api/fetchTestingLogs

> POST request for endpoint /api/fetchTestingLogs

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchTestingLogs":{"post":{"summary":"POST request for endpoint /api/fetchTestingLogs","operationId":"/api/fetchTestingLogs-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"testId":{"type":"string"}}}}}},"responses":{"200":{"description":"Testing logs retrieved"}}}}}}
```

## POST /api/fetchApiAuditLogsFromDb

> POST request for endpoint /api/fetchApiAuditLogsFromDb

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchApiAuditLogsFromDb":{"post":{"summary":"POST request for endpoint /api/fetchApiAuditLogsFromDb","operationId":"/api/fetchApiAuditLogsFromDb-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"skip":{"type":"integer"},"limit":{"type":"integer"},"apiEndpoint":{"type":"string"}}}}}},"responses":{"200":{"description":"API audit logs retrieved","content":{"application/json":{"schema":{"type":"object","properties":{"auditLogs":{"type":"array","items":{"type":"object","properties":{"_id":{"type":"string"},"actionDescription":{"type":"string"},"apiEndpoint":{"type":"string"},"timestamp":{"type":"integer"},"userEmail":{"type":"string"},"userIpAddress":{"type":"string"}}}},"total":{"type":"integer"}}}}}}}}}}}
```

## POST /api/fetchAuditData

> POST request for endpoint /api/fetchAuditData

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchAuditData":{"post":{"summary":"POST request for endpoint /api/fetchAuditData","operationId":"/api/fetchAuditData-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Audit data retrieved"}}}}}}
```

## POST /api/fetchTrafficMetrics

> POST request for endpoint /api/fetchTrafficMetrics

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchTrafficMetrics":{"post":{"summary":"POST request for endpoint /api/fetchTrafficMetrics","operationId":"/api/fetchTrafficMetrics-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"startTime":{"type":"integer"},"endTime":{"type":"integer"},"host":{"type":"string"}}}}}},"responses":{"200":{"description":"Traffic metrics retrieved"}}}}}}
```

## POST /api/fetchHistoricalData

> POST request for endpoint /api/fetchHistoricalData

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchHistoricalData":{"post":{"summary":"POST request for endpoint /api/fetchHistoricalData","operationId":"/api/fetchHistoricalData-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"dataType":{"type":"string"}}}}}},"responses":{"200":{"description":"Historical data retrieved"}}}}}}
```

## POST /api/fetchApiStats

> POST request for endpoint /api/fetchApiStats

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchApiStats":{"post":{"summary":"POST request for endpoint /api/fetchApiStats","operationId":"/api/fetchApiStats-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"API statistics retrieved"}}}}}}
```

## Dashboard, Filters & Misc

<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>GET /api/fetchDashboardLayout</strong></td><td>Retrieves the user's saved dashboard layout configuration.</td></tr><tr><td>2</td><td><strong>GET /api/getRecentActivities</strong></td><td>Fetches recent user activities and system events.</td></tr><tr><td>3</td><td><strong>GET /api/fetchFilterYamlTemplate</strong></td><td>Retrieves YAML filter templates for custom filters.</td></tr><tr><td>4</td><td><strong>GET /api/fetchMetadataFilters</strong></td><td>Fetches available metadata filter options and configurations.</td></tr><tr><td>5</td><td><strong>GET /api/fetchBrowserExtensionConfigs</strong></td><td>Retrieves browser extension configurations for the current user.</td></tr><tr><td>6</td><td><strong>POST /api/getSummaryInfoForChanges</strong></td><td>Fetches summary information for changes and modifications.</td></tr></tbody></table>

## GET /api/fetchDashboardLayout

> GET request for endpoint /api/fetchDashboardLayout

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchDashboardLayout":{"get":{"summary":"GET request for endpoint /api/fetchDashboardLayout","operationId":"/api/fetchDashboardLayout-GET","parameters":[{"name":"layoutName","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Dashboard layout retrieved"}}}}}}
```

## GET /api/getRecentActivities

> GET request for endpoint /api/getRecentActivities

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/getRecentActivities":{"get":{"summary":"GET request for endpoint /api/getRecentActivities","operationId":"/api/getRecentActivities-GET","parameters":[{"name":"limit","in":"query","schema":{"type":"integer"}}],"responses":{"200":{"description":"Recent activities retrieved"}}}}}}
```

## GET /api/fetchFilterYamlTemplate

> GET request for endpoint /api/fetchFilterYamlTemplate

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchFilterYamlTemplate":{"get":{"summary":"GET request for endpoint /api/fetchFilterYamlTemplate","operationId":"/api/fetchFilterYamlTemplate-GET","parameters":[{"name":"templateName","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Filter YAML template retrieved"}}}}}}
```

## GET /api/fetchMetadataFilters

> GET request for endpoint /api/fetchMetadataFilters

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchMetadataFilters":{"get":{"summary":"GET request for endpoint /api/fetchMetadataFilters","operationId":"/api/fetchMetadataFilters-GET","responses":{"200":{"description":"Metadata filters retrieved"}}}}}}
```

## GET /api/fetchBrowserExtensionConfigs

> GET request for endpoint /api/fetchBrowserExtensionConfigs

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchBrowserExtensionConfigs":{"get":{"summary":"GET request for endpoint /api/fetchBrowserExtensionConfigs","operationId":"/api/fetchBrowserExtensionConfigs-GET","responses":{"200":{"description":"Browser extension configs retrieved"}}}}}}
```

## POST /api/getSummaryInfoForChanges

> POST request for endpoint /api/getSummaryInfoForChanges

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/getSummaryInfoForChanges":{"post":{"summary":"POST request for endpoint /api/getSummaryInfoForChanges","operationId":"/api/getSummaryInfoForChanges-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Change summary retrieved"}}}}}}
```

## Service Graph, Tracing & Misc

<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/fetchApiDependencies</strong></td><td>Fetches API dependency information and service relationships.</td></tr><tr><td>2</td><td><strong>GET /api/checkIfDependencyGraphAvailable</strong></td><td>Checks if the dependency graph is available for the current configuration.</td></tr><tr><td>3</td><td><strong>POST /api/fetchLatestTraces</strong></td><td>Retrieves the latest traces from the tracing system.</td></tr><tr><td>4</td><td><strong>GET /api/fetchSpansForTrace</strong></td><td>Fetches individual spans associated with a specific trace.</td></tr><tr><td>5</td><td><strong>POST /api/findSvcToSvcGraphEdges</strong></td><td>Retrieves service-to-service graph edges for visualization.</td></tr><tr><td>6</td><td><strong>POST /api/findSvcToSvcGraphNodes</strong></td><td>Fetches service-to-service graph nodes representing services.</td></tr><tr><td>7</td><td><strong>POST /api/fetchMiniTestingServiceNames</strong></td><td>Retrieves available service names for mini testing.</td></tr></tbody></table>

## POST /api/fetchApiDependencies

> POST request for endpoint /api/fetchApiDependencies

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchApiDependencies":{"post":{"summary":"POST request for endpoint /api/fetchApiDependencies","operationId":"/api/fetchApiDependencies-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"API dependencies retrieved"}}}}}}
```

## GET /api/checkIfDependencyGraphAvailable

> GET request for endpoint /api/checkIfDependencyGraphAvailable

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/checkIfDependencyGraphAvailable":{"get":{"summary":"GET request for endpoint /api/checkIfDependencyGraphAvailable","operationId":"/api/checkIfDependencyGraphAvailable-GET","responses":{"200":{"description":"Dependency graph availability checked"}}}}}}
```

## POST /api/fetchLatestTraces

> POST request for endpoint /api/fetchLatestTraces

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchLatestTraces":{"post":{"summary":"POST request for endpoint /api/fetchLatestTraces","operationId":"/api/fetchLatestTraces-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Latest traces retrieved"}}}}}}
```

## GET /api/fetchSpansForTrace

> GET request for endpoint /api/fetchSpansForTrace

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchSpansForTrace":{"get":{"summary":"GET request for endpoint /api/fetchSpansForTrace","operationId":"/api/fetchSpansForTrace-GET","parameters":[{"name":"traceId","in":"query","schema":{"type":"string"}}],"responses":{"200":{"description":"Trace spans retrieved"}}}}}}
```

## POST /api/findSvcToSvcGraphEdges

> POST request for endpoint /api/findSvcToSvcGraphEdges

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/findSvcToSvcGraphEdges":{"post":{"summary":"POST request for endpoint /api/findSvcToSvcGraphEdges","operationId":"/api/findSvcToSvcGraphEdges-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Graph edges retrieved"}}}}}}
```

## POST /api/findSvcToSvcGraphNodes

> POST request for endpoint /api/findSvcToSvcGraphNodes

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/findSvcToSvcGraphNodes":{"post":{"summary":"POST request for endpoint /api/findSvcToSvcGraphNodes","operationId":"/api/findSvcToSvcGraphNodes-POST","requestBody":{"content":{"application/json":{"schema":{"type":"object"}}}},"responses":{"200":{"description":"Graph nodes retrieved"}}}}}}
```

## Maintenance

<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>GET /api/fetchParamsStatus</strong></td><td>Fetches the status of parameters and configurations for maintenance purposes.</td></tr></tbody></table>

## GET /api/fetchParamsStatus

> GET request for endpoint /api/fetchParamsStatus

```json
{"openapi":"3.0.1","info":{"title":"AktoSwagger","version":"1.0.0"},"paths":{"/api/fetchParamsStatus":{"get":{"summary":"GET request for endpoint /api/fetchParamsStatus","operationId":"/api/fetchParamsStatus-GET","responses":{"200":{"description":"Parameters status retrieved"}}}}}}
```


---

# 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/system-settings/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.
