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

Harness Scans API

Access and modify Security Test Scans

Harness Scans API is one of 488 APIs that Harness publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Scans. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, authentication docs, and rate-limit docs.

This API exposes 10 operations across 7 paths, and defines 17 schemas. It is described by OpenAPI 3.2.0, at version 1.0.

Requests are made against 2 base URLs: https://app.harness.io, https://{vanity}.

10 operations 7 paths 17 schemas 1 DELETE7 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.0
Base URL
https://app.harness.io
Authentication
API Key
Terms of Service
Resource Areas
1

Authentication & Security 1

Harness Scans API declares 1 security scheme for authenticating requests. An API key is passed in the header as x-api-key (x-api-key). By default, every request must be authenticated.

  • x-api-key — API key is a token provided while making the API calls. This is used to authenticate the client at the exposed endpoint.

Paths & Operations 10

Across 7 paths, the API surfaces 10 operations — 1 DELETE, 7 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Scans 10

Access and modify Security Test Scans

GET
/sto/api/v2/scans
ScansList scans
Scans#ListScans 5 params → 200400401403404429500
POST
/sto/api/v2/scans
ScansCreate scan
Scans#CreateScan 3 params body → 200400401403429500
DELETE
/sto/api/v2/scans/{id}
ScansDelete scan
Scans#DeleteScan 2 params → 204400401403404429500
GET
/sto/api/v2/scans/{id}
ScansFind scan by id
Scans#FindScanById 3 params → 200400401403404429500
PUT
/sto/api/v2/scans/{id}
ScansUpdate scan
Scans#UpdateScan 3 params body → 200400401403404429500
GET
/sto/api/v2/scans/{id}/issue/{issueId}
ScansScan issue
Scans#ScanIssue 10 params → 200400401403404429500
GET
/sto/api/v2/scans/{id}/issue/{issueId}/occurrences
ScansScan issue occurrences
Scans#ScanIssueOccurrences 14 params → 200400401403404429500
GET
/sto/api/v2/scans/{id}/issues
ScansScan issues
Scans#ScanIssues 4 params → 200400401403429500
GET
/sto/api/v2/scans/{id}/issues/counts
ScansScan issue counts
Scans#ScanIssueCounts 5 params → 200400401403404429500
GET
/sto/api/v2/scans/latest
Get Latest Scans
Scans#LatestScan 5 params → 200400401403429500

Schemas 17

The contract defines 17 schemas that model the data the API accepts and returns. The most detailed are FullIssueCounts (66 properties), IssueInScan (51 properties), Issue (38 properties), Scan (20 properties). Each schema is shown below with its type and property counts.

ScanMetadata
object
Metadata specific to the entity being scanned
16 properties
IDResult
object
1 property 1 required
OverrideResult
object
10 properties 5 required
Scan
object
Information about a Security Test Scan
20 properties 13 required
Issue
object
Information about a Security Issue
38 properties 8 required
ScansListScansResponseBody
object
2 properties 2 required
FullIssueCounts
object
66 properties 40 required
ExemptionRecentActivity
object
Compact exemption history preview for issue detail panels
5 properties 4 required
StoPagination
object
5 properties 4 required
NotFound
object
2 properties 1 required
RemediationAgentActivity
object
One remediation-agent PR activity for the View Remediations drawer
17 properties 15 required
IssueInScan
object
51 properties 13 required
UpdateScanRequestBody
object
18 properties 12 required
LatestScansResult
object
The latest succeeded scan for each product/subproduct of a target variant
1 property 1 required
GitMetadata
object
Git Metadata associated with the Scan
12 properties
CreateScanRequestBody
object
16 properties 13 required
ScanIssuesResult
object
List of Issues
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

harness-scans-api-openapi.yml Raw ↑

Other APIs Harness publishes across the network.

Harness Continuous Integration API
Harness Continuous Delivery and GitOps API
Harness Feature Management and Experimentation API
Harness Cloud Cost Management API
Harness Chaos Engineering API
Harness Security Testing Orchestration API
Harness Internal Developer Portal API
Harness Code Repository API
Harness Service Reliability Management API
Harness Infrastructure as Code Management API
Harness Supply Chain Security API
Harness Software Engineering Insights API
Where this information came from

This is an independent, third-party profile of Harness Scans 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.