Skip to content

Record whether a preview finding is correct (ANALYST or higher)

POST
/industry-profiles/shadow-findings/{findingId}/review
curl --request POST \
--url https://api.invogi.com/v1/industry-profiles/shadow-findings/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/review \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "disposition": "OPEN", "falsePositiveReason": "MISSING_DATA" }'

Returns 409 once a later replay no longer raises the finding. A review never affects an invoice decision.

findingId
required
string format: uuid
X-Invogi-Organization
string format: uuid

For a Clerk session, selects a workspace in which the user has an active membership. If omitted, the remembered accessible workspace is used. API keys remain bound to their own workspace and cannot select another tenant.

Media typeapplication/json
object
disposition
required
string
Allowed values: OPEN CONFIRMED FALSE_POSITIVE ACCEPTED_RISK
falsePositiveReason

Required with FALSE_POSITIVE, and not accepted otherwise.

string
Allowed values: MISSING_DATA WRONG_DATA RULE_TOO_STRICT EXPECTED_PRACTICE OTHER

Review recorded

Media typeapplication/json
object
id
required
string format: uuid
invoiceId
required
string format: uuid
invoiceNumber

Present when listing.

string
profileKey
required
string
profileVersion
required
string
configurationVersion
required
integer
configurationFingerprint
required
string
type
required

Free text because a control under trial may not have a public finding type yet.

string
severity
required
string
Allowed values: INFO LOW MEDIUM HIGH CRITICAL
policyAction
required
string | null
summary
required
string
recommendedAction
required
string | null
evidence
required
object
key
additional properties
any
ruleVersion
required
string
disposition
required
string
Allowed values: OPEN CONFIRMED FALSE_POSITIVE ACCEPTED_RISK
falsePositiveReason
required
string | null
Allowed values: MISSING_DATA WRONG_DATA RULE_TOO_STRICT EXPECTED_PRACTICE OTHER
reviewedByUserId
required
string | null format: uuid
reviewedAt
required
string | null format: date-time
createdAt
required
string format: date-time

Example

{
"severity": "INFO",
"disposition": "OPEN",
"falsePositiveReason": "MISSING_DATA"
}

Invalid request

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}

Missing or invalid API key

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}

API key lacks required scope/role

Media typeapplication/json
object
error
required
object
code
required
string
Allowed values: NOT_FOUND UNAUTHORIZED FORBIDDEN INVALID_REQUEST CONFLICT RATE_LIMITED USAGE_LIMIT_EXCEEDED PROCESSING_FAILED
message
required
string
request_id
required
string
details

Optional stable, content-free context, e.g. {reason, resets_at, preparation_id}.

object
key
additional properties
One of:
string

Example

{
"error": {
"code": "NOT_FOUND"
}
}

Preview finding not found

The latest preview no longer raises this finding