Skip to content

Record whether a resolution brief was useful (ANALYST+, dashboard user)

PATCH
/findings/{findingId}/resolution-assistance/{assistanceId}/feedback
curl --request PATCH \
--url https://api.invogi.com/v1/findings/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/resolution-assistance/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/feedback \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "helpful": true, "reason": "example" }'
findingId
required
string format: uuid
assistanceId
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
helpful
required
boolean
reason
string
<= 500 characters

Example generated

{
"helpful": true,
"reason": "example"
}

Updated brief and feedback

Media typeapplication/json
object
id
required
string format: uuid
action_kind
required
string
Allowed values: COMPARE_RECORDS CORRECT_DATA REQUEST_DOCUMENT VERIFY_SUPPLIER RECOVER_VALUE REVIEW_EVIDENCE
model
required

Model provenance; never a decision-engine version

string
prompt_version
required
string
generated_at
required
string format: date-time
cached
required
boolean
helpful
required

The current authenticated reviewer’s feedback; null when they have not voted

boolean | null
content
required
object
brief
required
string
<= 500 characters
briefCitations
required
Array<string>
<= 6 items
checks
required
Array<object>
<= 5 items
object
instruction
required
string
<= 500 characters
citations
required
Array<string>
<= 6 items
draft
required
object
subject
string
<= 200 characters
body
string
<= 4000 characters
citations
Array<string>
<= 6 items

Example

{
"action_kind": "COMPARE_RECORDS"
}

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"
}
}

Resource not found

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"
}
}