コンテンツにスキップ

A job's findings (the report list). Empty in skeleton mode.

GET
/api/v1/analysis/jobs/{id}/findings
curl --request GET \
--url https://example.com/api/v1/analysis/jobs/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/findings \
--header 'Authorization: Bearer <token>'
id
required
string format: uuid

Analysis job id

The run’s findings; empty for a job that has not succeeded

Media typeapplication/json
Array<object>

One finding produced by an analysis (anomaly card / correlation pair / capacity / flap row).

object
detail
required
duration
required
string
id
required
string format: uuid
kind
required
string
metric
required
string
node_id
string | null format: uuid
node_name
required
string
score
required
number format: double
severity
required
string
when_label
required
string
Examplegenerated
[
{
"detail": "example",
"duration": "example",
"id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"kind": "example",
"metric": "example",
"node_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0",
"node_name": "example",
"score": 1,
"severity": "example",
"when_label": "example"
}
]

No valid bearer token

Media typeapplication/json

The ADR-019 envelope every failure renders as. pub(crate) and schema-bearing so the OpenAPI document can name one error shape for every endpoint (ADR-035) instead of leaving 4xx/5xx bodies undescribed — a client that has to guess the failure shape ends up parsing the success shape and reading undefined.

object
error
required
object
code
required

Stable machine-readable code. Clients branch on this, never on the message.

string
message
required

Operator-facing sentence. Safe to display; never carries an internal error’s own text.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example"
}
}

Role lacks the read permission

Media typeapplication/json

The ADR-019 envelope every failure renders as. pub(crate) and schema-bearing so the OpenAPI document can name one error shape for every endpoint (ADR-035) instead of leaving 4xx/5xx bodies undescribed — a client that has to guess the failure shape ends up parsing the success shape and reading undefined.

object
error
required
object
code
required

Stable machine-readable code. Clients branch on this, never on the message.

string
message
required

Operator-facing sentence. Safe to display; never carries an internal error’s own text.

string
Examplegenerated
{
"error": {
"code": "example",
"message": "example"
}
}