List the findings of a run, in document order.
GET
/runs/{runId}/findings
const url = 'https://example.com/api/v1/runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/findings';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/v1/runs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/findingsParameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters”runId
required
string format: uuid
Responses
Section titled “ Responses ”The findings.
Media typeapplication/json
object
items
required
Array<object>
object
run_id
required
The run the finding belongs to. A carried finding belongs to the last full review.
string format: uuid
waived
required
A valid waiver covers this finding (REQ-074).
boolean
id
required
string format: uuid
check_slug
required
string
level
required
string
stage
required
string
relaxed
required
The check is in adoption mode, so it reports at INFO (REQ-133).
boolean
message
required
string
fix
string
layer
The overlay layer that shows this finding (SDD §13.2). No layer for other findings.
string
verify_target
For a drifted code link, the commit URL a verification run reads to check the code still conforms.
string
trace_id
For a coverage gap, the upstream trace ID it is about.
string
anchor
required
The anchor in the bundle’s current version, re-anchored when the run read an older version.
object
file
required
string
heading_path
required
Array<string>
quote
required
string
prefix
required
string
suffix
required
string
start
required
Byte offset of the quote in the file.
integer
end
required
integer
detached
The text changed, and Speccy cannot find the quote in the current version (SDD §8.8).
boolean
Example
{ "items": [ { "level": "MUST", "layer": "ambiguous" } ]}default
Section titled “default”An error.
Media typeapplication/problem+json
RFC 9457 problem details with a stable code.
object
type
required
string
title
required
string
status
required
integer
detail
string
instance
string
code
required
A stable machine-readable error code.
string
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example", "code": "example"}