Prepare an evidence-grounded resolution brief (ANALYST+, dashboard user)
const url = 'https://api.invogi.com/v1/findings/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/resolution-assistance';const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://api.invogi.com/v1/findings/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/resolution-assistance \ --header 'Authorization: Bearer <token>'Uses the workspace’s consented AI processing to prepare a cached brief, verification checklist, and—only for document requests or recovery—a supplier draft. It cannot review the finding, change PASS/REVIEW/BLOCK, write invoice data, or send a message. Provider input is minimized and bank/contact identifiers are redacted. API keys and findings that are no longer open are refused. AGREED_PRICE_VARIANCE uses COMPARE_RECORDS: only the stored canonical price comparison is sent, without invoice gross amounts or raw attachments. The headline and net calculation stay authoritative; field-level price citations support additional checks. These findings never return a supplier draft. Corrected source lines or changed invoice date/currency require rerunning the audit. Generated and cached briefs are rechecked against current finding/invoice inputs and consent before publication; concurrent changes return CONFLICT. Shared AI policy (ai-assistance-policy@1): generation requires the workspace’s effective AI mode, task rollout and Owner processing setting (see GET /organizations/current/ai-assistance); one successful, nonempty result uses one unit of the shared allowance, while empty, failed or stale output does not. A shared guard allows 30 requests per workspace per hour and two concurrent preparations. Refusals carry error.details.reason (for example ROLLOUT_OFF, NOT_ENROLLED, TASK_PAUSED, ALLOWANCE_EXHAUSTED with resets_at, SERVICE_LIMIT). Cached briefs are tenant-visible and free to read; a teammate’s in-flight preparation of the same brief returns CONFLICT instead of a second provider call. The one Scout→Llama fallback is part of the same preparation and unit.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Header Parameters
Section titled “Header Parameters”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.
Responses
Section titled “Responses”Cached current brief
object
Model provenance; never a decision-engine version
The current authenticated reviewer’s feedback; null when they have not voted
object
object
object
Example
{ "action_kind": "COMPARE_RECORDS"}Newly generated brief
object
Model provenance; never a decision-engine version
The current authenticated reviewer’s feedback; null when they have not voted
object
object
object
Example
{ "action_kind": "COMPARE_RECORDS"}Missing or invalid API key
API key lacks required scope/role
Resource not found
Conflicting idempotency key or resource processing state