Skills › Memo
Prepare a Litigation Expert Report
POST/api/v1/skills/memos.expert.prepare/invoke
Prepares a draft litigation expert report covering damages, loss quantification or an opinion on a dispute. Supply the scenario, which sets out the facts and the question, and optionally a matter type, supporting file_ids, a jurisdiction and the professional standard to follow. It returns an executive summary, the methodology, the quantum and the limitations.
Body parameters
client_idstring · uuid
UUID of the client the report is for, if it relates to a client in Archie.
matter_typeenum · default damages
Kind of matter: damages, loss_quantification, valuation_dispute, fraud_opinion or professional_negligence.
damagesloss_quantificationvaluation_disputefraud_opinionprofessional_negligence
file_idsarray of strings
UUIDs of uploaded files, such as pleadings or ledgers, to rely on.
scenariostringRequired
Facts of the matter and the question the expert is asked to answer.
jurisdictionenum
ISO 3166-1 alpha-2 code of the jurisdiction whose rules apply.
AUGBCAUSNZ
professional_standardstring
Professional standard the report must follow, such as 'APES 215'.
Returns
Skill executed successfully
skillstringRequired
Example prepare_expert_report
outputobjectRequired
output.artifact_idstring · uuid
output.download_urlstring · default
output.executive_summarystring · default
output.citationsarray of values
output.warningsarray of strings
output.stub_fieldsarray of strings
output.methodologystring · default
output.quantumobject
output.limitationsarray of strings
correlation_idstringRequired
Errors
StatusTypeWhen
401AUTH.TOKEN_INVALID Authentication required
403PERMISSION.CAPABILITY_DENIED Insufficient permissions
404SKILL.NOT_FOUND Skill not found
422VALIDATION.INVALID_FORMAT Validation error
429RATE_LIMIT.USER Rate limit exceeded
5XXINTERNAL.UNKNOWN Internal server error
curl https://uk.heyarchie.com/api/v1/skills/memos.expert.prepare/invoke \ -X POST \ -H "Authorization: Bearer sk_..." \ -H "Content-Type: application/json" \ -d '{ "client_id": null, "matter_type": "damages", "file_ids": [ "00000000-0000-0000-0000-000000000000" ], "scenario": "string", "jurisdiction": null, "professional_standard": null }'
from heyarchie import Archie archie = Archie(api_key="sk_...") result = archie.skills.invoke( "memos.expert.prepare", client_id=None, matter_type="damages", file_ids=["00000000-0000-0000-0000-000000000000"], scenario="string", jurisdiction=None, professional_standard=None, ) print(result)
import { Archie } from "heyarchie";
const archie = new Archie({ apiKey: "sk_..." });
const result = await archie.skills.invoke("memos.expert.prepare", {
"client_id": null,
"matter_type": "damages",
"file_ids": [
"00000000-0000-0000-0000-000000000000"
],
"scenario": "string",
"jurisdiction": null,
"professional_standard": null
});
console.log(result);Response
{
"skill": "prepare_expert_report",
"output": {
"artifact_id": "a9d4f6b2-17c8-4e35-b0a1-8f3d2c6e9b74",
"executive_summary": "On the stated assumptions, the distributor lost profit of about 412,000 Australian dollars from April 2025 to the trial date.",
"limitations": [
"Forecast margins rely on management accounts that are unaudited."
],
"methodology": "Lost profit is the difference between forecast and actual gross margin on the lost contract, less avoided costs, from April 2025.",
"quantum": {
"avoided_costs": 768000,
"currency": "AUD",
"lost_profit": 412000,
"lost_revenue": 1180000
}
},
"correlation_id": "<string>"
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"retry_after_seconds": "<integer>"
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"retry_after_seconds": "<integer>"
}
}{
"error": {
"type": "<string>",
"code": "<string>",
"message": "<string>",
"param": "<string>",
"retry_after_seconds": "<integer>"
}
}Every response also carries X-Request-ID. Quote it if you write to us about a call.