Preview exact information for an AI workflow draft
const url = 'https://api.invogi.com/v1/workflow-assistance/preview';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"input":{"task":"SUPPLIER_REPLY","caseId":"2489E9AD-2EE2-8E00-8EC9-32D5F69181C0","sourceText":"example","supplierId":"example","companyId":"example","sourceId":"example","proposalId":"example","checkId":"example","month":"example","entityScope":"example","currencyScope":"example","from":"example","to":"example","query":"example"}}'};
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/workflow-assistance/preview \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "input": { "task": "SUPPLIER_REPLY", "caseId": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "sourceText": "example", "supplierId": "example", "companyId": "example", "sourceId": "example", "proposalId": "example", "checkId": "example", "month": "example", "entityScope": "example", "currencyScope": "example", "from": "example", "to": "example", "query": "example" } }'Signed-in dashboard Analyst, Admin or Owner only; API keys are refused. No AI output makes a financial decision. No provider call. Returns redacted bounded sources and a private context fingerprint. Price and reply text are at most 24,000 characters; report facts are calculated server-side. Example input: {“task”:“FINDING_FILTERS”,“query”:“Confirmed agreed-price findings”}.
Authorizations
Section titled “Authorizations”Parameters
Section titled “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.
Request Bodyrequired
Section titled “Request Bodyrequired”object
object
object
object
object
object
Responses
Section titled “Responses”Canonical result
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
object
Example
{ "version": "invogi.workflow-assistance.v1", "input": { "task": "SUPPLIER_REPLY" }, "content": { "filters": { "status": "open", "severity": [ "INFO" ], "disposition": [ "OPEN" ], "assignee": "all", "sla": "overdue", "view": "recovery_candidates" } }, "status": "FAILED"}Invalid request
Missing or invalid API key
API key lacks required scope/role
Resource not found
Conflicting idempotency key or resource processing state
Request-rate or customer-usage limit exceeded; inspect the stable error code