How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Sonatype Policy Evaluation API

Use this REST API to perform an application policy evaluation. Policy evaluations are executed asynchronously.This is a 2-step process that involves: 1. Requesting a policy evaluation (POST) 2. Checking the status and response of the evaluation request (GET)

Sonatype Policy Evaluation API is one of 58 APIs that Sonatype publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Policy Evaluation. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, and 2 JSON Schemas.

This API exposes 5 operations across 5 paths, and defines 25 schemas. It is described by OpenAPI 3.2.0, at version 1.201.0-02.

Requests are made against the base URL https://{iq-server-host}/.

5 operations 5 paths 25 schemas 2 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.201.0-02
Base URL
https://{iq-server-host}/
Authentication
HTTP Basic, HTTP Bearer
Resource Areas
1

Authentication & Security 2

Sonatype Policy Evaluation API declares 2 security schemes for authenticating requests. It accepts HTTP basic authentication (BasicAuth). It accepts HTTP bearer tokens (JWT) (BearerAuth). By default, every request must be authenticated.

Paths & Operations 5

Across 5 paths, the API surfaces 5 operations — 2 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Policy Evaluation 5

Use this REST API to perform an application policy evaluation. Policy evaluations are executed asynchronously. This is a 2-step process that involves: 1. Requesting a policy evalu…

POST
/api/v2/evaluation/applications/{applicationId}
Use this method to request a component evaluation. This is step 1 of the 2 step policy evaluation for components process. Permissions Required: Evaluate Components
evaluateComponents 1 param body → 200
POST
/api/v2/evaluation/applications/{applicationId}/promoteScan
Use this method to rescan older scans. This is done when the binaries of a previous build are now moving to a new stage in the production pipeline. Using this method, you can avoid rebuilding the app…
promoteScan 1 param body → 200
GET
/api/v2/evaluation/applications/{applicationId}/results/{resultId}
This is step 2 of the policy evaluation process for components. Use the resultId obtained from the POST response for the corresponding applicationId. Permissions Required: Evaluate Components
getComponentEvaluation 2 params → 200404
POST
/api/v2/evaluation/applications/{applicationId}/sourceControlEvaluation
Use this method to request a source control evaluation for a specific application. This is step 1 of the 2 step source control evaluation process. Permissions Required: Evaluate Applications
evaluateSourceControl 1 param body → 200
GET
/api/v2/evaluation/applications/{applicationId}/status/{statusId}
This is step 2 of the policy evaluation process. Use the statusUrl obtained from the POST response for the corresponding applicationId. Permissions Required: Evaluate Applications
getApplicationEvaluationStatus 2 params → 200

Schemas 25

The contract defines 25 schemas that model the data the API accepts and returns. The most detailed are ApiSecurityIssueDTO (10 properties), ApiComponentDetailsDTOV2 (10 properties), ApiPolicyViolationDTOV2 (9 properties), ApiComponentDTOV2 (8 properties). Each schema is shown below with its type and property counts.

TriggerReference
object
2 properties
ApiComponentIdentifierDTOV2
object
2 properties
ApiApplicationEvaluationResultDTOV2
object
6 properties
ApiComponentDetailsDTOV2
object
10 properties
ApiSecurityIssueAnalysisDTO
object
4 properties
ApiLicenseDTO
object
2 properties
ApiPolicyViolationDTOV2
object
9 properties
ApiPromoteScanRequestDTOV2
object
3 properties
ApiConstraintViolationReasonDTO
object
2 properties
ApiSourceControlEvaluationRequestDTO
object
3 properties
ApiComponentDTOV2
object
8 properties
ApiApplicationEvaluationStatusDTOV2
object
1 property
ApiConstraintViolationDTO
object
3 properties
ApiComponentProjectMetadataDTO
object
2 properties
ApiSecurityIssueDTO
object
10 properties
ApiComponentPolicyViolationListDTOV2
object
1 property
ApiSecurityDataDTO
object
1 property
ApiComponentEvaluationRequestDTOV2
object
1 property
ApiComponentProjectScmDTO
object
3 properties
ApiComponentEvaluationTicketDTOV2
object
4 properties
ApiLicenseDataDTO
object
5 properties
ApiComponentProjectScmMetadataDTO
object
2 properties
ApiComponentEvaluationResultDTOV2
object
6 properties
ApiComponentProjectScmDetailsDTO
object
2 properties
ApiComponentProjectDataDTO
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

sonatype-policy-evaluation-api-openapi.yml Raw ↑

Other APIs Sonatype publishes across the network.

Sonatype Advanced Search API
Sonatype Application Categories API
Sonatype Application Report Data API
Sonatype Applications API
Sonatype Audit Logs API
Sonatype Auto Policy Waiver Exclusions API
Sonatype Auto Policy Waivers API
Sonatype CI Configuration API
Sonatype Claim Components API
Sonatype Component Labels API
Sonatype Component Search API
Sonatype Components API
Where this information came from

This is an independent, third-party profile of Sonatype Policy Evaluation API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.