All URIs are relative to https://api.reveng.ai
| Method | HTTP request | Description |
|---|---|---|
| getAnalysisFunctionsPaginated | GET /v2/analyses/{analysis_id}/functions | Get functions from analysis |
| getCapabilities | GET /v2/analyses/{analysis_id}/capabilities | Gets the capabilities from the analysis |
| getFunctionsList | GET /v2/analyses/{analysis_id}/functions/list | Gets functions from analysis |
| getPdf | GET /v2/analyses/{analysis_id}/pdf | Gets the PDF found in the analysis |
| getSbom | GET /v2/analyses/{analysis_id}/sbom | Gets the software-bill-of-materials (SBOM) found in the analysis |
| getTags | GET /v2/analyses/{analysis_id}/tags | Get function tags with maliciousness score |
| getVulnerabilities | GET /v2/analyses/{analysis_id}/vulnerabilities | Gets the vulnerabilities found in the analysis |
BaseResponseAnalysisFunctionsList getAnalysisFunctionsPaginated()
Returns a paginated list of functions identified during analysis
import { createConfiguration, AnalysesResultsMetadataApi } from '@revengai/sdk';
import type { AnalysesResultsMetadataApiGetAnalysisFunctionsPaginatedRequest } from '@revengai/sdk';
const configuration = createConfiguration();
const apiInstance = new AnalysesResultsMetadataApi(configuration);
const request: AnalysesResultsMetadataApiGetAnalysisFunctionsPaginatedRequest = {
analysisId: 1,
// The page number to retrieve. (optional)
page: 1,
// Number of items per page. (optional)
pageSize: 1000,
};
const data = await apiInstance.getAnalysisFunctionsPaginated(request);
console.log('API called successfully. Returned data:', data);| Name | Type | Description | Notes |
|---|---|---|---|
| analysisId | [number] | defaults to undefined | |
| page | [number] | The page number to retrieve. | (optional) defaults to 1 |
| pageSize | [number] | Number of items per page. | (optional) defaults to 1000 |
BaseResponseAnalysisFunctionsList
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful Response | - |
| 422 | Invalid request parameters | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BaseResponseCapabilities getCapabilities()
import { createConfiguration, AnalysesResultsMetadataApi } from '@revengai/sdk';
import type { AnalysesResultsMetadataApiGetCapabilitiesRequest } from '@revengai/sdk';
const configuration = createConfiguration();
const apiInstance = new AnalysesResultsMetadataApi(configuration);
const request: AnalysesResultsMetadataApiGetCapabilitiesRequest = {
analysisId: 1,
};
const data = await apiInstance.getCapabilities(request);
console.log('API called successfully. Returned data:', data);| Name | Type | Description | Notes |
|---|---|---|---|
| analysisId | [number] | defaults to undefined |
BaseResponseCapabilities
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful Response | - |
| 422 | Invalid request parameters | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BaseResponseAnalysisFunctions getFunctionsList()
Gets the functions identified during analysis
import { createConfiguration, AnalysesResultsMetadataApi } from '@revengai/sdk';
import type { AnalysesResultsMetadataApiGetFunctionsListRequest } from '@revengai/sdk';
const configuration = createConfiguration();
const apiInstance = new AnalysesResultsMetadataApi(configuration);
const request: AnalysesResultsMetadataApiGetFunctionsListRequest = {
analysisId: 1,
searchTerm: "search_term_example",
minVAddr: 1,
maxVAddr: 1,
includeEmbeddings: true,
// The page number to retrieve. (optional)
page: 1,
// Number of items per page. (optional)
pageSize: 1000,
};
const data = await apiInstance.getFunctionsList(request);
console.log('API called successfully. Returned data:', data);| Name | Type | Description | Notes |
|---|---|---|---|
| analysisId | [number] | defaults to undefined | |
| searchTerm | [string] | (optional) defaults to undefined | |
| minVAddr | [number] | (optional) defaults to undefined | |
| maxVAddr | [number] | (optional) defaults to undefined | |
| includeEmbeddings | [boolean] | (optional) defaults to true | |
| page | [number] | The page number to retrieve. | (optional) defaults to 1 |
| pageSize | [number] | Number of items per page. | (optional) defaults to 1000 |
BaseResponseAnalysisFunctions
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful Response | - |
| 422 | Invalid request parameters | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
any getPdf()
import { createConfiguration, AnalysesResultsMetadataApi } from '@revengai/sdk';
import type { AnalysesResultsMetadataApiGetPdfRequest } from '@revengai/sdk';
const configuration = createConfiguration();
const apiInstance = new AnalysesResultsMetadataApi(configuration);
const request: AnalysesResultsMetadataApiGetPdfRequest = {
analysisId: 1,
};
const data = await apiInstance.getPdf(request);
console.log('API called successfully. Returned data:', data);| Name | Type | Description | Notes |
|---|---|---|---|
| analysisId | [number] | defaults to undefined |
any
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful Response | - |
| 422 | Invalid request parameters | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BaseResponseListSBOM getSbom()
import { createConfiguration, AnalysesResultsMetadataApi } from '@revengai/sdk';
import type { AnalysesResultsMetadataApiGetSbomRequest } from '@revengai/sdk';
const configuration = createConfiguration();
const apiInstance = new AnalysesResultsMetadataApi(configuration);
const request: AnalysesResultsMetadataApiGetSbomRequest = {
analysisId: 1,
};
const data = await apiInstance.getSbom(request);
console.log('API called successfully. Returned data:', data);| Name | Type | Description | Notes |
|---|---|---|---|
| analysisId | [number] | defaults to undefined |
BaseResponseListSBOM
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful Response | - |
| 422 | Invalid request parameters | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BaseResponseAnalysisTags getTags()
import { createConfiguration, AnalysesResultsMetadataApi } from '@revengai/sdk';
import type { AnalysesResultsMetadataApiGetTagsRequest } from '@revengai/sdk';
const configuration = createConfiguration();
const apiInstance = new AnalysesResultsMetadataApi(configuration);
const request: AnalysesResultsMetadataApiGetTagsRequest = {
analysisId: 1,
};
const data = await apiInstance.getTags(request);
console.log('API called successfully. Returned data:', data);| Name | Type | Description | Notes |
|---|---|---|---|
| analysisId | [number] | defaults to undefined |
BaseResponseAnalysisTags
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful Response | - |
| 422 | Invalid request parameters | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
BaseResponseVulnerabilities getVulnerabilities()
import { createConfiguration, AnalysesResultsMetadataApi } from '@revengai/sdk';
import type { AnalysesResultsMetadataApiGetVulnerabilitiesRequest } from '@revengai/sdk';
const configuration = createConfiguration();
const apiInstance = new AnalysesResultsMetadataApi(configuration);
const request: AnalysesResultsMetadataApiGetVulnerabilitiesRequest = {
analysisId: 1,
};
const data = await apiInstance.getVulnerabilities(request);
console.log('API called successfully. Returned data:', data);| Name | Type | Description | Notes |
|---|---|---|---|
| analysisId | [number] | defaults to undefined |
BaseResponseVulnerabilities
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | Successful Response | - |
| 422 | Invalid request parameters | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]